Your message dated Tue, 27 Oct 2009 21:13:38 +0000
with message-id <[email protected]>
and subject line Bug#537734: fixed in mdadm 3.0.3-1
has caused the Debian Bug report #537734,
regarding mdadm bugscript output no longer included in mail
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.)


-- 
537734: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537734
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: reportbug
Version: 4.5
Severity: important

Something changed in reportbug such that the method I used to run
the bugscript as root in lenny's mdadm (2.6.7.2-3) no longer works
in sid: instead of &3, the output seems to go to &1.

Attached is the bugscript I use. Again, this works in lenny.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reportbug depends on:
ii  apt                           0.7.21     Advanced front-end for dpkg
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-reportbug              4.5        Python modules for interacting wit

reportbug recommends no packages.

Versions of packages reportbug suggests:
ii  debconf-utils                1.5.27      debconf utilities
pn  debsums                      <none>      (no description available)
pn  dlocate                      <none>      (no description available)
ii  file                         5.03-1      Determines file type using "magic"
ii  gnupg                        1.4.9-4     GNU privacy guard - a free PGP rep
ii  postfix [mail-transport-agen 2.6.2~rc1-1 High-performance mail transport ag
ii  python-gnome2-extras         2.25.3-2    Extra Python bindings for the GNOM
ii  python-gtk2                  2.14.1-3    Python bindings for the GTK+ widge
pn  python-urwid                 <none>      (no description available)
ii  python-vte                   1:0.20.5-1  Python bindings for the VTE widget

-- no debconf information


-- 
 .''`.   martin f. krafft <[email protected]>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
#!/bin/bash
#
# mdadm bug submission control script
#
# allows Debian's bug tools to include relevant information in bug reports.
#
# Copyright © martin f. krafft <[email protected]>
# distributed under the terms of the Artistic Licence 2.0
#
# we need /bin/bash for readline and -n capabalities in the prompt(s)
#

# maximise information output even in the case of errors
set +eu

if ! command -v yesno >/dev/null; then
  if [ -r /usr/share/reportbug/handle_bugscript ]; then
    exec /usr/share/reportbug/handle_bugscript ". $0" /dev/stdout
  fi
  yesno() {
    read -n1 -p"$1" REPLY
    case "$REPLY" in
      [yY]) REPLY=yep;;
      [nN]) REPLY=nop;;
      ('') REPLY="$2";;
    esac
  }
  exec 3>&1
fi

# do not let people ctrl-c out of the bugscript
trap : INT

if [ $(id -u) != 0 ]; then
  if [ -x "$(command -v sudo)" ]; then
    yesno "Gather system information as root using sudo? (Y/n) " yep
    if [ "$REPLY" = yep ]; then
      echo running sudo "$0" "$@"...
      sudo "$0" "$@" && exit 0
      echo "sudo invocation failed, trying /bin/su..."
    fi
  fi

  yesno "Gather system information as root using su? (Y/n) " yep
  if [ "$REPLY" = yep ]; then
    ARGS=
    for i in "$@"; do ARGS="${ARGS:+$ARGS }'$1'"; shift; done
    echo "running su root -s '/bin/sh -c $0 $ARGS'..."
    su root -s /bin/sh -c "$0 $ARGS" && exit 0
    unset ARGS
    echo "su invocation failed."
  fi

  # arrive here only if neither sudo nor su worked:
  yesno "Will you provide system information in the bug report yourself? (N/y) 
" nop
  if [ "$REPLY" = yep ]; then
    cat <<_eof >&3

IMPORTANT:
  please do not forget to include all relevant system information with this
  bug report. You could run
    /usr/share/bug/mdadm/script 3>&1
  as root and attach or include the output.

_eof
    exit 0
  fi

  # try our best
  cat <<_eof >&3

WARNING:
  the following output was not generated by the root user. If you can, please
  replace the following up until "-- System Information:" with the output of
    /usr/share/bug/mdadm/script 3>&1
  run as root. Thanks!

_eof
fi

if [ ! -r /proc/mdstat ]; then
  echo "The local system does not have MD (RAID) support: no drivers loaded."
  echo "Without MD support, I cannot collect as much information as I'd like."

  #yesno "Are you sure you want to report a bug at this time? " yep
  yesno "Hit any key to continue..." yep
  #[ "$REPLY" = yep ] || exit 1
fi

echo "--- mount output" >&3
mount >&3
echo >&3

echo "--- mdadm.conf" >&3
if [ -r /etc/mdadm/mdadm.conf ]; then
  cat /etc/mdadm/mdadm.conf >&3
else
  echo no mdadm.conf file. >&3
fi
echo >&3

echo "--- /proc/mdstat:" >&3
cat /proc/mdstat >&3 2>&3 || :
echo >&3

echo "--- /proc/partitions:" >&3
cat /proc/partitions >&3 2>&3 || :
echo >&3

echo "--- initrd.img-$(uname -r):" >&3
if [ -r /boot/initrd.img-$(uname -r) ]; then
  TEMPDIR=$(mktemp -d)
  OLDPWD="$PWD"
  cd "$TEMPDIR"
  zcat /boot/initrd.img-$(uname -r) 2>&3 | cpio -i 2>&3
  find -regex '.*/md[a/].+' -type f -exec md5sum {} \; >&3
  cd "$OLDPWD"
  rm -rf "$TEMPDIR"
  unset TEMPDIR
fi
echo >&3

if [ -r /proc/modules ]; then
  echo "--- /proc/modules:" >&3
  egrep '(dm_|raid|linear|multipath|faulty)' < /proc/modules >&3 || :
  echo >&3
fi

if [ -f /var/log/syslog ]; then
  if [ -r /var/log/syslog ]; then
    echo "--- /var/log/syslog:" >&3
    egrep "^\w{3} [ :[:digit:]]{11} ($(hostname)|localhost) (kernel: md|mdadm): 
" /var/log/syslog >&3 || :
    echo >&3
  else
    echo "syslog not readable by user." >&3
  fi
fi

echo "--- volume detail:" >&3
for dev in /dev/[hsv]d[a-z]*; do
  [ ! -r $dev ] && echo "$dev not readable by user." && continue
  mdadm -E $dev 2>/dev/null && echo -- || echo "$dev is not recognised by 
mdadm."
done >&3
echo >&3

if [ -r /proc/cmdline ]; then
  echo "--- /proc/cmdline" >&3
  cat /proc/cmdline >&3
  echo >&3
fi

if [ -f /boot/grub/grub.cfg ]; then
  echo "--- grub2:" >&3
  if [ -r /boot/grub/grub.cfg ]; then
    egrep '^[^#].*\<(root=|raid)' /boot/grub/grub.cfg >&3 || :
  else
    echo grub.cfg file not readable. >&3
  fi
  echo >&3
fi

if [ -f /boot/grub/menu.lst ]; then
  echo "--- grub legacy:" >&3
  if [ -r /boot/grub/menu.lst ]; then
    grep '^[^#].*\<root=' /boot/grub/menu.lst >&3 || :
  else
    echo menu.lst file not readable. >&3
  fi
  echo >&3
fi

if [ -f /etc/lilo.conf ]; then
  echo "--- lilo:" >&3
  if [ -r /etc/lilo.conf ]; then
    egrep '^([^#].*)?root=' /etc/lilo.conf >&3 || :
  else
    echo lilo.conf file not readable. >&3
  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

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)


--- End Message ---
--- Begin Message ---
Source: mdadm
Source-Version: 3.0.3-1

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_3.0.3-1_amd64.udeb
  to main/m/mdadm/mdadm-udeb_3.0.3-1_amd64.udeb
mdadm_3.0.3-1.diff.gz
  to main/m/mdadm/mdadm_3.0.3-1.diff.gz
mdadm_3.0.3-1.dsc
  to main/m/mdadm/mdadm_3.0.3-1.dsc
mdadm_3.0.3-1_amd64.deb
  to main/m/mdadm/mdadm_3.0.3-1_amd64.deb
mdadm_3.0.3.orig.tar.gz
  to main/m/mdadm/mdadm_3.0.3.orig.tar.gz



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: RIPEMD160

Format: 1.8
Date: Tue, 27 Oct 2009 18:06:13 +0100
Source: mdadm
Binary: mdadm mdadm-udeb
Architecture: source amd64
Version: 3.0.3-1
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: 537734 538143 538843 541884 549083 549535
Changes: 
 mdadm (3.0.3-1) unstable; urgency=low
 .
   * New upstream release.
   * Acknowledge 3.0-3.1 NMU by Christian Kujau (patch by Marco d'Itri)
     (closes: #541884), and add util-linux dependency.
   * Copy udev rules into initramfs, which udev stopped doing
     (closes: #549535, #549083, #538843, #538143).
   * Fix the bug script to write debug information to the correct file
     descriptor (closes: #537734).
   * Switch to TopGit and split Debian diff into topic branches; add
     README.source.
   * Drop the outdated rootraiddoc.97.html document.
Checksums-Sha1: 
 18fd86603e7dad85c2e2143c16ea0f534e0e89a8 1235 mdadm_3.0.3-1.dsc
 6d79cc9ff861e1b515d76004057020ff02ccdf0f 337133 mdadm_3.0.3.orig.tar.gz
 83258b0ae5f7020f496ff9794dca76d0647fe7de 129088 mdadm_3.0.3-1.diff.gz
 f32c636df5fa363fc1df74d40671f77f73463723 422130 mdadm_3.0.3-1_amd64.deb
 be0675bebbe9dd9f41f5321711b1291ebf452488 130688 mdadm-udeb_3.0.3-1_amd64.udeb
Checksums-Sha256: 
 c20868d728557c7b542cf14a1551dd083e43f853e213b4899a55bcd1f05b04fb 1235 
mdadm_3.0.3-1.dsc
 34448b356e11602be6ccb0db00b483d50995f4a55b055b12bee431ab5d16e8cd 337133 
mdadm_3.0.3.orig.tar.gz
 baca8ee115124e09ada20430e5345b2884a75acce97f00cc61ed0d0565dbfdf7 129088 
mdadm_3.0.3-1.diff.gz
 ece8748b434a0768d97044b1e7fa52725516a6bbf0471af8fb70813d9cd6cb31 422130 
mdadm_3.0.3-1_amd64.deb
 85afcaad65564eae5b08cb2b6e69aeaf9fc6683d9910d45cb706dd3b5c2a8d34 130688 
mdadm-udeb_3.0.3-1_amd64.udeb
Files: 
 3c67796168f0fe90d2c3a5626b96e198 1235 admin optional mdadm_3.0.3-1.dsc
 80ef2a544bfe39ac2e47686485f470ef 337133 admin optional mdadm_3.0.3.orig.tar.gz
 8da743cb21118c5e3fa367d88a1532e4 129088 admin optional mdadm_3.0.3-1.diff.gz
 a59a3fa4750a30d31e3b8a058efc03e8 422130 admin optional mdadm_3.0.3-1_amd64.deb
 1117d3644f2f72b851929acdb74f6420 130688 debian-installer optional 
mdadm-udeb_3.0.3-1_amd64.udeb
Package-Type: udeb

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

iEYEAREDAAYFAkrnTMcACgkQIgvIgzMMSnVOAgCfXD+p2g8Z69zwDXlmiYbpCrmp
GqYAoKrEmv2L744oXBeXxAkmOMzRB7Ll
=+GET
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to