FS#16126 - [gpm] fix rc.d script and default config

Attached to Project: Arch Linux
Opened by Jens Adam (byte) - Thursday, 10 September 2009, 15:34 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 30 September 2009, 21:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Since this udev change
-> http://repos.archlinux.org/viewvc.cgi/udev/trunk/81-arch.rules?r1=31755&r2=46416
there is no longer a /dev/misc/psaux -- it's /dev/psaux now.

On another note -- the return code check in the rc.d script doesn't work with gpm, it's 0 anyway:

Sep 10 17:27:48 callisto /usr/sbin/gpm[15602]: *** info [daemon/startup.c(136)]:
Sep 10 17:27:48 callisto /usr/sbin/gpm[15602]: Started gpm successfully. Entered daemon mode.
Sep 10 17:27:48 callisto /usr/sbin/gpm[15602]: O0o.oops(): [daemon/old_main.c(58)]:
Sep 10 17:27:48 callisto /usr/sbin/gpm[15602]: Could not open /dev/misc/psaux.

I'd suggest working with $PID instead of $?.
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 30 September 2009, 21:03 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Sunday, 20 September 2009, 05:47 GMT
Fixed in gpm-1.20.6-2 in testing. Please test.
Comment by Jens Adam (byte) - Monday, 21 September 2009, 00:39 GMT
Looks fine to me, thanks.
Comment by Eric Belanger (Snowman) - Monday, 21 September 2009, 02:50 GMT
FYI, I've replace /dev/psaux by /dev/input/mice in gpm-1.20.6-3 in testing. ( FS#16289 )

Loading...