tags 398088 confirmed pending patch
severity 398088 important
thanks

also sprach Fabrice Lorrain <[EMAIL PROTECTED]> [2006.11.11.1904 +0100]:
> After a fresh install of mdadm, dpkg --purge does not purge /etc/mdadm/*
> as expected.

It really should, and it does here. However, I think I've spotted
the problem. Try this:

# rm -rf /etc/mdadm
# apt-get install mdadm
[...]
# /usr/share/mdadm/mkconf force-generate
# dpkg -P mdadm

Does this fix it? If yes, save the attached file to
mdadm.hook.patch, then:

# patch /usr/share/initramfs-tools/hooks/mdadm < /tmp/mdadm.hook.patch

I shall see to getting this fixed for etch! The source package patch
is here:
  http://svn.debian.org/wsvn/pkg-mdadm?op=comp&[EMAIL PROTECTED]&[EMAIL 
PROTECTED]

Thanks for the report.

-- 
 .''`.   martin f. krafft <[EMAIL PROTECTED]>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
--- initramfs/hook(revision 264)
+++ initramfs/hook(working copy)
@@ -150,7 +150,7 @@

   if [ $use_temp -eq 1 ]; then
     tmpfile="${DESTMDADMCONF}.tmp"
-    if /usr/share/mdadm/mkconf generate $tmpfile; then
+    if /usr/share/mdadm/mkconf > $tmpfile; then
       # all is well, we now have a temporary configuration file
       info "auto-generated temporary mdadm.conf configuration file." >&2
       install_config $tmpfile $DESTMDADMCONF

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to