Bugtraq mailing list archives

Solaris 2.5 syslog startup failure


From: lpb () APOCALYPSE ORG (Lauren P. Burka)
Date: Wed, 2 Jul 1997 17:04:31 -0400


The file /etc/init.d/syslog in Solaris 2.5.1 (Sparc version, latest
patch set), does not identify which shell should execute it.  If root
is set to use csh (instead of sh or ksh), syslog will fail to start.
If you were expecting syslog to tell you anything, you lose.

It's easy to fix; just add "#!/bin/sh" to the beginning of the
script.

Other startup scripts (including cron) also lack shell specifications,
but appear to work just fine under csh.

Sun says that yes, this is a bug, and it's fixed in 2.6.

<SIG>  Lauren P. Burka            http://www.apocalypse.org/pub/u/lpb/
       Systems Wizard for Hire                                  </SIG>



Current thread: