Bug 1090684 (autoenabled-systemd-units)

Summary: rpm scripts and triggers should not enable systemd units directly
Product: [Fedora] Fedora Reporter: Andy Lutomirski <luto>
Component: distributionAssignee: Václav Pavlín <vpavlin>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, vpavlin
Target Milestone: ---Keywords: Tracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 850058, 850186, 1087950, 1087951, 1089650, 1094894, 1094895, 1094896, 1094897, 1094898, 1094899, 1094900, 1094901, 1094902, 1094903, 1094904, 1094906, 1094907, 1094908, 1094909, 1094910, 1094911, 1094912, 1094913, 1094914, 1094915, 1094916, 1094917, 1094918, 1094919, 1094920, 1094921, 1094922, 1094927, 1094928, 1094929, 1094930, 1094931, 1094932, 1094933, 1094934, 1094935, 1094936, 1094938, 1163968, 1271839    
Bug Blocks:    

Description Andy Lutomirski 2014-04-23 23:48:58 UTC
A number of packages install systemd units and enable them
automatically.  They should not.  Please update these packages to use the
macroized scriptlet
(https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd).

If your package has an exception from FESCo permitting it to enable
itself, please make sure that the service in question is listed in the
appropriate preset file.

There is a general exception described here:

https://fedoraproject.org/wiki/Starting_services_by_default

If your package falls under the general exception, then it is possible
that no change is required.  Nevertheless, if you are relying on the
exception, please make sure that your rpm scripts are sensible.  The
exception is:

In addition, any service which does not remain persistent on the system (aka, it "runs once then goes away"), does not listen to incoming connections during initialization, and does not require configuration to be functional may be enabled by default (but is not required to do so). An example of "runs once then goes away" service is iptables.

Given that this issue can affect Fedora 20 users who install your
package as a dependency, these bugs should be fixed in Fedora 20 and
Rawhide.