On 11/05/2010 05:31 PM, Andrey Borzenkov wrote:
Empty rule file is causing udev error:
dracut: udevd[99]: can not read '/etc/udev/rules.d/10-console.rules'
Remove file completely instead of truncating it.
Signed-off-by: Andrey Borzenkov<[email protected]>
---
modules.d/10i18n/parse-i18n.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules.d/10i18n/parse-i18n.sh b/modules.d/10i18n/parse-i18n.sh
index 0a58cc2..8f7f8f8 100755
--- a/modules.d/10i18n/parse-i18n.sh
+++ b/modules.d/10i18n/parse-i18n.sh
@@ -35,5 +35,5 @@ if [ -e /dev/tty0 ]; then
# if the device already exists, yes
# clear the udev rules and run it
/lib/udev/console_init /dev/tty0
-> /etc/udev/rules.d/10-console.rules
+ rm /etc/udev/rules.d/10-console.rules
fi
http://dracut.git.sourceforge.net/git/gitweb.cgi?p=dracut/dracut;a=commitdiff;h=6545b9d7920cd4e09274b1d38d45c191e9991646
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html