Bug#633054: mdadm: /run transition: Please switch use of /lib/init/rw to /run
Michael Biebl
biebl at debian.org
Sat Jul 9 06:30:02 UTC 2011
This bug is primarily about the usage of /lib/init/rw in the sysv init script,
specifically debian/mdadm-raid:
for dir in /lib/init/rw /dev/shm /dev; do
statedir=$dir/.mdadm
test -d $statedir && STATEDIR=$statedir && break
test -w $dir || continue
mkdir $statedir || continue
STATEDIR=$statedir
break
done
I'd say this can be vastly simpliefied now, and you can just use /run/mdadm as
STATEDIR.
Updating the mdadm sources to use /run/mdadm instead of /dev/.mdadm is most
likely more work and can be deferred to a later upload.
Our primary concern here is getting rid of /lib/init/rw.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20110709/8da78e26/attachment.pgp>
More information about the pkg-mdadm-devel
mailing list