* [PATCH] i18n: fix udev error due to empty rules file
@ 2010-11-05 16:31 Andrey Borzenkov
[not found] ` <1288974698-21387-1-git-send-email-arvidjaar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2010-11-05 16:31 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
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 <arvidjaar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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
--
tg: (65d247d..) upstream/02-i18n-udev-rules (depends on: upstream/01-merge-resume)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] i18n: fix udev error due to empty rules file
[not found] ` <1288974698-21387-1-git-send-email-arvidjaar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2010-11-10 14:22 ` Harald Hoyer
0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2010-11-10 14:22 UTC (permalink / raw)
To: Andrey Borzenkov; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
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<arvidjaar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> ---
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-10 14:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-05 16:31 [PATCH] i18n: fix udev error due to empty rules file Andrey Borzenkov
[not found] ` <1288974698-21387-1-git-send-email-arvidjaar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-11-10 14:22 ` Harald Hoyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.