Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 71308

Summary: SIGHUP can terminate session
Product: [Retired] Red Hat Raw Hide Reporter: Kjetil T. Homme <kjetilho>
Component: gdmAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: jirka
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-14 05:50:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 67218    

Description Kjetil T. Homme 2002-08-12 09:45:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020808

Description of problem:
after adding another X server to gdm.conf and sending SIGHUP, the existing
session is thrown out.

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


How reproducible:
Always

Steps to Reproduce:
0. be logged on to :0
1. add 1=Standard vt8 to [servers] in gdm.conf
2. kill -HUP `cat /var/run/gdm.pid`
3. wait a few seconds

Actual Results:  the X server on :0 was terminated


Expected Results:  the default /etc/X11/gdm/gdm.conf says:
# (HUP will make gdm not kill existing sessions and will only restart gdm
# after all users log out)


Additional info:

gdm-2.4.0.7-1

Comment 1 Havoc Pennington 2002-08-12 19:23:25 UTC
Potentially just bogus docs, I'm not sure.

Comment 2 George Lebl 2002-08-13 14:34:48 UTC
Yeah, bogus doc.  Should be USR1.  HUP does immediate restart USR1 does safe
restart.  There are also two scripts gdm-restart and gdm-safe-restart that do
this for you.

Comment 3 Kjetil T. Homme 2002-08-14 00:21:10 UTC
okay, thanks for the info.  (I'd prefer HUP to be the safe restart, since that's
what xdm does, but...)

gdm-*restart isn't included in the RPM, but that's OK.  one of these days I'm
sure Red Hat will make the ${pref}dm run from a normal initscript, so we can
write "service gdm reload" and have it do the right thing.

a manual page would be nice, btw :-)

Comment 4 Bill Nottingham 2002-08-14 05:50:48 UTC
Can't do 'service gdm'. Other VTs aren't initialized yet, so X startup gets screwed.

Comment 5 Elliot Lee 2002-08-26 18:05:03 UTC
Bogus docs fixed, nothing else to do besides educate users :)