Bug 130568 - gpm service really confused and confusing about its configuration files
gpm service really confused and confusing about its configuration files
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gpm (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Eido Inoue
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-21 19:10 EDT by Michal Jaegermann
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version: 1.20.1-61
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-20 15:54:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2004-08-21 19:10:31 EDT
Description of problem:

'gpm' package provides a file '/etc/sysconfig/gpm' and in it
there are lines like

DEVICE="/dev/input/mice"
MOUSETYPE="exps2"

But looking closer at /etc/init.d one can find there:

[ -e /etc/sysconfig/gpm ] && . /etc/sysconfig/gpm

MOUSECFG=/etc/sysconfig/mouse
....

        if [ -f "$MOUSECFG" ]; then
                . "$MOUSECFG"
        else
                echo $"(no mouse is configured)"
                exit 0
        fi

and in $MOUSECFG, which happens to be written by system-config-mouse
things like:

MOUSETYPE="imps2"
DEVICE=/dev/input/mice

so those from /etc/sysconfig/gpm are totally ineffective and
there is not even a comment there to alert a user to this
detail if s/he would try to do any adjustments by editing that
file. Well, yes, one things remains:

# Additional options for gpm (e.g. acceleration), device
OPTIONS=""

but that is about it.
Comment 1 Eido Inoue 2004-10-20 15:54:33 EDT
there is no more gpm file now in the latest version.

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