Bug 22810

Summary: devfs kills /dev/mouse
Product: [Retired] Red Hat Raw Hide Reporter: Alex Yacoub <ayacoub>
Component: gpmAssignee: Preston Brown <pbrown>
Status: CLOSED WONTFIX QA Contact: David Lawrence <dkl>
Severity: low Docs Contact:
Priority: medium    
Version: 1.0   
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: 2000-12-26 22:11:10 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:07:57 UTC
This isn't exactly a gpm problem, but . . .

devfs overlays /dev/mouse and the initscripts and gpm rely on its
existence.  I would recommend changing the /etc/rc.d/init.d/gpm file to
directly reference the right mouse device or adding some magic to kudzu and
the initscripts to write a link at startup.  Another possibility is using
devfsd to make the links, as in:

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

(see bug 22809 for notes on that).  However, if a new mouse is detected,
kudzu would still have to change that link somehow.  Anyway, just a heads
up on that.

This isn't high priority, since devfs isn't going to be in use anytime
soon.  I just like it when the initscripts work without kludging.

Comment 1 Alex Yacoub 2000-12-24 22:11:42 UTC
*** Bug 22811 has been marked as a duplicate of this bug. ***

Comment 2 Alex Yacoub 2000-12-25 17:47:50 UTC
On further inspection, I think kudzu ought to be able to handle devfsd.conf so
that it automatically adds all kinds of links -- /dev/cdrom, /dev/dvd,
/dev/modem, etc., etc.

I also noticed that bugzill messed up my example, so here it is again:

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


Comment 3 Bill Nottingham 2000-12-26 04:31:08 UTC
Having kudzu munge devfsd.conf when it's not in use would be
somewhat silly.

Comment 4 Alex Yacoub 2000-12-26 22:11:06 UTC
But eventually it will have to, I suppose.  Is RedHat planning on eventually
switching over the devfs?  If so, then kudzu needs to be changed.

Comment 5 Preston Brown 2001-01-05 19:36:38 UTC
we are not currently planning on supporting devfs.