suggestion: auto reload as the default to help packagers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux