Bug 712818

Summary: systemctl is-enabled does not work for native services
Product: [Fedora] Fedora Reporter: Michal Hlavinka <mhlavink>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 15CC: harald, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
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: 2011-06-13 09:41:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michal Hlavinka 2011-06-13 09:36:41 UTC
Description of problem:
systemctl is-enabled does not work for native services, this breaks some scripts executed during rpm update process

Version-Release number of selected component (if applicable):
systemd-26-2.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1.systemctl is-enabled abrtd.service ; echo $?
-> 0
2.systemctl disable abrtd.service 
3.systemctl is-enabled abrtd.service ; echo $?

  
Actual results:
0

Expected results:
non zero

Additional info:
- tested with abrtd.service and smartd.service, both broken
- tested with non native services (sshd, httpd) and it works fine

Comment 1 Michal Schmidt 2011-06-13 09:41:31 UTC

*** This bug has been marked as a duplicate of bug 699027 ***