[systemd-devel] suggestion: auto reload as the default to help packagers?

Reindl Harald h.reindl at thelounge.net
Mon Jun 17 14:29:37 UTC 2019



Am 17.06.19 um 16:26 schrieb Lennart Poettering:
> On Mo, 17.06.19 16:24, Lennart Poettering (mznyfn at 0pointer.de) wrote:
> 
> [...]
> 
>> On current Linuxes the assumption tends to be that there's only one
>> RPM instance or one admin running at a time, and that they schedule
>> the configuration reload when they think there work is complete. It's
>> basically a transaction logic by linerarization and move the burden to
>> manage this onto the user/package manager.
> 
> Addendum: there's also the problem that reloading PID1 in full can be
> slow on bigger systems where you have 10Ks of units. hence reloading
> all the time willy-nilly might be quite slow. Ideally, RPM would only
> reload configuration once after all its work is complete.

yeah, and that's why systemd should reload just the affected unit when
"systemctl restart" bails that it was changed and make the whole
daemon-reload to a normally not used exception


More information about the systemd-devel mailing list