Nobody creates /lib/init/rw/sendsigs.omit.d

Bug #603760 reported by Patrick J. LoPresti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: sysvinit

Release: lucid
Version: 2.87dsf-4ubuntu17

/etc/init.d/sendsigs reads the /lib/init/rw/sendsigs.omit.d directory for a list of files containing PIDs to omit when killing all processes during shutdown/reboot.

Some init scripts (e.g., open-iscsi and wpa-ifupdown) attempt to use this directory to protect themselves from being killed.

But on a stock Lucid system, nobody creates this directory. Consequently, there are problems. For example, any system using open-iscsi is unable to shut down or reboot:

https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/541512

This is clearly a bug in the initscripts package. Since the "sendsigs" script is the only consumer of the /lib/init/rw/sendsigs.omit.d directory, it ought to be responsible for creating it; or at least, some other mechanism in the initscripts package should be responsible for doing so.

Revision history for this message
Patrick J. LoPresti (lopresti) wrote :

Addendum:

I changed my mind; this is not necessarily a bug in initscripts. It could be a bug in "mountall", which creates sendsigs.omit.d under /var/run:

https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/604137

The bug is that the various init scripts are not in agreement. Please make up your minds where the sendsigs.omit.d directory belongs and then fix all init scripts to be consistent about it. Until then, anybody using open-iscsi cannot even reboot their systems. Thanks.

Revision history for this message
Colin Watson (cjwatson) wrote :

I think this is just the same as bug 541512. I've reassigned the latter to sysvinit, and will mark this as a duplicate and fix it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.