Is $syslog a Required-Start or a Should-Start?

Petter Reinholdtsen pere at
Tue Aug 4 18:42:20 UTC 2009

[Frédéric Brière]
> Following the insserv "flipping of the switch" last week, I noticed that
> several init scripts on my system were lacking a dependency on $syslog.
> (The debhelper sample init script is lacking such a dependency, and I
> suspect many maintainers copied it w/o too much thought.)

Right.  Good that you discovered this now. :)

> Before filing bug reports, I'd like to know whether $syslog should
> be a Required-Start or a Should-Start.  While most init scripts (and
> the example on specify the former, some scripts opt
> for the latter, which seems to make sense given how packages
> typically don't depend on system-log-daemon anyway.  Is there a
> definitive answer on this matter?

I would say, it depend on the package.  In most cases, the program
would work just fine without a syslog collector, and in these cases I
believe it make most sense to use Should-Start.  If it require a
syslog server, it should use Required-Start.  Technically it does not
really matter with the current definition of $syslog (see
/etc/insserv.conf).  $syslog will be considered to be available even
if no init.d script implement it.

When you file bug reports, please usertag them, making them show up at
<URL: >.

Happy hacking,
Petter Reinholdtsen

More information about the initscripts-ng-devel mailing list