Bug 229115

Summary: Current usage of /etc/udev/devices may crash the system when greping /etc
Product: [Fedora] Fedora Reporter: Till Maas <opensource>
Component: udevAssignee: Harald Hoyer <harald>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6Keywords: Reopened
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-31 13:13:23 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Till Maas 2007-02-17 06:03:16 EST
Description of problem:
/etc/udev/devices/ may contain device files, when / is not mounted with nodev
option, which is the default, and someone uses grep -R on /etc the system may
hang - or other unexpected behaviour may occur.

Version-Release number of selected component (if applicable):
2.6.1.1-1

How reproducible:
always
Comment 1 Phil Knirsch 2007-05-24 09:21:02 EDT
/etc/fstab isn't created by setup but rather during installation, so reassigning
this bug to anaconda.

Read ya, Phil
Comment 2 Jeremy Katz 2007-05-24 11:59:57 EDT
This could break cases where people expect to be able to use devices elsewhere,
though.  /etc/udev/devices should really use a textual description of the
devices much like MAKEDEV does
Comment 3 Till Maas 2007-05-24 12:19:45 EDT
(In reply to comment #2)
> This could break cases where people expect to be able to use devices elsewhere,
> though.  /etc/udev/devices should really use a textual description of the
> devices much like MAKEDEV does

How often does one use device-files outside of /dev and why does anyone need this?
Comment 4 Harald Hoyer 2007-05-31 13:13:23 EDT
/etc/udev/devices/ is deprecated.. the use of /etc/udev/makedev.d is encouraged
for exactly this reason.