Bug#381007: mdadm: Fails to upgrade with devfsd-style udev
Bas Wijnen
shevek at fmf.nl
Tue Aug 1 12:22:53 UTC 2006
Package: mdadm
Version: 2.5.2-7
Severity: grave
Justification: renders package unusable
Ok, not quite unusable, but unupgradable. Which I suppose may have
security concequences as well.
Anyway, the problem is that during preconfigure, the script hangs while
continuously saying "E: unrecognised device string: /dev/md/0"
Looking at the script, the problem is that this matches
/dev/md*|md*),
but not
/dev/md[0-9]*|/dev/md_d[0-9]*)
This, plus the while true, which perhaps should be
while [ $ERROR -eq 0 ], leads to the endless loop.
I do not have enough knowledge of the purpose of the script to write a
patch just now, but I suppose it's not too hard to fix.
Thanks,
Bas Wijnen
-- Package-specific info:
--- mount output
/dev/md/0 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
automount(pid29976) on /mnt type autofs (rw,fd=4,pgrp=29976,minproto=2,maxproto=4)
--- mdadm.conf
# Autogenerated by mdcfg. See mdadm.conf(5) for more details on this file.
DEVICE partitions
ARRAY /dev/md/0 level=raid1 num-devices=2 UUID=6deffb03:5a226148:b4f606fd:c661ae04
devices=/dev/ide/host0/bus0/target0/lun0/part1,/dev/ide/host0/bus1/target0/lun0/part1
MAILADDR root
--- /proc/mdstat:
Personalities : [raid1] [raid5]
md0 : active raid1 hdc1[1] hda1[0]
159846592 blocks [2/2] [UU]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
3 0 160836480 hda
3 1 159846718 hda1
3 2 987997 hda2
22 0 160836480 hdc
22 1 159846718 hdc1
22 2 987997 hdc2
9 0 159846592 md0
--- initrd.img-2.6.11:
--- volume detail:
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mdadm depends on:
ii debconf [debconf-2.0] 1.5.2 Debian configuration management sy
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii lsb-base 3.1-10 Linux Standard Base 3.1 init scrip
ii makedev 2.3.1-82 creates device files in /dev
Versions of packages mdadm recommends:
ii exim4-daemon-light [mail-tran 4.62-2 lightweight exim MTA (v4) daemon
-- debconf information:
* mdadm/autostart: true
mdadm/initrdstart: /dev/md/0
* mdadm/warning:
* mdadm/start_daemon: true
* mdadm/mail_to: root
* mdadm/autocheck: true
More information about the pkg-mdadm-devel
mailing list