[Mageia-dev] LSB init scripts question.

David W. Hodgins davidwhodgins at gmail.com
Wed Apr 18 06:01:06 CEST 2012


On my Mageia 1 system, I noticed that xinetd wasn't getting
started.  After comparing the lsb headers, I modified the
script as per the following patch, and confirmed that on
reboot, it's now getting started.

$ cat xinetd.patch
--- /etc/init.d/xinetd.original 2011-01-11 23:35:28.000000000 -0500
+++ /etc/init.d/xinetd  2012-04-17 23:38:19.507878097 -0400
@@ -7,7 +7,7 @@
  # Provides: xinetd
  # Required-Start: $network $syslog
  # Required-Stop: $network $syslog
-# Default-Start: 345
+# Default-Start: 3 4 5
  # Short-Description: A powerful replacement for inetd
  # Description: This startup script launches xinetd daemon
  ### END INIT INFO

I was going to file a bug report, but decided to check other
files.  I found that udev-post and crond also are missing the
spaces.

udev-post does not get run at boot, as confirmed by
/var/lock/subsys/udev-post not existing, however crond is
getting started.

This doesn't make sense to me.  If the spaces are required,
how is crond still getting started, while xinetd and udev-post
are not?

Regards, Dave Hodgins


More information about the Mageia-dev mailing list