Bug 766579

Summary: systemctl is-enabled <service> prints confusing error message when service does not exist
Product: [Fedora] Fedora Reporter: Michal Hlavinka <mhlavink>
Component: systemdAssignee: systemd-maint
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: johannbg, lpoetter, metherid, mschmidt, notting, plautrba, systemd-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemd-37-13.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-15 11:27:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Hlavinka 2011-12-12 11:20:43 UTC
Description of problem:
When service file is missing, systemctl prints confusing error message "access denied"


Version-Release number of selected component (if applicable):
systemd-37-4.fc17.x86_64

How reproducible:
always

Steps to Reproduce:
1.systemctl is-enabled doesnotexist.service
  
Actual results:
Failed to issue methid call: Access denied

Expected results:
Error: service doesnotexist.service does not exist


Additional info:

Comment 2 Fedora Update System 2012-02-09 22:49:36 UTC
systemd-37-13.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/systemd-37-13.fc16

Comment 3 Fedora Update System 2012-02-10 21:57:28 UTC
Package systemd-37-13.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing systemd-37-13.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1528/systemd-37-13.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-15 11:27:47 UTC
systemd-37-13.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.