Your message dated Sun, 23 Aug 2009 18:33:08 +0000
with message-id <[email protected]>
and subject line Bug#541871: fixed in policycoreutils 2.0.69-2
has caused the Debian Bug report #541871,
regarding policycoreutils: Incorrect runlevels and 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.)


-- 
541871: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541871
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  policycoreutils
Version:  2.0.49-6
Severity: important
Tags:     patch
User:     [email protected]
Usertags: incorrect-runlevels incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script.  The list of runlevels in the init.d
header do not match the arguments used by update-rc.d.  The header say
it should start in rcS.d, while update-rc.d uses the defaults
argument, saying it should start in runlevels 2-5.  Also, it uses
files in /usr/ and should depend on $remote_fs instead of $local_fs.

<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 init.d will have
incorrect start symlinks in rcS.d, and might start before /usr/ is
available.

diff -ur policycoreutils-2.0.65/restorecond/restorecond.init 
policycoreutils-2.0.65-pere/restorecond/restorecond.init
--- policycoreutils-2.0.65/restorecond/restorecond.init 2009-08-16 
21:41:08.000000000 +0200
+++ policycoreutils-2.0.65-pere/restorecond/restorecond.init    2009-08-16 
21:41:57.000000000 +0200
@@ -1,9 +1,9 @@
 #!/bin/sh
 ### BEGIN INIT INFO
 # Provides:          restorecond
-# Required-Start:    $local_fs $syslog
-# Required-Stop:     $local_fs $syslog
-# Default-Start:     S 2 3 4 5
+# Required-Start:    $remote_fs $syslog
+# Required-Stop:     $remote_fs $syslog
+# Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: Start the Daemon used to maintain path file context
 # Description:       uses inotify to look for creation of new files

Happy hacking,
--
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: policycoreutils
Source-Version: 2.0.69-2

We believe that the bug you reported is fixed in the latest version of
policycoreutils, which is due to be installed in the Debian FTP archive:

policycoreutils_2.0.69-2.diff.gz
  to pool/main/p/policycoreutils/policycoreutils_2.0.69-2.diff.gz
policycoreutils_2.0.69-2.dsc
  to pool/main/p/policycoreutils/policycoreutils_2.0.69-2.dsc
policycoreutils_2.0.69-2_amd64.deb
  to pool/main/p/policycoreutils/policycoreutils_2.0.69-2_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[email protected]> (supplier of updated policycoreutils 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Sun, 23 Aug 2009 09:33:48 -0500
Source: policycoreutils
Binary: policycoreutils
Architecture: source amd64
Version: 2.0.69-2
Distribution: unstable
Urgency: low
Maintainer: Russell Coker <[email protected]>
Changed-By: Manoj Srivastava <[email protected]>
Description: 
 policycoreutils - SELinux core policy utilities
Closes: 541871
Changes: 
 policycoreutils (2.0.69-2) unstable; urgency=low
 .
   * [7f346a4]: [topic--restorecond-init-script] Fix headers in script
     The list of runlevels in the init.d header do not match the
     arguments used by update-rc.d. The header say it should start in
     rcS.d, while update-rc.d uses the defaults argument, saying it
     should start in runlevels 2-5. Also, it uses files in /usr/ and
     should depend on $remote_fs instead of $local_fs. Fix thanks to
     Petter Reinholdtsen
     Bug fix: "Incorrect runlevels and dependencies in init.d script",
     thanks to Petter Reinholdtsen                    (Closes: #541871).
Checksums-Sha1: 
 2632d8b1c055b058972d1aeec1c26af12213e910 1346 policycoreutils_2.0.69-2.dsc
 6e9157d2d45a23f334818717cb8060d664a0cd2a 42556 policycoreutils_2.0.69-2.diff.gz
 661b45ac643f90324ef855f2cdf235240d0e16f0 442928 
policycoreutils_2.0.69-2_amd64.deb
Checksums-Sha256: 
 ef9154c52106e03414d37ea71c650ff241a60e86210ad76800cecc7049af739f 1346 
policycoreutils_2.0.69-2.dsc
 81ce08e0801a4554677135afab5646e8dc351c3efbe1e2e3fa0e25984fd95ba2 42556 
policycoreutils_2.0.69-2.diff.gz
 c495202c74539499419fcff7594cac4c076f1325223230a69dbb09972591084e 442928 
policycoreutils_2.0.69-2_amd64.deb
Files: 
 85642b082b72b6a09d2ff2cbfede2636 1346 utils standard 
policycoreutils_2.0.69-2.dsc
 5a4e3e225278f8d126997f14d4ef3906 42556 utils standard 
policycoreutils_2.0.69-2.diff.gz
 4d4915160382c8f8d26724f967629f4f 442928 utils standard 
policycoreutils_2.0.69-2_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13-svn0 (GNU/Linux)

iEYEAREDAAYFAkqRa88ACgkQIbrau78kQkxa1gCfQCG/14zcRyF0OIGCNUVXySP+
cHAAn0w3vyUbfv+abiW8+qZTCKjbB9QO
=0hQN
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to