[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#489232: xfs: missing syslog dependency in init script



Package: xfs
Version: 1:1.0.8-1.1
Severity: important
Tags: patch
User: initscripts-ng-devel@lists.alioth.debian.org
Usertags: incorrect-dependency

Now that xfs uses syslog by default, the init script needs to depend on
the syslog facility, otherwise xfs might be started before syslog which
is bad.  Here is the patch:

--8<---------------cut here---------------start------------->8---
diff --git a/debian/xfs.init b/debian/xfs.init
index 664ee99..aaf666b 100644
--- a/debian/xfs.init
+++ b/debian/xfs.init
@@ -21,8 +21,8 @@
 
 ### BEGIN INIT INFO
 # Provides:          xfs
-# Required-Start:    $local_fs $remote_fs
-# Required-Stop:     $local_fs $remote_fs
+# Required-Start:    $local_fs $remote_fs $syslog
+# Required-Stop:     $local_fs $remote_fs $syslog
 # Should-Start:      $network
 # Should-Stop:       $network
 # Default-Start:     2 3 4 5
--8<---------------cut here---------------end--------------->8---

Sorry I did not notice that when filing #481758, it was only yesterday
that I switched to a dependency-based boot system.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25.9
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfs depends on:
ii  libc6                         2.7-12     GNU C Library: Shared libraries
ii  libfs6                        2:1.0.1-1  X11 Font Services library
ii  libxfont1                     1:1.3.2-1  X11 font rasterisation library

xfs recommends no packages.

-- no debconf information



Reply to: