Your message dated Sun, 13 Sep 2009 19:32:30 +0000
with message-id <[email protected]>
and subject line Bug#542271: fixed in randomsound 0.2-5
has caused the Debian Bug report #542271,
regarding randomsound: 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.)


-- 
542271: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542271
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package:  randomsound
Version:  0.2-1
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 dependencies make sure the script is
started after /usr/ is available and the syslog collector is started,
which as far as I can see should match its original position in the
boot sequence.  Also, it should stop in runlevel 1.  There is no $alsa
virtual facility.  I guess alsa-utils is the one you want.

<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 restart when changing from
runlevel 1 to 2-5.  In addition to this header change, some code in
postinst is needed to add the stop symlinks in rc1.d during upgrades.

diff -ru randomsound-0.2/debian/init.d randomsound-0.2-pere/debian/init.d
--- randomsound-0.2/debian/init.d       2009-08-18 20:36:08.000000000 +0200
+++ randomsound-0.2-pere/debian/init.d  2009-08-18 20:36:53.000000000 +0200
@@ -1,12 +1,10 @@
 #!/bin/sh
 ### BEGIN INIT INFO
 # Provides:          randomsound
-# Required-Start:    $alsa
-# Should-Start:
-# Required-Stop:
-# Should-Stop:
+# Required-Start:    $remote_fs $syslog alsa-utils
+# Required-Stop:     $remote_fs $syslog
 # Default-Start:     2 3 4 5
-# Default-Stop:      0 6
+# Default-Stop:      0 1 6
 # Short-Description: Random Sound
 # Description:       ALSA sound card related entropy gathering daemon.
 ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



--- End Message ---
--- Begin Message ---
Source: randomsound
Source-Version: 0.2-5

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

randomsound_0.2-5.diff.gz
  to pool/main/r/randomsound/randomsound_0.2-5.diff.gz
randomsound_0.2-5.dsc
  to pool/main/r/randomsound/randomsound_0.2-5.dsc
randomsound_0.2-5_amd64.deb
  to pool/main/r/randomsound/randomsound_0.2-5_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.
Stephen Gran <[email protected]> (supplier of updated randomsound 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: SHA1

Format: 1.8
Date: Sun, 13 Sep 2009 20:17:49 +0100
Source: randomsound
Binary: randomsound
Architecture: source amd64
Version: 0.2-5
Distribution: unstable
Urgency: low
Maintainer: Stephen Gran <[email protected]>
Changed-By: Stephen Gran <[email protected]>
Description: 
 randomsound - ALSA sound card related entropy gathering daemon
Closes: 542271
Changes: 
 randomsound (0.2-5) unstable; urgency=low
 .
   * Some init script header fixups (closes: #542271)
   * Control information fixup
Checksums-Sha1: 
 167e48ea7f51d145febe2942a7a652c61d30cc90 1012 randomsound_0.2-5.dsc
 f4a024609386c252226a7eab89a63e42a42a86c4 4264 randomsound_0.2-5.diff.gz
 a83ab4321c9fdfc2fb21567d183ed9ce6ac8bfe8 11214 randomsound_0.2-5_amd64.deb
Checksums-Sha256: 
 c3e033656c328c9d92a28c2e687508586947d8159e4b3e4fdc1754a3b1ada9b5 1012 
randomsound_0.2-5.dsc
 e92c5dbdf3edec254d316fa24182a5be3b27bc96ef239cd458912c9c18cf1aa8 4264 
randomsound_0.2-5.diff.gz
 9b5d2f4ff4e0afc9f35e95740eb7d8fbc5b8ca762dd818bbcd0379a1abf7d1c2 11214 
randomsound_0.2-5_amd64.deb
Files: 
 6dd385c9774b238f650262ff78722d6b 1012 admin extra randomsound_0.2-5.dsc
 9e82ee5de6a687c57ab0d0323f9f48c9 4264 admin extra randomsound_0.2-5.diff.gz
 9f674baa9fd566433caaaa606a76644e 11214 admin extra randomsound_0.2-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkqtRW0ACgkQSYIMHOpZA45KfwCg3LbXeVvQTwvDrwKXRTH95Su6
pzUAoNjJcdR1a2JhMpJlxSW5NNUd26kL
=HHFs
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to