Bug 812815
Summary: | kill command reports success even if it killed nothing | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Martin Cermak <mcermak> |
Component: | systemd | Assignee: | Jan Synacek <jsynacek> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | azelinka, johannbg, jsynacek, mcermak, metherid, mschmidt, plautrba, rvokal, systemd-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-09-21 13:19:28 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: |
Description
Martin Cermak
2012-04-16 10:15:39 UTC
Hm, yes, it seems reasonable to report "No process found" or similar when there's nothing to kill. Reproduced with systemd-204-8.fc19.x86_64. Moving to Rawhide. What exactly is your reproducer? (In reply to Jan Synacek from comment #3) > What exactly is your reproducer? Example: fc20 x86_64 # systemctl status ebtables.service ebtables.service - Ethernet Bridge Filtering tables Loaded: loaded (/usr/lib/systemd/system/ebtables.service; disabled) Active: inactive (dead) May 13 14:07:45 dhcp-24-165.brq.redhat.com systemd[1]: Stopped Ethernet Bridge Filtering tables. fc20 x86_64 # systemctl kill ebtables.service fc20 x86_64 # # here I'd expect message like "nothing was killed in fact, dude". This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23 Implemented in https://github.com/systemd/systemd/pull/1311. It is now possible to use 'systemctl --fail kill ...' to get an error when there was nothing to kill. |