Bug 772391

Summary: systemctl stop invalid.service does not issue warning or error
Product: [Fedora] Fedora Reporter: Eddie Lania <eddie>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: johannbg, lpoetter, metherid, mschmidt, notting, plautrba, systemd-maint
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: 2012-01-09 13:54:24 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 Eddie Lania 2012-01-07 12:59:04 UTC
Description of problem: If i use systemctl to stop a service and make a typo in the service name (like systemctl stop upcupsd.service instead of apcupsd.service) or try to stop a service that isn't  even installed, systemctl does not issue any message like:

"error (Reason: No such file or directory)"


Version-Release number of selected component (if applicable):

systemd-37-3.fc16.i686


How reproducible: Always


Steps to Reproduce:
1. Issue a command like "systemctl stop invalid.service"
2.
3.
  
Actual results: No warning or error


Expected results: A warning or error message like "error (Reason: No such file or directory)"


Additional info:

Comment 1 Michal Schmidt 2012-01-09 13:54:24 UTC

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