Bug 158620 - libgpm should not print messages to stderr
libgpm should not print messages to stderr
Product: Fedora
Classification: Fedora
Component: gpm (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Petr Rockai
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-05-24 04:21 EDT by Cipriano Groenendal
Modified: 2007-11-30 17:11 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-01-19 05:03:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Cipriano Groenendal 2005-05-24 04:21:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)

Description of problem:
When starting MC several errors messages are printed behind the interface. Running mc 2> mc.log givs the following messages:

*** info [lib/liblow.c(329)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(336)]:
/dev/gpmctl: No such file or directory

As this is a headless, text only server, no mouse has ever, or will ever be connected to it.

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

How reproducible:

Steps to Reproduce:
1. run mc 2> mc.log
2. exit mc
3. cat mc.log

Additional info:
Comment 1 Jindrich Novy 2005-05-24 04:41:23 EDT
This doesn't seem like mc problem to me as there's no liblow.c in mc sources,
but in libgpm. Maybe something is broken with your local gpm installation.
Peter, do you have any clue? Maybe recreation of /dev/gpmclt is sufficient?
Comment 2 Cipriano Groenendal 2005-05-24 05:19:21 EDT
# rpm -q gpm
Comment 3 Miloslav Trmač 2005-05-24 05:43:46 EDT
I've seen this too, I think it happens when gpm is not running.
Comment 4 Cipriano Groenendal 2005-05-24 06:12:22 EDT
mitr@redhat.com is correct. When the gpm service is running, these messages do 
not appear. Stopping the service and restarting mc will once again give the 
messages. Stopping the service from withing mc does the same.
Comment 5 Petr Rockai 2005-06-21 09:47:05 EDT
Releases < fc4 will not be changed, use mc --nomouse to get rid of the  
message. Gpm in >= fc4 shall be changed to not print spurious messages to  
Comment 6 Steven Shiau 2005-08-02 23:54:07 EDT
The problem is not only with mc, it will happen in dialog. When I use dialog, I
see the same error messages:
*** info [lib/liblow.c(329)]:
/dev/gpmctl: No such file or directory
*** err [lib/liblow.c(336)]:
/dev/gpmctl: No such file or directory
It should allow us to use dialog WITHOUT gpm running. gpm is not a necessary to
Comment 7 Petr Rockai 2006-01-19 05:03:22 EST
Fixed in FC devel. If GPM_VERBOSE envvar is set, libgpm will print output as  
before, otherwise it is silent. Do we want an update for FC4 for this? I am 
not sure if it's worth it, but if the problem is widespread enough, it may as 
well be. 

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