Bug 631160

Summary: kdm is (re)started just before shutdown???
Product: [Fedora] Fedora Reporter: Michal Hlavinka <mhlavink>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: awilliam, lpoetter, metherid, mschmidt, notting, plautrba, thub
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-13 18:21:38 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: 538278    

Description Michal Hlavinka 2010-09-07 17:03:33 UTC
Description of problem:
This seems odd, but at the end of shutdown kdm seems restarted. I first thought it's just vga garbage, but there is also "working clock" mouse cursor and if I change username in kdm before shutdown kdm during shutdown has the username prefilled to default value so it's not just a garbage


How reproducible:
happens every time

Steps to Reproduce:
1.boot to kdm, no login
2.menu->shutdown->reboot OR ctrl-alt-f2, log in as root, reboot
3.some text info about system being shut down 

Actual results:
kdm shows again (and working) just before shutdown for about 1-2 seconds

Expected results:
no kdm before shutdown

Comment 1 Bill Nottingham 2010-09-07 19:36:44 UTC
Please try initscripts-9.19-1 when it's available (it *shouldn't* fix this, but it may change it slightly.)

Comment 2 Ira Malinich 2010-09-07 23:41:54 UTC
I'm getting the same behaviour with gdm on the systemd Test Day LiveCD ISO and subsequent hard disk installed system.

Comment 3 Petr Lautrbach 2010-09-08 10:19:27 UTC
Same here. kdm is restarted 3 or 4 times during shutdown process.

systemd-9-3.fc14.i686
initscripts-9.19-1.fc14.i686

Comment 4 Michal Hlavinka 2010-09-08 11:29:28 UTC
(In reply to comment #1)
> Please try initscripts-9.19-1 when it's available (it *shouldn't* fix this, but
> it may change it slightly.)

tried but no (or not big enough) change

Comment 5 Petr Lautrbach 2010-09-08 11:47:53 UTC
I see the problem in stopping target.

graphical.target/stop and multi-user.target/stop is correctly added to transaction but stop on target only stops target but not wanted services/targets which were started on target start.

Comment 6 Lennart Poettering 2010-09-08 23:24:16 UTC
Hmm, by default all units get a Conflicts to shutdown.target and hence should be pulled down as part of that.

I'll have a close look on what is going on here tomorrow.

Comment 7 Bill Nottingham 2010-09-09 16:01:56 UTC
Does https://bugzilla.redhat.com/show_bug.cgi?id=630935#c9 help?

Comment 8 Adam Williamson 2010-09-09 21:51:20 UTC
confirm that I see this too, this seems like a polish issue that should really be fixed at least for final. Marking 'needinfo' for Bill's q.

Comment 9 Ira Malinich 2010-09-10 23:05:55 UTC
After updating to the following package versions, gdm is no longer *visibly* restarting at shutdown for me:

initscripts-9.20-1.fc14.x86_64

If I'm reading the diff referred to in comment 7 correctly, then adding "Requires=shutdown.target" to the killall.service file seems to have fixed it.

Comment 10 Bill Nottingham 2010-09-13 18:21:38 UTC

*** This bug has been marked as a duplicate of bug 630935 ***