[systemd-bugs] [Bug 88491] New: in initrd, systemd-udevd logs errors "specified group '{tty, uucp, ...}' unknown"
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 16 03:38:03 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88491
Bug ID: 88491
Summary: in initrd, systemd-udevd logs errors "specified group
'{tty,uucp,...}' unknown"
Product: systemd
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: a.c.kalker at gmail.com
QA Contact: systemd-bugs at lists.freedesktop.org
Using Arch Linux x86_64, mkinitcpio `systemd` hook changed to not install
/etc/{passwd,group} and some supporting files into initrd, systemd-udevd logs
the following errors (priority=3) to journal on boot:
$ journalctl -b -p3
-- Logs begin at Fri 2015-01-16 11:20:13 UTC, end at Fri 2015-01-16 11:20:20
UTC
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'tty' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'uucp' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'kmem' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'input' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'video' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'audio' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'lp' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'disk' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'optical' unknown
Jan 16 11:20:13 localhost systemd-udevd[49]: specified group 'storage' unknown
Related CoreOS issue: Normal boot on a vagrant vbox machine produces 26
critical[sic] error entries in journal · Issue #70 · coreos/bugs :
https://github.com/coreos/bugs/issues/70
`man systemd-udevd` shows that it supports the `--resolve-names` option, which
I suppose is meant to deal with situations like this.
>From some digging, I found the following commit in systemd Git:
---[cut here]---
commit 5f03ed8a56d308af72db8a48ab66ed68667af2c6
Author: Scott James Remnant <scott at ubuntu.com>
Date: Tue Jan 20 21:33:02 2009 +0000
Allow user and group lookup to be disabled.
In certain cut-down situations such as an installer or inside the
initramfs, we simply don't have any kind of name service. While we
could use rules without OWNER or GROUP, it's better to have the same
rules as a full system and have udevd ignore those parts of the rules.
Adds a --resolve-names=never switch to udevd that has this effect.
---[cut here]---
This appears to confirm my assumption.
This option doesn't appear to be used in any of the units shipped with systemd,
perhaps it is an idea to create a variant of `systemd-udevd.service` (perhaps
named `systemd-udevd-initrd.service`) with this particular setting for use in
the initrd.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150116/160816d1/attachment.html>
More information about the systemd-bugs
mailing list