Subject: bin/15536: not all rc.d scripts handle 'status'
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@netbsd.org>
List: netbsd-bugs
Date: 02/08/2002 12:43:51
>Number: 15536
>Category: bin
>Synopsis: not all rc.d scripts handle 'status'
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 08 03:43:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Thomas Klausner
>Release: NetBSD 1.5ZA
>Organization:
>Environment:
System: NetBSD hiro 1.5ZA NetBSD 1.5ZA (HIRO) #0: Thu Feb 7 14:12:23 CET 2002 wiz@hiro:/archive/cvs/src/sys/arch/i386/compile/HIRO i386
Architecture: i386
Machine: i386
>Description:
Not all (system) rc.d scripts support 'status'.
One could argue that not all are supposed to, but some that definitely
should support it, don't.
>How-To-Repeat:
Start sushi, try 'Show all daemons' or 'Show configured and running
processes'.
Or do:
cd /etc/rc.d
for i in [^.]*; do echo $i:; ./$i status; done
and look at the output.
Currently, the ones not supporting status are:
accounting, ccd, cleartmp, dmesg, fsck, ipnat, ipsec, ldconfig, lkm?, local,
motd, mountall, mountcritlocal, mountcritremote, network, newsyslog, ntpdate,
postfix, ppp, pwcheck, quota, raidframe, root, savecore, securelevel, swap?,
sysctl, sysdb, ttys, wscons.
At least the following should support the status keyword:
accounting, newsyslog, postfix, ppp, quota.
The following could report useful status, though I'm not sure if that's
overloading:
ccd, ipnat, raidframe, securelevel, wscons.
`ipfilter status' doesn't return output like the others do.
>Fix:
Not provided, shouldn't be hard though.
>Release-Note:
>Audit-Trail:
>Unformatted: