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

Roger Pack rogerdpack2 at gmail.com
Thu May 30 14:16:28 UTC 2019


Had a thought the other day...

Seems like many packages (ex: rpm's) that includes a *.service file
may eventually be required to call

systemctl daemon-reload

in the package, for new file changes to "take."

This causes bugs like
https://github.com/StackStorm/st2-packages/issues/495 (which lists
other reports of this problem near the bottom).

Seeing as one goal of systemd is to DRY up installation and running of
services so that people can't "accidentally mess things up" through
their own init.d files...perhaps that principle could be expanded upon
to help make it so that package creators also can't "accidentally mess
things up"?  Maybe the default could be to reload units automatically,
?  With a configuration option to not to, so that package creators
don't *all* have to remember to daemon-reload, since not all do?

Just a thought, thinking out loud.

Cheers!

-Roger Pack-


More information about the systemd-devel mailing list