Bug 1288851
Summary: | Stopping services using glob patterns does not work as stated in man page | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jamie Nguyen <jamielinux> |
Component: | systemd | Assignee: | Jan Synacek <jsynacek> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | johannbg, jsynacek, lnykryn, msekleta, s, systemd-maint, zbyszek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | systemd-222-14.fc23 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-04 23:23:23 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: |
This doesn't work even with the latest upstream version. https://github.com/systemd/systemd/commit/1f00ededc7451933e23a95597804897b37fa88d6 https://github.com/systemd/systemd/commit/2aaafcf57048983b2b76d6325f333e50aca4a3a3 systemd-222-14.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d3fc0f9415 systemd-222-14.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d3fc0f9415 systemd-222-14.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |
systemd-222-8.fc23 `systemctl stop foo@*.service` does not work as stated in the man page: man 1 systemctl > systemctl stop sshd@*.service > will stop all sshd@.service instances Only "foo@*" works, not "foo@*.service". A user most likely expects both of these incantations to work. Steps to reproduce ------------------ Start a service with an instance string: # systemctl start openvpn # systemctl show --property=ActiveState openvpn ActiveState=active Nothing happens when using "foo@*.service": # systemctl stop openvpn@*.service # systemctl show --property=ActiveState openvpn ActiveState=active The service is stopped when using "foo@*": # systemctl stop openvpn@* # systemctl show --property=ActiveState openvpn ActiveState=inactive