[Pkg-sysvinit-devel] Bug#687410: Bug#687410: sysvinit: non-privileged user can cause sysvinit.postinst to fail

Michael Stapelberg stapelberg at debian.org
Wed Sep 12 14:21:02 UTC 2012


Hi,

Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:
>  PID="$(pidof /sbin/init || true)"
> [...]
>                         kill -s USR1 "$PID"
The comment in the file states:

        # PID of init; may not always be 1.  Use for sending signals
        # and checking if init is running.
        PID="$(pidof /sbin/init || true)"

I’d be interested in cases where the PID of init is not 1. IMO, this
should also be explained (at least briefly) in that comment.

Thanks!

-- 
Best regards,
Michael



More information about the Pkg-sysvinit-devel mailing list