Your message dated Sat, 20 Dec 2014 09:20:24 +0000
with message-id <e1y2gd2-0002c5...@franck.debian.org>
and subject line Bug#771852: fixed in mdadm 3.3.2-5
has caused the Debian Bug report #771852,
regarding mdadm: postinst fails on rm --ignore-fail-on-non-empty
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
771852: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771852
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mdadm
Version: 3.3.2-3
Severity: grave

While installing build dependencies for libguestfs in build chroot
(sid-amd64), I got the following message:

Setting up mdadm (3.3.2-3) ...
update-initramfs: deferring update (trigger activated)
rm: unrecognized option '--ignore-fail-on-non-empty'
Try 'rm --help' for more information.
dpkg: error processing package mdadm (--configure):
 subprocess installed post-installation script returned error exit status 1

That switch simply does not exist. The problematic call is in the
postinst script on line 103:

,----
|     if dpkg --compare-versions "$2" le 3.3.2-1; then
|       rm -f /var/lib/mdadm/CONF-UNCHECKED /var/lib/mdadm/mdadm.conf-generated
|       rm --ignore-fail-on-non-empty /var/lib/mdadm
|     fi
`----

I suggest replacing it with something like rm -d /var/lib/mdadm || true

Cheers,
-Hilko

--- End Message ---
--- Begin Message ---
Source: mdadm
Source-Version: 3.3.2-5

We believe that the bug you reported is fixed in the latest version of
mdadm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 771...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev <m...@tls.msk.ru> (supplier of updated mdadm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 20 Dec 2014 11:48:44 +0300
Source: mdadm
Binary: mdadm mdadm-udeb
Architecture: source
Version: 3.3.2-5
Distribution: unstable
Urgency: medium
Maintainer: Debian mdadm maintainers <pkg-mdadm-de...@lists.alioth.debian.org>
Changed-By: Michael Tokarev <m...@tls.msk.ru>
Description:
 mdadm      - tool to administer Linux MD arrays (software RAID)
 mdadm-udeb - tool to administer Linux MD arrays (software RAID) (udeb)
Closes: 770883 771852
Changes:
 mdadm (3.3.2-5) unstable; urgency=medium
 .
   * use-tempnode-not-devnode.patch: change udev rules file to use
     $tempnode which works both on wheezy and jessie udev, instead
     of $devnode which only works in jessie.  At this stage it is
     better to make rules file compatible with old version instead
     of adding versioned dependency.  Should be removed for jessie+1.
     (Closes: #770883)
   * fix Closes: list in previous entry (Closes: #771852)
Checksums-Sha1:
 2cbb6b731134a22cd9a95b8c7e29b664aefa7c26 1609 mdadm_3.3.2-5.dsc
 6b3f92f40bd7edaf468f17be1d10d345c018e864 87080 mdadm_3.3.2-5.debian.tar.xz
Checksums-Sha256:
 4d754006fcaa033e3383484f6920e298ec0cd908459d57fc002a5a556f55fcfc 1609 
mdadm_3.3.2-5.dsc
 b5cdeb590b81215f00a335fbae3910d034d405b8f06a57d09baef8e8b57c6447 87080 
mdadm_3.3.2-5.debian.tar.xz
Files:
 f1ac5b8dc2d26891ed4f00946c303093 1609 admin optional mdadm_3.3.2-5.dsc
 987a57dd1c78cfea66e14d8aeb47ab37 87080 admin optional 
mdadm_3.3.2-5.debian.tar.xz
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUlTiZAAoJEL7lnXSkw9fbHK8IAL/i1rZDZYBbaC2y0Zca/khI
MQILone6hJ3g+JQquDBe4xK/cMWVUE2l9hpPeRxGty+/qT4n4FZkXNey4L5MwP8C
i2LzipiTOj3rJbpPLR6ckfI+5/4f4qMWl/+1q1xNANRi52L/Lcba5UnIkK3Fdyj1
Gf32A6zLgEG1XUciFgWfOriYNAxO2oQTRIQKxcuDBkCyR1HpHwCGl5NNKlrBTody
36i9Ov5vaTH4hIdb9UZztlS8DBHYglXDyCZZBgU+sIpYAisWZBlEEbOdVUZhF8hh
EfK241kJTf3+fd4aAvP4PCbsqJZm/VxQK+EMQXFi172FhCmlmjSukLAFfX01HC4=
=vGJw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to