Subject: misc/18120: rc.d script doesn't tell the user if command is not executable
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 08/30/2002 07:40:01
>Number: 18120
>Category: misc
>Synopsis: rc.d scripts should report if command is missing or not executabale
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Aug 30 07:41:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.5.3
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.5.3 NetBSD 1.5.3 (JCR-1.5-20020723) #0: Tue Jul 23 15:18:22 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-1.5-20020723 i386
Architecture: i386
Machine: i386
>Description:
If rc.d scripts command is not executable, then it should say
so instead of silently doing nothing.
>How-To-Repeat:
Have inetd removed and try to start it.
>Fix:
Simply report it.
if [ ! -x $command ]; then
+ warn "${command} is not executable."
>Release-Note:
>Audit-Trail:
>Unformatted: