The service --status-all command is useless
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Fix Released
|
Low
|
Dustin Kirkland |
Bug Description
The problem is that many init scripts do not support the "status" argument and that useful messages are lost in a flood a error messages:
# service --status-all | grep Usage:
Usage: /etc/init.
Usage: /etc/dbus-
Usage: /etc/init.
Usage: /etc/init.d/apport {start|
Usage: /etc/init.
Usage: /etc/init.
Usage: bootmisc.sh [start|stop]
Usage: checkfs.sh [start|stop]
Usage: checkroot.sh [start|stop]
Usage: /etc/init.
Usage: /etc/init.
Usage: cryptdisks {start|
Usage: cryptdisks-early {start|
* Usage: /etc/init.d/dictd {start|
Traceback (most recent call last):
File "/etc/init.
import ScanPCI
ImportError: No module named ScanPCI
Usage: /etc/init.d/gpsd {start|
Usage: /etc/init.d/hddtemp {start|
Usage: /etc/init.
Usage: hostname.sh [start|stop]
* Usage: hwclock.sh {start|
* Usage: hwclock.sh {start|
Usage: /etc/init.
Usage: /etc/init.
Usage: /etc/init.
Usage: /etc/init.d/kvm {start|
Usage: /etc/init.
Usage: /etc/init.
* Usage: /etc/init.
Usage: /etc/init.
Usage: mountall-
Usage: mountall.sh [start|stop]
Usage: mountdevsubfs [start|stop]
Usage: mountkernfs [start|stop]
Usage: mountnfs-
Usage: /etc/init.
Usage: mountoverflowtmp [start|stop]
Usage: mountall-mtab.sh [start|stop]
Usage: /etc/init.d/netdiag {start|
Usage: /etc/init.
Usage: {start|
* Usage: /etc/init.
* Usage: /etc/init.
Usage: /etc/init.d/procps {start|
Usage: /etc/init.
Usage: /etc/init.
Usage: /etc/init.
Usage: /etc/init.
Usage: /etc/init.
Usage: /etc/init.
* Usage: /etc/init.d/setkey {start|
Usage: /etc/init.
* Usage: /etc/init.d/sysstat {start|
* Usage: /etc/init.
Usage: /etc/init.d/udev {start|
Usage: /etc/init.d/udev {start|
Usage: /etc/init.
Usage: umountnfs.sh [start|stop]
Usage: /etc/init.
Usage: /etc/init.d/uptimed {start|
Usage: /etc/init.
Usage: urandom start|stop
Usage: /etc/init.d/usplash {start|stop}
Usage: /etc/init.
Usage: /etc/init.d/zope3 {start|
I absolutely agree. I have a patch that will filter these.
:-Dustin