Proposed change: - in https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
Replace the paragraph starting with "If your package includes one or more..." with "If your package includes one or more systemd units that need to be enabled by default on package installation, see [Packaging:DefaultServices?rd=Starting_services_by_default]."
Also systemd has moved to github, so the link to macros.systemd.in should be updated to: https://github.com/systemd/systemd/blob/master/src/core/macros.systemd.in
On Wed, 2015-07-15 at 10:31 -0500, Richard Shaw wrote:
While investigating a problem with one of my packages regarding systemd I noticed there there is an inconsistency with instructions on how to get a service enabled by default. The packaging scriptlet page[1] says: If your package includes one or more systemd units that need to be enabled by default on package installation, they need to be covered by the default Fedora preset policy. The default fedora preset policy is shipped as part of systemd.rpm. If your unit files are missing from this list, please file a bug against the systemd package. Only services covered by the policy on which services that may be enabled by default on package installation are eligible for this, and you will need to receive special permission from FESCo to have a package start a service by default if it is not covered by the existing policy. While the Packaging:DefaultServices page[2] says: For services which meet one of the conditions listed above, a ticket should be filed against the fedora-release package. If the preset should be changed for versions other than rawhide, indicate that in the ticket. So one says to file the bug against systemd, the other says to file it against fedora-release. Which one is it?
While investigating a problem with one of my packages regarding systemd I noticed there there is an inconsistency with instructions on how to get a service enabled by default.
The packaging scriptlet page[1] says: If your package includes one or more systemd units that need to be enabled by default on package installation, they need to be covered by the default Fedora preset policy. The default fedora preset policy is shipped as part of systemd.rpm. If your unit files are missing from this list, please file a bug against the systemd package. Only services covered by the policy on which services that may be enabled by default on package installation are eligible for this, and you will need to receive special permission from FESCo to have a package start a service by default if it is not covered by the existing policy.
While the Packaging:DefaultServices page[2] says: For services which meet one of the conditions listed above, a ticket should be filed against the fedora-release package. If the preset should be changed for versions other than rawhide, indicate that in the ticket.
So one says to file the bug against systemd, the other says to file it against fedora-release.
Which one is it?
So something like this was already part of #532, but apparently was never implemented: [https://fedoraproject.org/w/index.php?title=User%3ASgallagh%2FScriptletSnippets&diff=cur&oldid=413393 diff].
We discussed this at this weeks meeting (http://meetbot.fedoraproject.org/fedora-meeting-1/2015-07-23/fpc.2015-07-23-16.01.txt):
Metadata Update from @james: - Issue assigned to tibbs
Login to comment on this ticket.