[systemd-devel] Side effects of `systemctl daemon-reload`?
Andrei Borzenkov
arvidjaar at gmail.com
Wed Jan 24 19:16:59 UTC 2018
24.01.2018 21:33, Daniel Wang пишет:
> I have cluster of 100s of nodes with systemd-232. To work-around a recently
> discovered bug in systemd (https://github.com/systemd/systemd/issues/7798),
> I want to deploy a timer to all my nodes that will check the number of
> units and run `systemctl daemon-reload` once a certain threshold is hit
> (100K for example).
>
> I am asked whether I could have the timer skip the check and blindly run
> `systemctl daemon-reload` at every invocation. Would there be any problem
> with that? IIUC, reloading the daemon is a rather "safe" operation?
>
There were quite some subtle issues caused by incomplete state preserved
over reload. So YMMV.
More information about the systemd-devel
mailing list