https://bugs.archlinux.org/task/32380#comment103886
However, I've added the "ExecStop=..." line to slim.service in /usr/lib/systemd/system and did the "systemctl disable slim && systemctl enable slim" dance.
I'm not sure whether René's "/etc/systemd/" approach is valid as well...
In any case, the following shutdown has been fast, so I guess the problem has been fixed for now.
Thanks, René!
- Edit:
A few shutdowns and reboots (on AC and battery) later, I can confirm that the long lag is (most probably) eliminated.
Thanks again!
Hey guys,
please note: https://bugs.archlinux.org/task/32380
That is, it's a known problem and the hack of simply sending it the TERM signal multiple times works to mitigate it. Also note though -- I arrived at this thread due to experiencing the reboot-hang once again, meaning that it's not a good solution even in a practical sense.
I'll try staring at the slim sources to see if anything stands out, so keep an eye on that bug-report... but it may be useful to just install the hack that's proposed at the above bug-report in the mean time:
Thanks. I'll try that. ArchLinux has been super stable before the switch to systemd. I guess that's the price for living on the bleeding edge.
]]>Did you try "systemctl [poweroff|reboot]" from terminal? See if you have the same delay shutdown
No, I haven't delay with these commands, but with these the Arch don't save the sticky notes datas.
]]>please note: https://bugs.archlinux.org/task/32380
That is, it's a known problem and the hack of simply sending it the TERM signal multiple times works to mitigate it. Also note though -- I arrived at this thread due to experiencing the reboot-hang once again, meaning that it's not a good solution even in a practical sense.
I'll try staring at the slim sources to see if anything stands out, so keep an eye on that bug-report... but it may be useful to just install the hack that's proposed at the above bug-report in the mean time:
]]>I have slim+xfce4+systemd and I haven't see a slow shutdown|reboot...
maybe you have other daemons pending to closed...
That happen to me with Debian a while a go with wicd...the systems waited until wicd dieded.
Try to list your services, with "systemctl -a", see if you find something that is not to meant run
systemctl --all
....
auditd.service error inactive dead auditd.service
laptop-mode.service error inactive dead laptop-mode.service
plymouth-quit-wait.service error inactive dead plymouth-quit-wait.service
plymouth-start.service error inactive dead plymouth-start.service
rc-local.service error inactive dead rc-local.service
syslog.service error inactive dead syslog.service
For these services I get error.
]]>less /var/log/slim.log
see first post
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
slim: pam_end(): System error
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
slim: unexpected signal 15
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
slim: waiting for X server to shut down
slim: waiting for X server to begin accepting connections.
slim: unexpected signal 15
maybe you have other daemons pending to closed...
That happen to me with Debian a while a go with wicd...the systems waited until wicd dieded.
Try to list your services, with "systemctl -a", see if you find something that is not to meant run
]]>10PinkPanther wrote:Hi!
I use xfce but with lxdm and speed is normal.Could it be a slim problem?
I do not know. Possible. How to can I see a log file to slim?
less /var/log/slim.log
see first post
]]>Hi!
I use xfce but with lxdm and speed is normal.Could it be a slim problem?
I do not know. Possible. How to can I see a log file to slim?
]]>I use xfce but with lxdm and speed is normal.Could it be a slim problem?
]]>do "systemctl disable slim"
then after restarting, start slim manually: systemctl start slim (don't enable it)
shut down.. profit.
I'm not sure what the cause is here. Possibly a race condition? My desktop is ridiculously slow compared to my laptop's ssd. My laptop literally boots up into slim in an instant, maybe that's why it's having a problem shutting down.
here is a temporary workaround:
edit /usr/lib/systemd/system/slim.service by adding "KillSignal=SIGKILL" right after the ExecStart command.
[Unit]
Description=SLiM Simple Login Manager
After=systemd-user-sessions.service
[Service]
ExecStart=/usr/bin/slim -nodaemon
KillSignal=SIGKILL
[Install]
Alias=display-manager.service