martin f. krafft: Add information about udev and device links in / dev to bugscript output

Martin F. Krafft madduck at alioth.debian.org
Tue May 5 13:41:59 UTC 2009


Module: mdadm
Branch: maint/lenny
Commit: ac4b7b0c43fc42c04074c3cf7ccafff3b7dd23c7
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=ac4b7b0c43fc42c04074c3cf7ccafff3b7dd23c7

Author: martin f. krafft <madduck at debian.org>
Date:   Tue May  5 15:41:32 2009 +0200

Add information about udev and device links in /dev to bugscript output

Signed-off-by: martin f. krafft <madduck at debian.org>

Conflicts:

	debian/changelog

---

 debian/bugscript |    9 +++++++++
 debian/changelog |   14 ++++++++------
 2 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/debian/bugscript b/debian/bugscript
index 5ebb2f1..dcc5cc3 100755
--- a/debian/bugscript
+++ b/debian/bugscript
@@ -178,3 +178,12 @@ if [ -f /etc/lilo.conf ]; then
   fi
   echo >&3
 fi
+
+echo "--- udev:" >&3
+COLUMNS=70 dpkg -l udev | grep '\<udev\>' >&3
+md5sum /etc/udev/rules.d/*md* /lib/udev/rules.d/*md* >&3 2>/dev/null
+echo >&3
+
+echo "--- /dev:" >&3
+ls -l /dev/md* /dev/disk/by-* >&3
+echo >&3
diff --git a/debian/changelog b/debian/changelog
index aae56b7..df14bf5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,12 +2,14 @@ mdadm (2.6.7.2-3) stable-proposed-updates; urgency=low
 
   * Change my previous recommendation for postfix over to the new virtual
     package default-mta (see #522300 and #508644).
-  * Enhance bugscript, which now asks to run as root (sudo/su) if invoked by
-    a normal user.
-  * Include MD5 sums of md-related files in initrd in bug reports.
-  * Add grub2 information retrieval to bugscript.
-  * Trap SIGINT and thus prevent ctrl-c from terminating the bugscript
-    prematurely.
+  * Cherry-pick bug script enhancements from sid version:
+    - Enhance bugscript, which now asks to run as root (sudo/su) if invoked by
+      a normal user.
+    - Include MD5 sums of md-related files in initrd in bug reports.
+    - Add grub2 information retrieval to bugscript.
+    - Trap SIGINT and thus prevent ctrl-c from terminating the bugscript
+      prematurely.
+    - Add information about udev and device links in /dev to bugscript output.
 
  -- martin f. krafft <madduck at debian.org>  Tue, 05 May 2009 08:45:22 +0200
 




More information about the pkg-mdadm-commits mailing list