[Reportbug-maint] Bug#741930: reportbug: add current init system information

Sandro Tosi morph at debian.org
Tue Nov 4 13:35:40 UTC 2014

Hi Michael et al,

On Mon, Nov 3, 2014 at 1:19 PM, Michael Biebl <biebl at debian.org> wrote:
>> 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.

well, mkdir can create it too :) but ok, those checks are so embedded
that i can ignore if the reportbug check if fooled to thing theres
another systems (there will be bigger problems indeed) so I will just
mimik their logic in the code; I changed the sample scripts, attached,
and it would be nice if you all could give it another round (thanks to
everyone who already did!) in particular to those having an upstart
init system.

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reportbug_init_info_v2.py
Type: text/x-python
Size: 407 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20141104/920c6642/attachment.py>

More information about the Reportbug-maint mailing list