Your message dated Wed, 16 Sep 2009 12:41:15 +0200
with message-id <[email protected]>
and subject line Close bugs fixed in am-utils version 6.1.5-13
has caused the Debian Bug report #543824,
regarding am-utils: Incorrect dependencies in init.d script
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
543824: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543824
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: am-utils
Version: 6.1.5-2
Severity: important
Tags: patch
User: [email protected]
Usertags: incorrect-dependency
With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script. The script depend on nis, but the nis
script is one of the few that do not provide its own name. Instead, I
believe the am-utils script should depend on the 'ypbind' provide of
the nis script. Also, the script require files in /usr/ and should
depend on $remote_fs instead of $local_fs, and the programs started
uses syslog and thus should start after $syslog. Also, given that it
depend on nis, I suspect it should also start after the nslcd script
when libnss-ldapd is used, and that such dependency should be added
too.
<URL:
http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
>
documents the LSB header format. Some debian notes are available from
<URL: http://wiki.debian.org/LSBInitScripts >.
This patch should solve the issue. Without it, the script will start
to early in the boot sequence, and fail to start after the nis script.
diff -ur am-utils-6.1.5/debian/am-utils.init
am-utils-6.1.5-pere/debian/am-utils.init
--- am-utils-6.1.5/debian/am-utils.init 2009-08-27 09:24:46.000000000 +0200
+++ am-utils-6.1.5-pere/debian/am-utils.init 2009-08-27 09:26:09.767798000
+0200
@@ -8,10 +8,10 @@
### BEGIN INIT INFO
# Provides: am-utils
-# Required-Start: $portmap $local_fs
-# Required-Stop: $portmap $local_fs
-# Should-Start: nis
-# Should-Stop: nis
+# Required-Start: $portmap $remote_fs $syslog
+# Required-Stop: $portmap $remote_fs $syslog
+# Should-Start: ypbind nslcd
+# Should-Stop: ypbind nslcd
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: BSD automounter
Happy hacking,
--
Petter Reinholdtsen
--- End Message ---
--- Begin Message ---
Version: 6.1.5-13
By mistake, some bugs were not fixed when 6.1.5-14 was uploaded.
am-utils (6.1.5-13) unstable; urgency=low
* Use config.sub and config.guess from Debian properly (Closes: #538612)
* Updated Spanish translation (Closes: #529029)
* Added Russian debconf translation (Closes: #541747)
* pawd null pointer dereference fixed (Closes: #525844)
* Updated to standards 3.8.2
* Updated to debhelper v7
* A few lintian issues fixed
* Corrected postinst updated-rc.d use (Closes: #521392)
* Fix dependencies in init script (Closes: #543824)
-- Tim Cutts <[email protected]> Tue, 15 Sep 2009 14:14:05 +0200
Happy hacking,
--
Petter Reinholdtsen
--- End Message ---