FS#703 - gdm init script pid file bug

Attached to Project: Arch Linux
Opened by Xavier de Labouret (zezaz) - Wednesday, 07 April 2004, 13:29 GMT
Last edited by Dale Blount (dale) - Wednesday, 07 April 2004, 13:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To arjan timmerman (blaasvis)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The gdm init script prevents gdmphotosetup and gdmXnest from working.

It creates a pid file (/var/run/gdm.pid). This conflicts with the gdm daemon binary, who already tries to write this file.

As a result, this file is empty. So gdmphotosetup and gdmXnest (in the same gdm package) refuse to work, because they check this file.

This on-liner diff in /etc/rc.d/gdm seems to fix it:

[root@archie rc.d]# cat gdm.diff
14d13
< echo $PID > /var/run/gdm.pid
[root@archie rc.d]#

Regards
This task depends upon

Closed by  arjan timmerman (blaasvis)
Saturday, 10 April 2004, 14:12 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Wednesday, 07 April 2004, 15:01 GMT
Indeed the pidfile usage is stupid if we don't use it, but call pidof instead :P
The pid-file creation in the gdm script is useless, so the bugreporter is right I think.

Loading...