[Reportbug-maint] Bug#741930: reportbug: add current init system information
biebl at debian.org
Mon Nov 3 13:19:07 UTC 2014
Am 03.11.2014 um 14:07 schrieb Sandro Tosi:
> what is the recommended way to identify sysvinit?
I don't think there is. I'd simply assume sysvinit is the active init if
the tests for upstart and systemd fail.
from the info
> provided above one requires to check a dir existence and the checking
> a command and then execute it to parse its output. it seems a bit
> fragile, and maybe only upstart check really the running processes
The systemd system runtime directory is only created when systemd is the
active PID 1. Could you elaborate why you think this approach is
fragile? If those two tests (for systemd and upstart) would be brittle,
we'd have a problem, since they are used all over the place.
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the Reportbug-maint