]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/dbus-manager.c
pid1: rework handling of m->show_status
authorFranck Bui <fbui@suse.com>
Mon, 27 Apr 2020 09:06:34 +0000 (11:06 +0200)
committerFranck Bui <fbui@suse.com>
Tue, 9 Jun 2020 07:16:54 +0000 (09:16 +0200)
commit44a419540e262c46bcd841a49ac8c59ac4149dc1
tree3fe180e464d6065c62f96bf9b2b1b9fd57804f04
parent0d6d3cf0558f9743e7a2c88db8853becb47e7f5b
pid1: rework handling of m->show_status

The fact that m->show_status was serialized/deserialized made impossible any
further customisation of this setting via system.conf. IOW the value was
basically always locked unless it was changed via signals.

This patch reworks the handling of m->show_status but also makes sure that if a
new value was changed via the signal API then this value is kept and preserved
accross PID1 reexecuting or reloading.

Note: this effectively means that once the value is set via the signal
interface, it can be changed again only through the signal API.
src/core/dbus-manager.c
src/core/manager.c
src/core/manager.h