Bug#675157: /etc/init.d/mdadm: 428: /lib/lsb/init-functions: FANCYTTY: parameter not set

George Shuklin george.shuklin at gmail.com
Wed May 30 09:25:51 UTC 2012


Package: mdadm
Version: 3.2.4-1
Severity: normal

Got following during upgrade:

Preparing to replace mdadm 3.2.4-1 (using .../mdadm_3.2.5-1_i386.deb) ...
/etc/init.d/mdadm: 428: /lib/lsb/init-functions: FANCYTTY: parameter not set
invoke-rc.d: initscript mdadm, action "stop" failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
/etc/init.d/mdadm: 428: /lib/lsb/init-functions: FANCYTTY: parameter not set
invoke-rc.d: initscript mdadm, action "stop" failed.


-- Package-specific info:
--- mdadm.conf
DEVICE partitions
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
ARRAY /dev/md/101 metadata=1.2 UUID=2e027406:57ace60e:4aeb04e1:8fce72e0 name=lab-xh3:101

--- /etc/default/mdadm
INITRDSTART='all'
AUTOSTART=true
AUTOCHECK=true
START_DAEMON=true
DAEMON_OPTIONS="--syslog"
VERBOSE=false

--- /proc/mdstat:
Personalities : [raid10] 
md101 : active (auto-read-only) raid10 sdb[0] sdc[1]
      976761344 blocks super 1.2 2 near-copies [2/2] [UU]
      
unused devices: <none>

--- /proc/partitions:
major minor  #blocks  name

   8       32  976762584 sdc
   8       16  976762584 sdb
   8        0  976762584 sda
   8        1  970692608 sda1
   8        2          1 sda2
   8        5    6067200 sda5
   9      101  976761344 md101
 252        0    8388608 tda

--- LVM physical volumes:
--- mount output
udev on /dev type devtmpfs (rw,relatime,size=430348k,nr_inodes=107587,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=88688k,mode=755)
/dev/disk/by-uuid/4bbe3509-887c-4f61-ba06-e357e0bfc8c3 on / type ext3 (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=177376k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=177376k)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
xenfs on /proc/xen type xenfs (rw,relatime)
31.186.98.100:/mnt/4c15ea03-5d70-938e-8265-d5424c0fda5e on /run/sr-mount/4c15ea03-5d70-938e-8265-d5424c0fda5e type nfs4 (rw,relatime,sync,vers=4,rsize=131072,wsize=131072,namlen=255,acregmin=0,acregmax=0,acdirmin=0,acdirmax=0,soft,noac,proto=tcp,port=0,timeo=133,retrans=2147483647,sec=sys,clientaddr=31.186.98.100,minorversion=0,local_lock=none,addr=31.186.98.100)

--- initrd.img-3.2.0-2-686-pae:
51527 blocks
c88568471781f4400db5448321a78a28  ./sbin/mdadm
052c312261576cc3cd64f84fb3dc8cf6  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/raid10.ko
1a1cdcc1bb7f02b0604014d5061251e5  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/dm-region-hash.ko
5f4399c057201152b4a7331397c2408f  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/dm-mirror.ko
f38c8d3ae566bcb5f805773662224818  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/dm-snapshot.ko
94ec110b145106714fa944b5bb4e2af0  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/linear.ko
e0be1bb135dae82606e44962d54d9566  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/multipath.ko
eaf60b434276b32c5cf5689dd82fa7ec  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/dm-mod.ko
b378c3ae3cad3763c0071d41c7511cb4  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/raid0.ko
b08537a674673ef7c9499f31bcb871ac  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/raid456.ko
d1b762d41413a646eb49d1cd70ed6a74  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/dm-log.ko
505e0ede5bfbd1971cbc35a8a356396c  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/md-mod.ko
97da324d9c36199206eedfca436812ca  ./lib/modules/3.2.0-2-686-pae/kernel/drivers/md/raid1.ko
f4fbd9099399ab08ba9b9f6c71d77595  ./scripts/local-top/mdadm
1cebd054281e57824a0f15d3abaf9ad9  ./etc/mdadm/mdadm.conf

--- initrd's /conf/conf.d/md:
MD_HOMEHOST='lab-xh3'
MD_DEVPAIRS='/dev/md/101:raid10'
MD_LEVELS='raid10'
MD_DEVS=all
MD_MODULES='raid10'

