F17 takes so long to reboot/poweroff

Rick Stevens ricks at alldigital.com
Wed Jul 25 23:24:25 UTC 2012


On 07/25/2012 12:24 PM, sguazt issued this missive::
> On Wed, Jul 25, 2012 at 7:48 PM, Rick Stevens <ricks at alldigital.com> wrote:
> [cut[
>>
>> Marco,
>>
>> Check your session and make sure you don't have more than one credential
>> store running in your desktop. That can keep the desktop from shutting
>> down in a timely manner. I had that issue (XFCE, F16) and turning off
>> the extra credential store things (that were redundant) fixed the
>> problem. You really only need the Gnome keyring stuff running, disable
>> the others if they're running.
>>
>
> Hi Rick,
>
> Thank you for the hint.
>
> I run Openbox as window manager (without gnome and LXDE) and
> gnome-settings-daemon to bring some Gnome features to my desktop.
> If you have an idea on how to check for multiple stores, please tell me.
> For now, I simply run a "ps faxuw" command and it seems that the only
> key store is gnome-keyring.
> The (stripped) output is the following (sorry...it's very loooong):
>
> -- [ps output] --
> COMMAND
> [kthreadd]
>   \_ [ksoftirqd/0]
>   \_ [migration/0]
>   \_ [watchdog/0]
>   \_ [migration/1]
>   \_ [ksoftirqd/1]
>   \_ [kworker/0:1]
>   \_ [watchdog/1]
>   \_ [cpuset]
>   \_ [khelper]
>   \_ [kdevtmpfs]
>   \_ [netns]
>   \_ [sync_supers]
>   \_ [bdi-default]
>   \_ [kintegrityd]
>   \_ [kblockd]
>   \_ [ata_sff]
>   \_ [khubd]
>   \_ [md]
>   \_ [kswapd0]
>   \_ [ksmd]
>   \_ [khugepaged]
>   \_ [fsnotify_mark]
>   \_ [crypto]
>   \_ [kthrotld]
>   \_ [scsi_eh_0]
>   \_ [scsi_eh_1]
>   \_ [scsi_eh_2]
>   \_ [scsi_eh_3]
>   \_ [scsi_eh_4]
>   \_ [kpsmoused]
>   \_ [deferwq]
>   \_ [kworker/u:6]
>   \_ [kworker/1:2]
>   \_ [firewire]
>   \_ [pccardd]
>   \_ [jbd2/sda5-8]
>   \_ [ext4-dio-unwrit]
>   \_ [kauditd]
>   \_ [flush-8:0]
>   \_ [hd-audio0]
>   \_ [cfg80211]
>   \_ [iwl3945]
>   \_ [jbd2/sda7-8]
>   \_ [ext4-dio-unwrit]
>   \_ [kworker/1:1]
>   \_ [kworker/0:2]
>   \_ [kworker/u:0]
>   \_ [kworker/0:0]
>   \_ [kworker/1:0]
> /usr/lib/systemd/systemd
> /usr/lib/udev/udevd
>   \_ /usr/lib/udev/udevd
>   \_ /usr/lib/udev/udevd
> /usr/lib/systemd/systemd-journald
> /sbin/auditd -n
>   \_ /sbin/audispd
>       \_ /usr/sbin/sedispatch
> /usr/sbin/NetworkManager --no-daemon
>   \_ /usr/sbin/pppd nodetach lock nodefaultroute user marco at tin.it
> plugin rp-pppoe.so nic-p3p1 noauth nodeflate usepeerdns mru 1492 mtu
> 1492 lcp-echo-failure 0 lcp-echo-interval 0 ipparam
> /org/freedesktop/NetworkManager/PPP/0 plugin
> /usr/lib64/pppd/2.4.5/nm-pppd-plugin.so
> /usr/sbin/abrtd -d -s
> /usr/bin/abrt-watch-log -F BUG corruption stack overflow protection
> fault WARNING: at nable to handle ouble fault: RTNL: assertion failed
> eek! page_mapcount(page) went negative! adness at NETDEV WATCHDOG
> ysctl table check failed INFO: possible recursive locking detected :
> nobody cared IRQ handler type mismatch /var/log/messages --
> /usr/bin/abrt-dump-oops -xD
> /usr/sbin/smartd -n -q never
> /usr/lib/systemd/systemd-logind
> /usr/bin/system-setup-keyboard
> /sbin/rsyslogd -n -c 5
> /usr/sbin/gdm-binary -nodaemon
>   \_ /usr/libexec/gdm-simple-slave --display-id
> /org/gnome/DisplayManager/Display1
>       \_ /usr/bin/Xorg :0 -background none -logverbose 7 -auth
> /var/run/gdm/auth-for-gdm-s7yyOG/database -seat seat0 -nolisten tcp
> vt1
>       \_ gdm-session-worker [pam/gdm-password]
>           \_ /usr/bin/openbox --startup /usr/libexec/openbox-autostart OPENBOX
>               \_ /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c
> "/usr/bin/openbox-session"
>               \_ /usr/libexec/gnome-settings-daemon
>               \_ xterm
>               |   \_ -bash
>               |       \_ ps faxuw
> /usr/sbin/crond -n
> /usr/sbin/acpid
> /usr/sbin/mcelog --ignorenodev --daemon --foreground
> /bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation
> /usr/libexec/polkit-1/polkitd --no-debug
> /usr/bin/python /usr/bin/fail2ban-server -b -s
> /var/run/fail2ban/fail2ban.sock -x
> /usr/sbin/modem-manager
> /usr/sbin/sshd -D
> /usr/libexec/accounts-daemon
> /usr/sbin/console-kit-daemon --no-daemon
> /usr/libexec/upowerd
> /usr/libexec/rtkit-daemon
> /usr/bin/gnome-keyring-daemon --daemonize --login
> dbus-launch --sh-syntax --exit-with-session
> /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
> /usr/libexec/imsettings-daemon
> /usr/libexec/gvfsd
> /usr/libexec//gvfs-fuse-daemon -f /run/user/marco/gvfs
> sh /home/marco/.config/openbox/autostart
>   \_ compton -cC -t -5 -l -5 -r 4.2 -o 0.55 -G
> xscreensaver -no-splash
> /usr/libexec/notification-daemon
> sh /home/marco/.config/openbox/autostart
>   \_ xnots
> sh /home/marco/.config/openbox/autostart
>   \_ tint2
> conky -d
> mail-notification
> volumeicon
> python /usr/bin/gtk-redshift -l 41.900002:12.450000 -t 6500K:5500K
>   \_ /usr/bin/redshift -l 41.900002 12.450000 -t 6500K 5500K
> /usr/libexec/gconfd-2
> /usr/libexec/deja-dup/deja-dup-monitor
> nm-applet
> /usr/libexec/lxpolkit
> abrt-applet
> /usr/bin/seapplet
> /usr/bin/python /usr/share/system-config-printer/applet.py
> /usr/libexec/dconf-service
> /usr/bin/pulseaudio --start --log-target=syslog
> /usr/libexec/gvfs-udisks2-volume-monitor
> /usr/lib/udisks2/udisksd --no-debug
> /usr/libexec/gvfs-gphoto2-volume-monitor
> /usr/libexec/gvfs-afc-volume-monitor
> /usr/libexec/geoclue-master
> /usr/sbin/cupsd -f
> /usr/libexec/colord
> /usr/bin/gnome-keyring-daemon --start --foreground --components=secrets
> /usr/libexec/colord-sane
> /usr/libexec/gsd-printer
> sendmail: accepting connections
> sendmail: Queue runner at 01:00:00 for /var/spool/clientmqueue
> /usr/libexec/at-spi-bus-launcher
> /usr/libexec/mission-control-5
> /usr/libexec/goa-daemon
> /usr/libexec/evolution-addressbook-factory
> /usr/libexec/telepathy-logger
> /usr/libexec/evinced
> /usr/libexec/gvfsd-metadata
> -- [/ps output] --

I don't run the same desktop as you do and I'm not 100% sure the
keyring stuff all shows up in ps outputs as some of it are parts
of other daemons, but I did notice a difference in the 
gnome-keyring-daemon. Mine looks like:

	/usr/bin/gnome-keyring-daemon --daemonize --login

The difference may be between the Openbox and XFCE desktops, however
the "--foreground" bit may be what's blocking the logout/shutdown.

You could stop that daemon, then try the shutdown and see if things
speed up. That's just a wild-*ssed guess, mind you. Your mileage may
vary, batteries not included, etc. etc.
-- 
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-           Blech!  ACKth!  Ooop!  -- Bill the Cat (Outland)         -
----------------------------------------------------------------------



More information about the users mailing list