Bug#764036: mdadm: /var/lib/mdadm and /etc/mdadm not deleted on upgrade/purge
Laurent Bigonville
bigon at debian.org
Sun Oct 5 00:53:06 UTC 2014
Package: mdadm
Version: 3.3.2-2
Severity: normal
Hi,
During the upgrade of the package I got the following message:
Unpacking mdadm (3.3.2-2) over (3.3.2-1) ...
dpkg: warning: unable to delete old directory '/var/lib/mdadm': Directory not empty
And indeed "/var/lib/mdadm" was not removed properly, I guess
"rmdir --ignore-fail-on-non-empty /var/lib/mdadm" should be called after
deleting the files to ensure the directory is properly deleted.
The same thing happens with "/etc/mdadm" when purging the package,
/etc/mdadm/mdadm.conf and the directory is never deleted.
Cheers,
Laurent Bigonville
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages mdadm depends on:
ii debconf [debconf-2.0] 1.5.53
ii initscripts 2.88dsf-53.4
ii libc6 2.19-11
ii lsb-base 4.1+Debian13
ii udev 215-5+b1
Versions of packages mdadm recommends:
ii dma [mail-transport-agent] 0.9-1
ii kmod 18-3
ii module-init-tools 18-3
mdadm suggests no packages.
-- debconf information excluded
More information about the pkg-mdadm-devel
mailing list