Wednesday, November 18, 2015

F24 System Wide Change: Systemd file triggers

= Proposed System Wide Change: Systemd file triggers =
https://fedoraproject.org/wiki/Changes/systemd_file_triggers

Change owner(s):
Zbigniew Jędrzejewski-Szmek <zbyszek AT in DOT waw DOT pl>

systemd daemon-reload is invoked once or twice per rpm transaction.

== Detailed Description ==
Instead of having every package which carries a systemd unit call
systemctl daemon-reload on its own, systemd is reloaded just once
after installation of all packages, using rpm file triggers on
/usr/lib/systemd/system, /etc/systemd/system.

Packages still have to call systemctl preset as necessary, and
try-restart on their own unit if appropriate. RPM macros provided by
systemd are modified to remove all calls to daemon-reload from them.
No changes to packages using those macros are required, but a rebuild
is necessary to remove the calls to systemctl daemon-reload.

== Scope ==
Proposal owners:
* Update the macros provided by systemd and add appropriate file triggers.

Other developers: potentially rebuild some packages.

Release engineering: N/A

List of deliverables: N/A

Policies and guidelines: N/A

Trademark approval: N/A (not needed for this Change)

--
Jan Kuřík
Platform & Fedora Program Manager
Red Hat Czech s.r.o., Purkynova 99/71, 612 45 Brno, Czech Republic
_______________________________________________
devel-announce mailing list
devel-announce@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel-announce@lists.fedoraproject.org

No comments:

Post a Comment