[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/45679: aggravating behavior of rc scripts
>Synopsis: aggravating behavior of rc scripts
>Arrival-Date: Sat Dec 03 15:45:00 +0000 2011
>Originator: David A. Holland
>Release: NetBSD 5.99.58 (20111130)
System: NetBSD 5.99.58 NetBSD 5.99.58 (GENERIC) #1: Fri Dec 2 23:02:36 EST
Suppose you want to test something nfs-related, so you try to start
nfsd without fiddling with rc.conf.
# /etc/rc.d/rpcbind onestart
# /etc/rc.d/mountd onestart
So far so good...
# /etc/rc.d/nfsd onestart
/etc/rc.d/nfsd: WARNING: $mountd is not enabled.
Well, that's not unreasonable...
# ps auxww | grep nfsd
...except it didn't actually start!
(1) if it's going to be a fatal error it should not say WARNING;
(2) for onestart it shouldn't be a fatal error, or, better, it should
check whether mountd is running rather than whether it's enabled.
Main Index |
Thread Index |