Description of problem:
Restart from user session in GNOME shell takes exactly 90 seconds during which time the whole interface has just hung up, including the mouse arrow. This is a regression from Fedora 23.
If I manually log out and get to a console and check 'lsof /home' a bunch of things are still running that when doing the same thing on Fedora 23 have already quit in short order. These items continue to run indefinitely (I stayed at GDM screen logged out for 10 minutes and these items still had not quit).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot and login.
2. Use GUI to restart
90 second hang
Should reboot within ~10 seconds.
Created attachment 1159046 [details]
journalctl -b-1 -a -o short-monotonic, with systemd.log_level=debug.
Created attachment 1159047 [details]
Created attachment 1159049 [details]
REDO: journalctl -b-1 -a -o short-monotonic, with systemd.log_level=debug.
[ 49.820444] f23m.localdomain systemd-logind: System is rebooting.
[ 51.927186] f23m.localdomain systemd: Got message type=method_return sender=org.freedesktop.DBus destination=:1.46 object=n/a interface=n/a member=n/a cookie=64 reply_cookie=63 error=n/a
[ 71.065371] f23m.localdomain realmd: quitting realmd service after timeout
[ 71.065938] f23m.localdomain realmd: stopping service
[ 71.068531] f23m.localdomain systemd: Received SIGCHLD from PID 1372 (realmd).
[ 71.068931] f23m.localdomain systemd: Child 1372 (realmd) died (code=exited, status=0/SUCCESS)
[ 122.783824] f23m.localdomain systemd: systemd-journald.service: Got notification message from PID 550 (WATCHDOG=1)
[ 140.032425] f23m.localdomain systemd: session-1.scope: Stopping timed out. Killing.
[ 140.033648] f23m.localdomain systemd: at-spi-dbus-bus.service: State 'stop-sigterm' timed out. Killing.
[ 140.034437] f23m.localdomain systemd: session-1.scope changed stop-sigterm -> stop-sigkill
One 20 second gap, followed by a 1m30s hang and then systemd just kills the hung session I guess. But I'm not seeing what the actual delay is caused by.
This happens on a clean installation of Fedora 24 from Fedora-Workstation-Live-x86_64-24-20160518.n.0.iso as well as a gnome-software upgraded Fedora 23 system.
May 29 16:03:58 f24m systemd-logind: New session c1 of user gdm.
May 29 16:03:58 f24m systemd: Started Session c1 of user gdm.
May 29 16:05:02 f24m realmd: quitting realmd service after timeout
May 29 16:05:02 f24m realmd: stopping service
May 29 16:06:16 f24m systemd: session-c1.scope: Stopping timed out. Killing.
May 29 16:06:16 f24m polkitd: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.26, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
May 29 16:06:16 f24m systemd: Stopped Session c1 of user gdm.
May 29 16:06:16 f24m systemd: session-c1.scope: Unit entered failed state.
May 29 16:06:16 f24m systemd: Removed slice User Slice of gdm.
So gdm starts a new session c1, I have no idea what that is or what processes it contains, but whatever is in there is what's not quitting and holding up the reboot.
# systemctl status session-c1.scope
● session-c1.scope - Session c1 of user gdm
└─50-After-systemd-logind\x2eservice.conf, 50-After-systemd-user-sessions\x2eservice.conf, 50-Description.c
Active: active (running) since Sun 2016-05-29 16:06:48 MDT; 17min ago
├─1062 gdm-session-worker [pam/gdm-launch-environment]
├─1087 /usr/libexec/gdm-wayland-session gnome-session --autostart /usr/share/gdm/greeter/autostart
├─1089 /usr/libexec/gnome-session-binary --autostart /usr/share/gdm/greeter/autostart
├─1256 /usr/bin/Xwayland :1024 -rootless -noreset -listen 4 -listen 5 -displayfd 6
├─1281 /usr/bin/pulseaudio --start --log-target=syslog
├─1299 ibus-daemon --xim --panel disable
├─1304 /usr/libexec/ibus-x11 --kill-daemon
OK so I guess I need to iterate manually killing these things to find out what's not quitting?
What I can say is if I logout, and check lsof /home, if I kill just
'ibus-daemon --xim --panel disable' then everything else quits and /home is released. Until then, /home is in use and apparently can't be umounted. So my top suspicion right now is ibus-daemon but I'm not sure how to further troubleshoot this.
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.