Bug 1091506

Summary: alternatives --initscript should use systemctl preset, not systemctl enable
Product: [Fedora] Fedora Reporter: Andy Lutomirski <luto>
Component: chkconfigAssignee: Lukáš Nykrýn <lnykryn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: lnykryn
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-29 06:46:19 UTC 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:    
Bug Blocks: 1089650    

Description Andy Lutomirski 2014-04-25 18:41:08 UTC
Currently, packages that use alternatives --initscript get their services enabled automatically, which is probably accidental and causes problems.  For example, see:

https://bugzilla.redhat.com/show_bug.cgi?id=1089650

Please either change it to use systemctl preset or just remove the feature entirely.

Comment 1 Lukáš Nykrýn 2014-04-28 10:22:22 UTC
Thanks for reporting.
Fixed in upstream.
https://git.fedorahosted.org/cgit/chkconfig.git/commit/?id=e4a7975de597e5571d65f852aea3e54eee671897

Comment 2 Andy Lutomirski 2014-08-12 05:32:56 UTC
Any chance you could build this for f21 and rawhide?  It would be nice for new F21 installations to avoid accidental services due to this issue.

Comment 3 Lukáš Nykrýn 2014-08-12 08:25:18 UTC
Sure I will do an update today.

Comment 4 Jaroslav Reznik 2015-03-03 17:08:37 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 5 Mike McCune 2016-03-28 22:57:02 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions