Bug 712818 - systemctl is-enabled does not work for native services
Summary: systemctl is-enabled does not work for native services
Keywords:
Status: CLOSED DUPLICATE of bug 699027
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-13 09:36 UTC by Michal Hlavinka
Modified: 2011-06-13 09:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-13 09:41:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.