[systemd-devel] [PATCH] improve systemctl daemon-reexec and daemon-reload documentation

Thomas Blume Thomas.Blume at suse.com
Wed Jun 17 04:56:05 PDT 2015


On Mittwoch 2015-06-17 13:16, Lennart Poettering wrote:
>
>> The systemctl daemon-reexec and daemon-reload documentation
>> in the manpage is a bit ambiguous. It suggests that daemon-reload reloads the
>> configuration of the manager itself (e.g. the [Manager] section in
>> /etc/systemd/system.conf). It should be pointed out that it only reloads the
>> configuration for the manager clients and that for reloading the manager
>> configuration, daemon-reexec must be used.
>
> "clients"? I am not sure what that term is supposed to refer to?

I just wanted to refer to the fact that it only reloads the unit files but not
the configuration of the systemd manager itself.

> The reason we say it's the "manager" configuration is because people
> should distuingish "systemctl daemon-reload" from "systemctl reload"
> where the latter just asks a service to reload its own configuration,
> but systemd (aka "the manager") stays unaffected.
>
> I think "systemctl daemon-reload" should probably reload system.conf,
> too though, hence I'd like to avoid documenting this behaviour now,
> but rather consider this a bug we should fix. Documenting behaviour
> now and then changing it later is worse than simply leaving it vague
> for now, and correcting it later. I will add that to the TODO list.
>

Ah ok, I thought it was intended that daemon-reload doesn't reload system.conf.
I will try to provide a new patch.


Thanks

Thomas Blume

-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)
Maxfeldstr. 5 / D-90409 Nürnberg / Phone: +49-911-740 53 - 0 / VOIP: 3919
GPG 2048R/2CD4D3E8 9A50 048F 1C73 59AA 4D2E  424E B3C6 3FD9 2CD4 D3E8


More information about the systemd-devel mailing list