You are not logged in.

#1 2013-04-28 07:41:00

ron9
Member
From: Norway
Registered: 2011-02-02
Posts: 119

systemd --user shutdown takes long time

Hello

In the recent past, I have problems with systemd --user hanging on poweroff / reboot.

-- Reboot --
april 28 10:30:24 dellxps systemd[1]: Stopping User Manager for ronny...
april 28 10:31:54 dellxps systemd[1]: user-session@ronny.service stopping timed out. Killing.
april 28 10:31:54 dellxps systemd[1]: Stopped User Manager for ronny.
april 28 10:31:54 dellxps systemd[1]: MESSAGE=Unit user-session@ronny.service entered failed state.

Any thoughts?


< huawei matebook 14 | archlinux | labwc | alacritty | pcman | falkon | zen-browser >

Offline

#2 2013-04-28 16:57:17

mangatmodi
Member
Registered: 2012-11-16
Posts: 18

Re: systemd --user shutdown takes long time

Just a lead, I am a newbie with some limited knowledge.

As I can see It is hanging at killing the user-session for user ronny, Try making a new user and work with it. If it works then it means that there is some background application running from user ronny which is unresponsive to kill. Just a guess

Offline

#3 2013-04-28 18:59:31

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: systemd --user shutdown takes long time

I also got this problem with a recent update, here is a lazy workaround:

# /etc/systemd/system/user-session@<user>.service.d/timeout.conf
[Service]
TimeoutStopSec=2

Offline

#4 2013-04-30 20:41:07

ron9
Member
From: Norway
Registered: 2011-02-02
Posts: 119

Re: systemd --user shutdown takes long time

@mangatmodi: Thank you for your suggestions.

@65kid: Thank you! I will use your workaround and wait for user-session to be updated or preferably completed.

Last edited by ron9 (2013-04-30 21:09:16)


< huawei matebook 14 | archlinux | labwc | alacritty | pcman | falkon | zen-browser >

Offline

Board footer

Powered by FluxBB