[systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart

Dimitri John Ledkov dimitri.j.ledkov at intel.com
Mon Feb 2 07:32:42 PST 2015


On 2 February 2015 at 15:14, Sebastien Bacher <seb128 at ubuntu.com> wrote:
> Hey systemd hackers,
>
> While trying systemd-bootchart on my Ubuntu vivid system I ran into some
> issues. My system has upstart as /sbin/init, but I use
> init=/lib/systemd/systemd and that works fine. Today I tried to change
> that to /lib/systemd/systemd-bootchart but the charting failed on a
> missing /run/log. Turns out that it's because systemd-bootchart runs
> /sbin/init by default, would it make sense to run the systemd binary
> instead? I'm attaching a patch that does that
>

+1 from me. Not because of upstart, but becuase I see people hacking
in /sbin/init symlink just because of bootchart.

Alternatively one can set Init option in the bootchart.conf file, but
defaulting to systemd install location is better imho.


-- 
Regards,

Dimitri.

Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ.


More information about the systemd-devel mailing list