systemctl status globbing does not work with .service suffix on version 222
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am writing a test that executes systemctl status docker_
This works in systemd 219, the version we have in vivid:
(amd64)
systemd 219
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN
(amd64)
● docker_
Loaded: loaded (/etc/systemd/
Active: active (running) since Tue 2015-07-14 14:41:10 UTC; 15min ago
Main PID: 11860 (docker.start)
CGroup: /system.
├─11860 /bin/bash /apps/docker/
├─11868 docker.x86_64 -d -G docker -g /var/lib/
└─12664 sleep 2
On version 222, the version we have in wily it doesn't work:
(amd64)
(nothing is returned)
Changing the * by the version, it works:
(amd64)
● docker_
Loaded: loaded (/etc/systemd/
Active: active (running) since Tue 2015-07-14 14:45:31 UTC; 12min ago
Main PID: 789 (docker.start)
CGroup: /system.
├─ 789 /bin/bash /apps/docker/
├─ 800 docker.x86_64 -d -G docker -g /var/lib/
└─1372 sleep 2
To test it easily in every machine, try: systemctl status *.mount