Bug 22809

Summary: devfsd fails if devfsd.conf contains GLOBAL
Product: [Retired] Red Hat Raw Hide Reporter: Alex Yacoub <ayacoub>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-26 04:24:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Yacoub 2000-12-24 22:02:45 UTC
If the devfsd.conf file contains a line with a CFUNCTION (or presumably
MFUNCTION) event and the path is set to GLOBAL, then devfsd segfaults.  As
an example:

REGISTER
misc/psaux
CFUNCTION GLOBAL symlink $devname mouse
UNREGISTER
misc/psaux
CFUNCTION GLOBAL unlink mouse

One or both of those lines (I've tested each one alone) fails.  However,
changing the action fixes the problem and changing "GLOBAL" to
"/lib/libc.so.6" fixes the problem as well.

I do not know if this is a defsd/kernel error or a redhat error, and I
apologize for not trying to find out, but I assume you guys are better
equipped to make that decision.

BTW, I'm using devfsd-2.4.0-0.43.4 with a custom kernel from the rawhide
sources of the same version.