diff options
author | Harald Hoyer <harald@redhat.com> | 2011-09-19 12:21:51 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2011-09-19 12:21:51 +0200 |
commit | ca8d4e8933e6124c2a0cf0e37f0296b80976ab33 (patch) | |
tree | c528daa487a472646b756346afced39e5ce17a07 /modules.d/90dmsquash-live | |
parent | 6d82a0470e7e340eb0353ecc3c524ded2e286e18 (diff) | |
download | dracut-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-x | modules.d/90dmsquash-live/dmsquash-live-genrules.sh | 2 |
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:*) |