Bug 52982

Summary: init script specifies device
Product: [Retired] Red Hat Linux Reporter: Martin Meyer <mmeyer111>
Component: gpmAssignee: Preston Brown <pbrown>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
URL: http://web2.thinkmeyer.com/gpm.txt
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-31 22:10:55 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 Martin Meyer 2001-08-31 22:10:47 UTC
Description of Problem:
The init script specifies /dev/mouse as the device, even if you have specified a 
different device in /erc/sysconfig/mouse or /etc/sysconfig/gpm.

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


How Reproducible:


Steps to Reproduce:
1. install RH71 w/ gpm
2. start a mouse that isn't connected to /dev/mouse and not having a symlink
3. the service start will succeed and then fail after is realizes /dev/mouse doesn't 
exist.

Actual Results:
The service will halt while initializing and remain locked and dead.	

Expected Results:
line 39 should probably be a "!" instead of a "-n" in front of DEVICE.  This will cause 
the variable to only be specified if no value is set.  (this is probably the intended 
effect)

Additional Information:
 this problem primarily effects people using USB mice becuase their mouse is located 
at /dev/input/mice and RH makes a kink at setup time.  New kernel install removes 
this link and gpm stops working.  Same with some PS2 mice users: /dev/mouse was 
a link to /dev/psaux.