xscreensaver daemon crashes during the use of time-admin

Bug #15004 reported by Oliver Grawert
8
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Clicking Ok in time-admin crashes the xscreensaver daemon process if run with
gksudo.
Obviously this is the result of an odd permission setting of the XAUTHORTIY file
created by gksudo.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreprt.

Here is what happens:
1. time-admin is run and ok is clicked
2. time-admin will stop and then restart the xscreensaver of all users
3. a) with sudo everything is fine
   b) with gksudo xscreensaver can't be started again because:
      - the permissions of the copy of the .Xauthority file are wrong
      - gksudo does not create a new session for the child after fork(),
        that will cause a SIGHUP for xscreensaver when gksudo exists and
        xscreensaver terminates

Revision history for this message
Michael Vogt (mvo) wrote :

Created an attachment (id=2008)
fix to make gksu work

This patch fixes the problem. I and mdz are not comfortable with applying it
three days before the release though.

Revision history for this message
Michael Vogt (mvo) wrote :

fixed in breezy

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.