Re: [systemd-devel] [PATCH 2/2] [V4] systemctl: for switch-root check, if we switch to a systemd init

2014-03-10 Thread Lennart Poettering
On Thu, 06.03.14 16:35, har...@redhat.com (har...@redhat.com) wrote: > From: Harald Hoyer > > If "systemctl switch-root" is called with a specific "INIT" or > /proc/cmdline contains "init=", then systemd would not serialize > itsself. > > Let systemctl check, if the new init is in the standard

[systemd-devel] [PATCH 2/2] [V4] systemctl: for switch-root check, if we switch to a systemd init

2014-03-06 Thread harald
From: Harald Hoyer If "systemctl switch-root" is called with a specific "INIT" or /proc/cmdline contains "init=", then systemd would not serialize itsself. Let systemctl check, if the new init is in the standard systemd installation path and if so, clear the INIT parameter, to let systemd serial