Bug 22809 - devfsd fails if devfsd.conf contains GLOBAL
Summary: devfsd fails if devfsd.conf contains GLOBAL
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: kernel
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-12-24 22:02 UTC by Alex Yacoub
Modified: 2015-01-04 22:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-26 04:24:54 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.