--- /proc/modules:
dm_mod 57278 0 - Live 0xf66a3000
raid10 30331 1 - Live 0xf66d1000
md_mod 85719 1 raid10, Live 0xf6666000

--- /var/log/syslog:

--- volume detail:
/dev/sda:
   MBR Magic : aa55
Partition[0] :   1941385216 sectors at         2048 (type 83)
Partition[1] :     12134402 sectors at   1941389310 (type 05)
--
/dev/sda1 is not recognised by mdadm.
/dev/sda2:
   MBR Magic : aa55
Partition[0] :     12134400 sectors at            2 (type 82)
--
/dev/sda5 is not recognised by mdadm.
/dev/sdb:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 2e027406:57ace60e:4aeb04e1:8fce72e0
           Name : lab-xh3:101  (local to host lab-xh3)
  Creation Time : Mon Mar 19 13:44:16 2012
     Raid Level : raid10
   Raid Devices : 2

 Avail Dev Size : 1953523120 (931.51 GiB 1000.20 GB)
     Array Size : 976761344 (931.51 GiB 1000.20 GB)
  Used Dev Size : 1953522688 (931.51 GiB 1000.20 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 4687fed1:fb487e20:b319ec0f:26f0560c

    Update Time : Wed May 23 20:17:10 2012
       Checksum : 7dcb70b2 - correct
         Events : 38

         Layout : near=2
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AA ('A' == active, '.' == missing)
--
/dev/sdc:
          Magic : a92b4efc
        Version : 1.2
    Feature Map : 0x0
     Array UUID : 2e027406:57ace60e:4aeb04e1:8fce72e0
           Name : lab-xh3:101  (local to host lab-xh3)
  Creation Time : Mon Mar 19 13:44:16 2012
     Raid Level : raid10
   Raid Devices : 2

 Avail Dev Size : 1953523120 (931.51 GiB 1000.20 GB)
     Array Size : 976761344 (931.51 GiB 1000.20 GB)
  Used Dev Size : 1953522688 (931.51 GiB 1000.20 GB)
    Data Offset : 2048 sectors
   Super Offset : 8 sectors
          State : clean
    Device UUID : 88cd6166:8530ac2c:b20d7657:4f8cd6fb

    Update Time : Wed May 23 20:17:10 2012
       Checksum : 55662ea8 - correct
         Events : 38

         Layout : near=2
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AA ('A' == active, '.' == missing)
--

--- /proc/cmdline
placeholder root=UUID=4bbe3509-887c-4f61-ba06-e357e0bfc8c3 ro quiet

--- grub2:
set root='(hd0,msdos1)'
  set root='(hd0,msdos1)'
	set root='(hd0,msdos1)'
	module	/boot/vmlinuz-3.2.0-2-686-pae placeholder root=UUID=4bbe3509-887c-4f61-ba06-e357e0bfc8c3 ro  quiet
	set root='(hd0,msdos1)'
	module	/boot/vmlinuz-3.2.0-2-686-pae placeholder root=UUID=4bbe3509-887c-4f61-ba06-e357e0bfc8c3 ro single 
	set root='(hd0,msdos1)'
	linux	/boot/vmlinuz-3.2.0-2-686-pae root=UUID=4bbe3509-887c-4f61-ba06-e357e0bfc8c3 ro  quiet
	set root='(hd0,msdos1)'
	linux	/boot/vmlinuz-3.2.0-2-686-pae root=UUID=4bbe3509-887c-4f61-ba06-e357e0bfc8c3 ro single 
	set root='(hd0,msdos1)'
	linux	/boot/vmlinuz-2.6.32-5-686 root=UUID=4bbe3509-887c-4f61-ba06-e357e0bfc8c3 ro  quiet
	set root='(hd0,msdos1)'
	linux	/boot/vmlinuz-2.6.32-5-686 root=UUID=4bbe3509-887c-4f61-ba06-e357e0bfc8c3 ro single 

--- udev:
ii  udev           175-3.1        /dev/ and hotplug management daemon
6df86db16655769fa94086d3ee13453a  /lib/udev/rules.d/64-md-raid.rules

--- /dev:
brw-rw---T 1 root disk 9, 101 May 29 17:55 /dev/md101

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 May 29 17:54 ata-WDC_WD1002FBYS-02A6B0_WD-WMATV6339595 -> ../../sdc
lrwxrwxrwx 1 root root  9 May 29 17:54 ata-WDC_WD1002FBYS-02A6B0_WD-WMATV6365587 -> ../../sda
lrwxrwxrwx 1 root root 10 May 29 17:55 ata-WDC_WD1002FBYS-02A6B0_WD-WMATV6365587-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 17:54 ata-WDC_WD1002FBYS-02A6B0_WD-WMATV6365587-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 29 17:54 ata-WDC_WD1002FBYS-02A6B0_WD-WMATV6365587-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 May 29 17:54 ata-WDC_WD1002FBYS-02A6B0_WD-WMATV6505930 -> ../../sdb
lrwxrwxrwx 1 root root 11 May 29 17:55 md-name-lab-xh3:101 -> ../../md101
lrwxrwxrwx 1 root root 11 May 29 17:55 md-uuid-2e027406:57ace60e:4aeb04e1:8fce72e0 -> ../../md101
lrwxrwxrwx 1 root root  9 May 29 17:54 scsi-SATA_WDC_WD1002FBYS-_WD-WMATV6339595 -> ../../sdc
lrwxrwxrwx 1 root root  9 May 29 17:54 scsi-SATA_WDC_WD1002FBYS-_WD-WMATV6365587 -> ../../sda
lrwxrwxrwx 1 root root 10 May 29 17:55 scsi-SATA_WDC_WD1002FBYS-_WD-WMATV6365587-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 17:54 scsi-SATA_WDC_WD1002FBYS-_WD-WMATV6365587-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 29 17:54 scsi-SATA_WDC_WD1002FBYS-_WD-WMATV6365587-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 May 29 17:54 scsi-SATA_WDC_WD1002FBYS-_WD-WMATV6505930 -> ../../sdb
lrwxrwxrwx 1 root root  9 May 29 17:54 wwn-0x50014ee00222caaa -> ../../sdc
lrwxrwxrwx 1 root root  9 May 29 17:54 wwn-0x50014ee00222e2dc -> ../../sda
lrwxrwxrwx 1 root root 10 May 29 17:55 wwn-0x50014ee00222e2dc-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 17:54 wwn-0x50014ee00222e2dc-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 29 17:54 wwn-0x50014ee00222e2dc-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 May 29 17:54 wwn-0x50014ee6aaaedc18 -> ../../sdb

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 May 29 17:54 pci-0000:00:1f.2-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 May 29 17:55 pci-0000:00:1f.2-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 29 17:54 pci-0000:00:1f.2-scsi-0:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 May 29 17:54 pci-0000:00:1f.2-scsi-0:0:0:0-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 May 29 17:54 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 May 29 17:54 pci-0000:00:1f.2-scsi-2:0:0:0 -> ../../sdc

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root 10 May 29 17:54 2e9a71a6-8cfc-4d22-95f9-0d016514818c -> ../../sda5
lrwxrwxrwx 1 root root 11 May 29 17:55 47ced281-4fff-4dbe-86f8-24e0c51b1c9b -> ../../md101
lrwxrwxrwx 1 root root 10 May 29 17:55 4bbe3509-887c-4f61-ba06-e357e0bfc8c3 -> ../../sda1

/dev/md:
total 0
lrwxrwxrwx 1 root root 8 May 29 17:55 101 -> ../md101

Auto-generated on Wed, 30 May 2012 13:25:14 +0400
by mdadm bugscript 3.2.4-1

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mdadm depends on:
ii  debconf      1.5.43
ii  initscripts  2.88dsf-22.1
ii  libc6        2.13-32
ii  lsb-base     4.1+Debian5
ii  udev         175-3.1

Versions of packages mdadm recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.77-1+b1
ii  module-init-tools                          8-2

mdadm suggests no packages.

-- debconf information:
  mdadm/initrdstart_msg_errexist:
  mdadm/initrdstart_msg_intro:
  mdadm/autostart: true
  mdadm/autocheck: true
  mdadm/initrdstart_msg_errblock:
  mdadm/mail_to: root
  mdadm/initrdstart_msg_errmd:
* mdadm/initrdstart: all
  mdadm/initrdstart_msg_errconf:
  mdadm/initrdstart_notinconf: false
  mdadm/start_daemon: true





More information about the pkg-mdadm-devel mailing list