From: antohami@basealt.ru
To: make-initrd@lists.altlinux.org
Subject: [make-initrd] [PATCH 2/2] udev: do not show the error that it is impossible to set the log level
Date: Tue, 23 Apr 2024 12:51:38 +0700
Message-ID: <bc0a3c7049a85be5b78832020b37fda2cca978b9.1713850713.git.antohami@altlinux.org> (raw)
In-Reply-To: <cover.1713850713.git.antohami@altlinux.org>
From: Anton Midyukov <antohami@altlinux.org>
When a log level is specified in the cmdline kernel (the quiet or log_level
parameter), udev cannot override it and throws an error.
Signed-off-by: Anton Midyukov <antohami@altlinux.org>
---
data/etc/rc.d/init.d/udev | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/data/etc/rc.d/init.d/udev b/data/etc/rc.d/init.d/udev
index 6102fe4e..67427de1 100755
--- a/data/etc/rc.d/init.d/udev
+++ b/data/etc/rc.d/init.d/udev
@@ -44,8 +44,8 @@ start() {
[ "$RETVAL" = 0 ] ||
return $RETVAL
- udevadm control --log-priority=info
- [ -z "${DEBUG-}" ] || udevadm control --log-priority=debug
+ udevadm control --log-priority=info 2>/dev/null
+ [ -z "${DEBUG-}" ] || udevadm control --log-priority=debug 2>/dev/null
udevadm control --property=STARTUP=1
udevadm control --reload >/dev/null 2>&1 ||:
--
2.42.1
prev parent reply other threads:[~2024-04-23 5:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-23 5:51 [make-initrd] [PATCH 0/2] Fix show plymouth antohami
2024-04-23 5:51 ` [make-initrd] [PATCH 1/2] plymouth: fix plymouth showing when drm is not ready yet antohami
2024-04-23 11:20 ` Alexey Gladkov
2024-04-23 11:35 ` Антон Мидюков
2024-04-23 11:53 ` Alexey Gladkov
2024-04-26 7:20 ` Антон Мидюков
2024-04-27 14:07 ` Alexey Gladkov
2024-05-15 15:06 ` Антон Мидюков
2024-05-15 16:50 ` Alexey Gladkov
2024-04-23 5:51 ` antohami [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bc0a3c7049a85be5b78832020b37fda2cca978b9.1713850713.git.antohami@altlinux.org \
--to=antohami@basealt.ru \
--cc=make-initrd@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Make-initrd development discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
public-inbox-index make-initrd
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.make-initrd
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git