[Pkg-iscsi-maintainers] Bug#700762: System fails to shutdown due to iscsid being terminated.

Wakko Warner wakko at animx.eu.org
Sun Feb 17 12:41:58 UTC 2013


Ritesh Raj Sarraf wrote:
> Hello Wakko
> 
> On Sun, Feb 17, 2013 at 8:13 AM, Wakko Warner <wakko at animx.eu.org> wrote:
> > I have a test system that boots over iSCSI.  If iscsid is killed and the
> > kernel decides to sync the scsi caches, the iSCSI connection fails.
> 
> How is iscsid being killed here?
> 
> I still can't see whey the connection would fail.

I tested it on one of my systems and it works.  iscsid is killed during
shutdown by sendsigs.  I don't know why either, but once iscsid is dead, the
kernel will sync the scsi cache and then the iscsi driver cannot connect
anymore.

> > I change the init script to drop a link to the PID file for iscsid to the
> > /run/sendsigs.omit.d and it shuts down properly now.
> >
> > I've attached the patch, it's only adds 2 lines.
> >
> 
> I looked but have no clue at what it does.

It places a link to the pid file so that send sigs will not kill it.

-- 
 Microsoft has beaten Volkswagen's world record.  Volkswagen only created 22
 million bugs.



More information about the Pkg-iscsi-maintainers mailing list