Hide Forgot
Created attachment 840362 [details] processes after installing gpm Description of problem: F20 i686 installation, MATE desktop choice. After starting OS, at lightdm login screen, I switch to console (CTRL/ALT/F2) and install gpm ('yum install gpm'). After yum install gpm, plymouth screen appears and run, ending with 'f' Fedora logo in the center of screen. Desktop then stay unaccessible - ALT/Fn, ALT/CTRL/Fn, CTRL/ALT/Backspace, CTRL/ALT/DEL do nothing, as if keyboard is dead. Version-Release number of selected component (if applicable): systemd-208-9.fc20.i686 installed was: gpm-1.20.7-3.fc20.i686 Expected results: SW installation should not affect graphical and/or GUI sessions. Additional info: 1) Maybe this was caused by this gpm postinstall script part (which itself seems OK): "/usr/bin/systemctl preset gpm.service" 2) When I connect wia ssh to machine, running processes ('ps xaj' output) is in attached 'ps-xaj.lst' file (I'm there logged as root on tty2 and tty3) 3) IMO systemd crap is full of these weird behaviors, it sometimes work and in other constellation no. Because it is still so buggy after several years of development, I wish and can recommend switch to old unfailing upstart.
Something is definitely wrong with gpm. 1. It locks the screen when the rpm is installed, 2. Then after reboot, a systemctl status gpm shows it as masked. The file /usr/lib/systemd/system/gpm.service provided by the rpm is empty, my guess is that is the source of the problem. But surely, the fact that an empty file can bring a whole system down ought to be reviewed.
Oh! They are *all* empty! Looks like a Fedora QA issue too! $ for f in $(rpm -ql gpm) ; do ls -l $f ; done -rw-r--r--. 1 root root 0 Aug 7 2013 /etc/gpm-root.conf -rw-r--r--. 1 root root 0 Aug 7 2013 /etc/gpm-syn.conf -rw-r--r--. 1 root root 0 Aug 7 2013 /etc/gpm-twiddler.conf -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/disable-paste -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/display-buttons -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/display-coords -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/get-versions -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/gpm-root -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/hltest -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/mev -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/bin/mouse-test -rw-r--r--. 1 root root 0 Aug 7 2013 /usr/lib/systemd/system/gpm.service -rwxr-xr-x. 1 root root 0 Aug 7 2013 /usr/sbin/gpm total 0 -rw-r--r--. 1 root root 0 Oct 26 2012 Announce -rw-r--r--. 1 root root 0 Oct 26 2012 changelog -rw-r--r--. 1 root root 0 Oct 26 2012 COPYING -rw-r--r--. 1 root root 0 Oct 26 2012 FAQ -rw-r--r--. 1 root root 0 Oct 26 2012 README -rw-r--r--. 1 root root 0 Oct 26 2012 README.1.20.2 -rw-r--r--. 1 root root 0 Oct 26 2012 README.etouch -rw-r--r--. 1 root root 0 Oct 26 2012 README.gunze -rw-r--r--. 1 root root 0 Oct 26 2012 README.microtouch -rw-r--r--. 1 root root 0 Oct 26 2012 README.synaptics -rw-r--r--. 1 root root 0 Oct 26 2012 README.twiddler -rw-r--r--. 1 root root 0 Oct 26 2012 TODO -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/Announce -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/COPYING -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/FAQ -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/README -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/README.1.20.2 -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/README.etouch -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/README.gunze -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/README.microtouch -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/README.synaptics -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/README.twiddler -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/TODO -rw-r--r--. 1 root root 0 Oct 26 2012 /usr/share/doc/gpm/changelog -rw-r--r--. 1 root root 0 Aug 7 2013 /usr/share/info/gpm.info.gz -rw-r--r--. 1 root root 0 Aug 7 2013 /usr/share/man/man1/gpm-root.1.gz -rw-r--r--. 1 root root 0 Aug 7 2013 /usr/share/man/man1/mev.1.gz -rw-r--r--. 1 root root 0 Aug 7 2013 /usr/share/man/man1/mouse-test.1.gz -rw-r--r--. 1 root root 0 Aug 7 2013 /usr/share/man/man7/gpm-types.7.gz -rw-r--r--. 1 root root 0 Aug 7 2013 /usr/share/man/man8/gpm.8.gz
They look OK in the rpm: $ rpm2cpio gpm-1.20.7-3.fc20.x86_64.rpm | cpio -dvi ./etc/gpm-root.conf ./etc/gpm-syn.conf ./etc/gpm-twiddler.conf ./usr/bin/disable-paste ./usr/bin/display-buttons ./usr/bin/display-coords ./usr/bin/get-versions ./usr/bin/gpm-root ./usr/bin/hltest ./usr/bin/mev ./usr/bin/mouse-test ./usr/lib/systemd/system/gpm.service ./usr/sbin/gpm ./usr/share/doc/gpm ./usr/share/doc/gpm/Announce ./usr/share/doc/gpm/COPYING ./usr/share/doc/gpm/FAQ ./usr/share/doc/gpm/README ./usr/share/doc/gpm/README.1.20.2 ./usr/share/doc/gpm/README.etouch ./usr/share/doc/gpm/README.gunze ./usr/share/doc/gpm/README.microtouch ./usr/share/doc/gpm/README.synaptics ./usr/share/doc/gpm/README.twiddler ./usr/share/doc/gpm/TODO ./usr/share/doc/gpm/changelog ./usr/share/info/gpm.info.gz ./usr/share/man/man1/gpm-root.1.gz ./usr/share/man/man1/mev.1.gz ./usr/share/man/man1/mouse-test.1.gz ./usr/share/man/man7/gpm-types.7.gz ./usr/share/man/man8/gpm.8.gz 817 blocks $ ll -R usr/ usr/: total 16 drwx------. 2 kk1 kk1 4096 Feb 20 19:20 bin drwx------. 3 kk1 kk1 4096 Feb 20 19:20 lib drwx------. 2 kk1 kk1 4096 Feb 20 19:20 sbin drwx------. 5 kk1 kk1 4096 Feb 20 19:20 share usr/bin: total 196 -rwxr-xr-x. 1 kk1 kk1 7040 Feb 20 19:20 disable-paste -rwxr-xr-x. 1 kk1 kk1 11160 Feb 20 19:20 display-buttons -rwxr-xr-x. 1 kk1 kk1 11160 Feb 20 19:20 display-coords -rwxr-xr-x. 1 kk1 kk1 7040 Feb 20 19:20 get-versions -rwxr-xr-x. 1 kk1 kk1 32792 Feb 20 19:20 gpm-root -rwxr-xr-x. 1 kk1 kk1 15464 Feb 20 19:20 hltest -rwxr-xr-x. 1 kk1 kk1 19848 Feb 20 19:20 mev -rwxr-xr-x. 1 kk1 kk1 83264 Feb 20 19:20 mouse-test usr/lib: total 4 drwx------. 3 kk1 kk1 4096 Feb 20 19:20 systemd usr/lib/systemd: total 4 drwx------. 2 kk1 kk1 4096 Feb 20 19:20 system usr/lib/systemd/system: total 4 -rw-r--r--. 1 kk1 kk1 410 Feb 20 19:20 gpm.service usr/sbin: total 100 -rwxr-xr-x. 1 kk1 kk1 100208 Feb 20 19:20 gpm usr/share: total 12 drwx------. 3 kk1 kk1 4096 Feb 20 19:20 doc drwx------. 2 kk1 kk1 4096 Feb 20 19:20 info drwx------. 5 kk1 kk1 4096 Feb 20 19:20 man usr/share/doc: total 4 drwxr-xr-x. 2 kk1 kk1 4096 Feb 20 19:20 gpm usr/share/doc/gpm: total 100 -rw-r--r--. 1 kk1 kk1 2142 Feb 20 19:20 Announce -rw-r--r--. 1 kk1 kk1 1405 Feb 20 19:20 changelog -rw-r--r--. 1 kk1 kk1 17976 Feb 20 19:20 COPYING -rw-r--r--. 1 kk1 kk1 8736 Feb 20 19:20 FAQ -rw-r--r--. 1 kk1 kk1 10562 Feb 20 19:20 README -rw-r--r--. 1 kk1 kk1 2114 Feb 20 19:20 README.1.20.2 -rw-r--r--. 1 kk1 kk1 1375 Feb 20 19:20 README.etouch -rw-r--r--. 1 kk1 kk1 7415 Feb 20 19:20 README.gunze -rw-r--r--. 1 kk1 kk1 3410 Feb 20 19:20 README.microtouch -rw-r--r--. 1 kk1 kk1 15903 Feb 20 19:20 README.synaptics -rw-r--r--. 1 kk1 kk1 5459 Feb 20 19:20 README.twiddler -rw-r--r--. 1 kk1 kk1 618 Feb 20 19:20 TODO usr/share/info: total 28 -rw-r--r--. 1 kk1 kk1 25499 Feb 20 19:20 gpm.info.gz usr/share/man: total 12 drwx------. 2 kk1 kk1 4096 Feb 20 19:20 man1 drwx------. 2 kk1 kk1 4096 Feb 20 19:20 man7 drwx------. 2 kk1 kk1 4096 Feb 20 19:20 man8 usr/share/man/man1: total 12 -rw-r--r--. 1 kk1 kk1 3072 Feb 20 19:20 gpm-root.1.gz -rw-r--r--. 1 kk1 kk1 1730 Feb 20 19:20 mev.1.gz -rw-r--r--. 1 kk1 kk1 556 Feb 20 19:20 mouse-test.1.gz usr/share/man/man7: total 4 -rw-r--r--. 1 kk1 kk1 3694 Feb 20 19:20 gpm-types.7.gz usr/share/man/man8: total 8 -rw-r--r--. 1 kk1 kk1 5535 Feb 20 19:20 gpm.8.gz
I extracted the files manually from the rpm and ran the 'systemctl preset gpm.service' to get the same results (system unresponsive), but at least after a reboot, I get the mouse going in console mode. Not sure what is wrong. What does that mean, "it is time for gpm to go away"? You must be joking, right? $ cat /usr/lib/systemd/system/gpm.service [Unit] Description=Console Mouse manager After=syslog.target # This could probably benefit from socket activation, but honestly I think it # is time for gpm to go away, and hence I am not planning to spend the time # to add socket activation here. [Service] ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2 StandardOutput=syslog Type=forking PIDFile=/var/run/gpm.pid [Install] WantedBy=multi-user.target
For the daring ones out there, the manual extraction works: $ sudo systemctl status gpm gpm.service - Console Mouse manager Loaded: loaded (/usr/lib/systemd/system/gpm.service; enabled) Active: active (running) since Thu 2014-02-20 19:46:04 PST; 14min ago Process: 635 ExecStart=/usr/sbin/gpm -m /dev/input/mice -t exps2 (code=exited, status=0/SUCCESS) Main PID: 658 (gpm) CGroup: /system.slice/gpm.service └─658 /usr/sbin/gpm -m /dev/input/mice -t exps2 Feb 20 19:46:04 puter.my.net systemd[1]: Starting Console Mouse m... Feb 20 19:46:04 puter.my.net /usr/sbin/gpm[658]: *** info [daemon... Feb 20 19:46:04 puter.my.net /usr/sbin/gpm[658]: Started gpm succ... Feb 20 19:46:04 puter.my.net systemd[1]: Started Console Mouse ma...
(In reply to Eric from comment #4) > I extracted the files manually from the rpm and ran the 'systemctl preset > gpm.service' to get the same results (system unresponsive), but at least > after a reboot, I get the mouse going in console mode. > > Not sure what is wrong. What does that mean, "it is time for gpm to go > away"? You must be joking, right? IMO this is typing error, there should be "it is time for systemd to go > away"
(In reply to Frantisek Hanzlik from comment #6) > > Not sure what is wrong. What does that mean, "it is time for gpm to go > > away"? You must be joking, right? > > IMO this is typing error, there should be "it is time for systemd to go > > away" > Be nice, friend, not that many people must even *know* that you can get a mouse in console mode. From the recent news, it looks like systemd is here to stay for a while. Let us avoid politics on a bug reporting site, be flexible and figure out the remaining kinks that prevent us from getting a working machine. It was working just fine and was much easier before... I know :\
*** This bug has been marked as a duplicate of bug 1063706 ***