chiark / gitweb /
shutdown: pass own argv to /run/initramfs/shutdown
authorMarius Tessmann <mus.svz@gmail.com>
Fri, 29 Aug 2014 15:51:45 +0000 (17:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Oct 2014 23:36:07 +0000 (01:36 +0200)
commita2726e5cedfa5edeabd7e0784be11bc578555ac5
tree8332135f4ad2379d6cad308f975345b22d5ccffc
parenta07e9cfb790f3f5f492f2ff895a9de65e2b00a09
shutdown: pass own argv to /run/initramfs/shutdown

Since commit b1e90ec515408aec2702522f6f68c4920b56375b systemd passes
its log settings to systemd-shutdown via command line parameters.
However, systemd-shutdown doesn't pass these parameters to
/run/initramfs/shutdown, causing it to fall back to the default log
settings.

This fixes the following bugs about the shutdown not being quiet
despite "quiet" being in the kernel parameters:

https://bugs.freedesktop.org/show_bug.cgi?id=79582
https://bugs.freedesktop.org/show_bug.cgi?id=57216
src/core/shutdown.c