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

Sandro Tosi morph at debian.org
Fri Mar 21 21:19:19 UTC 2014

Ok, I think we need a wider audience - what d-d thinks about it? bonus
points if - in case we come out to add init info to every bug report -
a proper way to retrieve the init running is provided :)


On Fri, Mar 21, 2014 at 10:15 PM, Yves-Alexis Perez <corsac at debian.org> wrote:
> On Fri, Mar 21, 2014 at 10:00:12PM +0100, Sandro Tosi wrote:
>> Hello Yves-Alexis
>> On Mon, Mar 17, 2014 at 12:00 PM, Yves-Alexis Perez <corsac at debian.org> wrote:
>> > with the appearance of multiple init systems, it might be helpful to
>> > know about the currently running init system in the information
>> > collected by reportbug.
>> >
>> > A quick idea would be to report the result of:
>> >
>> > readlink /proc/1/exe
>> >
>> > but that won't work if /proc is mounted with hidepid. I'm unsure about
>> > other ways though.
>> I thought about it a bit, and i'm not sure it's an information every
>> bug report should have. I suspect there are few packages which are
>> directly impacted by the possible different init system Debian has,
>> and it's probably more useful if such packages write a bugscript to
>> retrieve the init which is running on the machine and attach it to the
>> report.
>> what do you think?
> Well, a *lot* stuff can actually change behavior depending on the init
> system, especially during transition time. Especially desktop
> environment and stuff handling permissions through policykit and
> logind/consolekit, but not only.
> If every package starts shipping a bugscript it'll be unmanageable.
> Regards,
> --
> Yves-Alexis Perez

Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

More information about the Reportbug-maint mailing list