Your message dated Wed, 13 Dec 2006 14:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#401696: fixed in mdadm 2.5.6-7
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: mdadm
Version: 2.5.6-6
Severity: wishlist
Tags: patch

As mdadm supports syslog it seems a shame that the daemon is not
started with the "-y" option to syslog all events.

The attached patch "mdadm-option1.patch" is a patch to
/etc/init.d/mdadm to make this the default.

If you will not accept this patch then please look at the attached
patch "mdadm-option2.patch" which adds a $DAEMON_OPTIONS variable in
/etc/default/mdadm which is then used in /etc/init.d/mdadm.

I guess that ideally you would adopt both options 1 and 2... but
that's your call!

Thanks for your consideration
Alex Owen
--- /etc/init.d/mdadm.orig	2006-10-29 10:05:02.000000000 +0000
+++ /etc/init.d/mdadm	2006-12-05 12:01:46.000000000 +0000
@@ -52,7 +52,7 @@
       mkdir -p $RUNDIR
       set +e
       start-stop-daemon -S -p $PIDFILE -x $MDADM -- \
-        --monitor --pid-file $PIDFILE --daemonise --scan
+        --monitor --pid-file $PIDFILE --daemonise --scan -y
       log_end_msg $?
       set -e
     fi
--- /etc/init.d/mdadm.orig	2006-10-29 10:05:02.000000000 +0000
+++ /etc/init.d/mdadm	2006-12-05 12:13:56.000000000 +0000
@@ -27,6 +27,7 @@
 RUNDIR=/var/run/mdadm
 PIDFILE=$RUNDIR/monitor.pid
 DEBIANCONFIG=/etc/default/mdadm
+DAEMON_OPTIONS=""
 
 test -x $MDADM || exit 0
 
@@ -52,7 +53,7 @@
       mkdir -p $RUNDIR
       set +e
       start-stop-daemon -S -p $PIDFILE -x $MDADM -- \
-        --monitor --pid-file $PIDFILE --daemonise --scan
+        --monitor --pid-file $PIDFILE --daemonise --scan $DAEMON_OPTIONS
       log_end_msg $?
       set -e
     fi
--- /etc/default/mdadm.orig	2006-12-05 12:15:00.000000000 +0000
+++ /etc/default/mdadm	2006-12-05 12:13:04.000000000 +0000
@@ -26,6 +26,10 @@
 #   should mdadm start the MD monitoring daemon during boot?
 START_DAEMON=true
 
+# DAEMON_OPTIONS:
+#   if the daemon is started then start with the following additional options 
+DAEMON_OPTIONS=""
+
 # VERBOSE=
 #   if this variable is set to true, mdadm will be a little more verbose e.g.
 #   when creating the initramfs.

--- End Message ---
--- Begin Message ---
Source: mdadm
Source-Version: 2.5.6-7

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

mdadm-udeb_2.5.6-7_amd64.udeb
  to pool/main/m/mdadm/mdadm-udeb_2.5.6-7_amd64.udeb
mdadm_2.5.6-7.diff.gz
  to pool/main/m/mdadm/mdadm_2.5.6-7.diff.gz
mdadm_2.5.6-7.dsc
  to pool/main/m/mdadm/mdadm_2.5.6-7.dsc
mdadm_2.5.6-7_amd64.deb
  to pool/main/m/mdadm/mdadm_2.5.6-7_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.
martin f. krafft <[EMAIL PROTECTED]> (supplier of updated mdadm 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.7
Date: Tue, 12 Dec 2006 11:49:52 +0100
Source: mdadm
Binary: mdadm mdadm-udeb
Architecture: source amd64
Version: 2.5.6-7
Distribution: unstable
Urgency: low
Maintainer: Debian mdadm maintainers <[EMAIL PROTECTED]>
Changed-By: martin f. krafft <[EMAIL PROTECTED]>
Description: 
 mdadm      - tool to administer Linux MD arrays (software RAID)
 mdadm-udeb - tool to administer Linux MD arrays (software RAID) (udeb)
Closes: 401696 402106 402457 402681
Changes: 
 mdadm (2.5.6-7) unstable; urgency=low
 .
   * Only parse ARRAY lines from configuration file when collecting the array
     pairs. Thanks to Daniel Dehennin for the bug report and suggested fix
     (closes: #402106).
   * Prevent modules from being loaded during initramfs time if no arrays are
     to be assembled at this stage.
   * Export DAEMON_OPTIONS to /etc/default/mdadm, which gets passed to the
     mdadm daemon on startup from the init.d script. The value is set to
     -y/--syslog by default, and will get incorporated into debconf in a future
     version; thanks for the idea by Alex Owen (closes: #401696).
   * Incorporate patch by upstream to fix handling of --syslog long option
     (closes: #402457).
   * Added logcheck filters for new syslog entries by mdadm monitoring daemon.
   * Added Spanish debconf translation by Javier Fernández-Sanguino
     (closes: #402681).
Files: 
 09e8e8d00aec550a2a0eca07575d67e7 765 admin optional mdadm_2.5.6-7.dsc
 8d8b11cce0934d62ea8447da94fdb5e9 106544 admin optional mdadm_2.5.6-7.diff.gz
 fae6d305b157e761d41415c8370e8ccd 228010 admin optional mdadm_2.5.6-7_amd64.deb
 705e50e5084f687eb9d05945b353f5be 70936 debian-installer optional 
mdadm-udeb_2.5.6-7_amd64.udeb
Package-Type: udeb

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

iD8DBQFFgBDEIgvIgzMMSnURAkIXAJ93CRxW8JyG2jiOPJ+mCY8+tpJtZgCg3YjR
VGqh32ZjmSxChcXOwbbpyYs=
=0aS+
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to