[systemd-devel] [PATCH] Ensure that systemd is the init called after using bootchart
Lennart Poettering
lennart at poettering.net
Mon Feb 2 07:51:00 PST 2015
On Mon, 02.02.15 16: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
Generally makes sense. The canonical path for systemd is
/usr/lib/systemd/systemd, hence we should invoke that.
That siad, please make the change Martin suggested in the other mail
and reuse ROOTLIBDIR. Looks good otherwise.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list