Bug#705920: "mdadm --scan" called for "dpkg-reconfigure mdadm", even though mdadm is disabled
Harald Dunkel
harald.dunkel at aixigo.de
Mon Apr 22 08:16:11 UTC 2013
Package: mdadm
Version: 3.2.5-3~bpo60+1
Even though mdadm is disabled in /etc/default/mdadm, the initramfs
hook calls mdadm --scan:
root 2621 1766 0 09:43 ? 00:00:00 \_ sshd: root at pts/0
root 2623 2621 0 09:43 pts/0 00:00:00 | \_ -bash
root 2678 2623 0 09:43 pts/0 00:00:00 | \_ /usr/bin/perl -w /usr/sbin/dpkg-reconfigure mdadm
root 2741 2678 0 09:43 pts/0 00:00:00 | \_ /bin/sh /var/lib/dpkg/info/mdadm.postinst configure 3.2.5-3~bpo60+1
root 2757 2741 0 09:44 pts/0 00:00:00 | \_ /bin/sh /usr/sbin/update-initramfs -u
root 2775 2757 0 09:44 pts/0 00:00:00 | \_ /bin/sh /usr/sbin/mkinitramfs -o /boot/initrd.img-3.2.0-0.bpo.4-amd64.new 3.2.0-0.bpo.4-amd64
root 8138 2775 0 09:45 pts/0 00:00:00 | \_ /bin/sh /usr/share/initramfs-tools/hooks/mdadm
root 8226 8138 0 09:45 pts/0 00:00:00 | \_ /bin/sh /usr/share/mdadm/mkconf
root 8233 8226 0 09:45 pts/0 00:00:00 | \_ /sbin/mdadm --examine --scan --config=partitions
grep -v ^\# /etc/default/mdadm:
INITRDSTART='none'
AUTOSTART=false
AUTOCHECK=false
START_DAEMON=false
DAEMON_OPTIONS="--syslog"
VERBOSE=false
grep -v ^\# /etc/mdadm/mdadm.conf:
CREATE owner=root group=disk mode=0660 auto=yes
HOMEHOST <system>
MAILADDR root
Regards
Harri
More information about the pkg-mdadm-devel
mailing list