[systemd-devel] issuing 'reboot' command does not print the familiar 'Restarting system.' message

Cristian Rodríguez crrodriguez at opensuse.org
Thu Apr 9 18:42:10 PDT 2015


On Thu, Apr 9, 2015 at 3:33 PM, Ani Sinha <ani at arista.com> wrote:
> Hi Systemd devs :
>
> We have some scripts that depend on the kernel printing "Restarting
> system." when a "reboot" command is issued on the console.

You should not make your scripts depend on the elog messages generated
by the kernel or systemctl, only on the return value of the commands,
system call results  ..

> rpm : systemd-201-2.fc18.9.i686

Too old systemd.. did you tried with something less arcane ?


More information about the systemd-devel mailing list