summaryrefslogtreecommitdiff
path: root/modules.d/90dmsquash-live
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-09-19 12:21:51 +0200
committerHarald Hoyer <harald@redhat.com>2011-09-19 12:21:51 +0200
commitca8d4e8933e6124c2a0cf0e37f0296b80976ab33 (patch)
treec528daa487a472646b756346afced39e5ce17a07 /modules.d/90dmsquash-live
parent6d82a0470e7e340eb0353ecc3c524ded2e286e18 (diff)
downloaddracut-ca8d4e8933e6124c2a0cf0e37f0296b80976ab33.tar.gz
dracut-ca8d4e8933e6124c2a0cf0e37f0296b80976ab33.tar.bz2
dracut-ca8d4e8933e6124c2a0cf0e37f0296b80976ab33.zip
Do not use /run/udev/rules.d for udev rules
for rules, which should not be called in the real root. Stale rules can cause this: https://bugzilla.redhat.com/show_bug.cgi?id=734096
Diffstat (limited to 'modules.d/90dmsquash-live')
-rwxr-xr-xmodules.d/90dmsquash-live/dmsquash-live-genrules.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/90dmsquash-live/dmsquash-live-genrules.sh b/modules.d/90dmsquash-live/dmsquash-live-genrules.sh
index d6d0aa3b..aa0654b9 100755
--- a/modules.d/90dmsquash-live/dmsquash-live-genrules.sh
+++ b/modules.d/90dmsquash-live/dmsquash-live-genrules.sh
@@ -8,7 +8,7 @@ case "$root" in
${root#live:/dev/}
printf 'SYMLINK=="%s", RUN+="/sbin/initqueue --settled --onetime --unique /sbin/dmsquash-live-root $env{DEVNAME}"\n' \
${root#live:/dev/}
- } >> $UDEVRULESD/99-live-squash.rules
+ } >> /etc/udev/rules.d/99-live-squash.rules
echo '[ -e /dev/root ]' > $hookdir/initqueue/finished/dmsquash.sh
;;
live:*)