Bug#383806: Acknowledgement (mdadm: Fails to upgrade: Attempts to
create udev-specific symlink on yaird is used)
Jonas Smedegaard
dr at jones.dk
Sat Aug 19 18:57:40 UTC 2006
package mdadm
tags 383806 patch
thanks
Here's a patch (beware of wrapping, it is just pasted inline):
--- mdadm.postinst.orig 2006-08-11 12:45:20.000000000 +0200
+++ mdadm.postinst 2006-08-19 19:51:16.000000000 +0200
@@ -141,7 +141,7 @@
V=2.5.2-10
F=/etc/udev/rules.d/z60_mdadm.rules
if [ "${1:-}" = "configure" ] && dpkg --compare-versions "${2:-$V}" lt $V \
- && [ ! -e $F ]; then
+ && [ ! -e $F ] && [ -e $(dirname $F) ]; then
ln -s ../mdadm.rules $F
fi
--
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
- Enden er nær: http://www.shibumi.org/eoti.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20060819/b94188e9/attachment.pgp
More information about the pkg-mdadm-devel
mailing list