Bug#1092150: sysvinit-core - trigger kills non-sysvinit pid 1

Mark Hindley mark at hindley.org.uk
Tue Jan 7 09:25:13 GMT 2025


Control: tags -1 patch

Bastian,

Thanks for this.

On Sun, Jan 05, 2025 at 01:00:15PM +0100, Bastian Blank wrote:
> Package: sysvinit-core
> Version: 3.11-1
> Severity: serious
> X-Debbugs-Cc: waldi at debian.org
> 
> Running the trigger of sysvinit-core unconditionally kills a pid 1 that
> is not sysvinit.  This process will not respond to the same signal
> protocol and just die.

This appears to be caused by the remaining parts of the /run/initctl migration
from 2013.

Dropping that and adding a condition that restart is only attempted if
/run/initctl exists seems a good solution to me.

Proposed patch attached. Do you have any comments on it?

Thanks

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drop-expired-run-migration.diff
Type: text/x-diff
Size: 2010 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250107/e3898004/attachment.diff>


More information about the Debian-init-diversity mailing list