Bug#705920: closed by martin f krafft madd...@debian.org (Re: Bug#705920: mdadm --scan called for dpkg-reconfigure mdadm, even though mdadm is disabled)

2013-04-24 Thread Harald Dunkel
On 04/22/13 14:30, Debian Bug Tracking System wrote:
 This is an automatic notification regarding your Bug report
 which was filed against the mdadm package:
 
 #705920: mdadm --scan called for dpkg-reconfigure mdadm, even though 
 mdadm is disabled
 
 It has been closed by martin f krafft madd...@debian.org.
 
 Their explanation is attached below along with your original report.
 If this explanation is unsatisfactory and you have not received a
 better one in a separate message then please contact martin f krafft 
 madd...@debian.org by
 replying to this email.
 
 

Scanning unknown block devices can have ugly side effects,
e.g. when using drbd. On the standby the partition looks
idle, but it is not.

Would it be possible to provide a way to suppress
the unwanted scan at install/reconfigure time?

Please reopen; this issue is still unresolved.


Many thanx
Harri




signature.asc
Description: OpenPGP digital signature


Bug#705920: mdadm --scan called for dpkg-reconfigure mdadm, even though mdadm is disabled

2013-04-22 Thread Harald Dunkel
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@pts/0
root  2623  2621  0 09:43 pts/000:00:00  |   \_ -bash
root  2678  2623  0 09:43 pts/000:00:00  |   \_ /usr/bin/perl -w 
/usr/sbin/dpkg-reconfigure mdadm
root  2741  2678  0 09:43 pts/000:00:00  |   \_ /bin/sh 
/var/lib/dpkg/info/mdadm.postinst configure 3.2.5-3~bpo60+1
root  2757  2741  0 09:44 pts/000:00:00  |   \_ /bin/sh 
/usr/sbin/update-initramfs -u
root  2775  2757  0 09:44 pts/000: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/000:00:00  |   \_ 
/bin/sh /usr/share/initramfs-tools/hooks/mdadm
root  8226  8138  0 09:45 pts/000:00:00  |   \_ 
/bin/sh /usr/share/mdadm/mkconf
root  8233  8226  0 09:45 pts/000: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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#705920: mdadm --scan called for dpkg-reconfigure mdadm, even though mdadm is disabled

2013-04-22 Thread Harald Dunkel
PS: Hopefully the bpo60 doesn't matter? AFAICS the program
logic is the same for the version in Wheezy. Please close if
you think this bug affects Squeeze only.

Please mail if I can help to track this problem down.


Harri


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#705920: mdadm --scan called for dpkg-reconfigure mdadm, even though mdadm is disabled

2013-04-22 Thread Michael Tokarev
22.04.2013 14:52, Harald Dunkel wrote:
 PS: Hopefully the bpo60 doesn't matter? AFAICS the program
 logic is the same for the version in Wheezy. Please close if
 you think this bug affects Squeeze only.

I haven't looked yet (sorry ENOTIME right now), but I _think_ I
fixed this for wheezy.  Current bpo60 is a bit behind current
wheezy, I need to update it.

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#705920: mdadm --scan called for dpkg-reconfigure mdadm, even though mdadm is disabled

2013-04-22 Thread martin f krafft
also sprach Harald Dunkel harald.dun...@aixigo.de [2013.04.22.1016 +0200]:
 Even though mdadm is disabled in /etc/default/mdadm, the initramfs
 hook calls mdadm --scan:

You disabled the daemon and the autostarting. This does not mean
that the mdadm package does not try to install /etc/mdadm/mdadm.conf
for which is must scan the partitions.

-- 
 .''`.   martin f. krafft madduck@d.o  Related projects:
: :'  :  proud Debian developer   http://debiansystem.info
`. `'`   http://people.debian.org/~madduckhttp://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems


digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)