[Bug 309] New: mdev -s should not abort on first error
bugzilla at busybox.net
bugzilla at busybox.net
Fri May 1 10:19:26 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=309
Summary: mdev -s should not abort on first error
Product: Busybox
Version: 1.13.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: mjt+busybox at corpit.ru
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Currently, `mdev -s' (scan for all device nodes in /sys and populate /dev)
aborts on first error found. Most obvious one is when it tries to perform a
chown for a device according to /etc/mdev.conf but is, for whatever reason,
unable to find the user/group ID in question. Sure thing this is
configuration/operator error, but it is not a reason to have an unbootable
system due to missing entries in /dev. It should leave uid/gid at 0 and
continue with the next device node.
Looking at the source I don't quite know how to process better: there's
parse_chown_usergroup_or_die() routine that calls other get_foo() which will
die if unable to find user/group ID. So either all those routines should
accept additional argument (fatal=yes/no) -- requires changing all callers, or
they should be re-implemented for mdev -- which does not look right.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list