You are not logged in.

#1 2012-09-25 21:44:49

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

[SOLVED] Systemd shutdown/reboot takes too long.

Hello,

My systemd reboot and shutdown are taking way too long. It just stalls at the message "Stopping User Permit" and then suddenly after a long wait, it shuts down as fast as it should. When I reboot/shutdown using sudo shutdown -{r,h} now it does work as it should, so it's only when using systemctl.

I found an item in the Wiki which linked to this: http://freedesktop.org/wiki/Software/sy … Eventually

I tried that script but the output is something I can't do anything with. Perhaps you can?

https://gist.github.com/3784654

Thanks in advance!

Last edited by Unia (2012-09-26 11:51:54)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#2 2012-09-25 21:50:52

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Systemd shutdown/reboot takes too long.

This looks relevant:

systemd[1]: netcfg.service stopping timed out. Killing.
[  161.369075] systemd[1]: netcfg.service changed stop-sigterm -> failed
[  161.369423] systemd[1]: Job netcfg.service/stop finished, result=done
[  161.389914] systemd[1]: Unit netcfg.service entered failed state.

I seem to recall a thread here about netcfg and systemd; it should turn up in a search.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-09-25 22:03:28

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Systemd shutdown/reboot takes too long.

Thanks for that, I'll do a forum search tomorrow smile


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#4 2012-09-26 08:06:12

jouke
Member
Registered: 2009-10-14
Posts: 72

Re: [SOLVED] Systemd shutdown/reboot takes too long.

https://bbs.archlinux.org/viewtopic.php?id=148374
I'll push it this week, Lennart is not convinced it is systemd's fault:
https://bugs.freedesktop.org/show_bug.cgi?id=54041

Offline

#5 2012-09-26 11:38:06

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: [SOLVED] Systemd shutdown/reboot takes too long.

jouke wrote:

https://bbs.archlinux.org/viewtopic.php?id=148374
I'll push it this week, Lennart is not convinced it is systemd's fault:
https://bugs.freedesktop.org/show_bug.cgi?id=54041

Thanks! I didn't even have to search big_smile

For now I'll edit the netcfg.service file, but it's good to hear a fix is coming!

I'll edit this post in a bit, going to test if it really fixes it.

EDIT: Indeed, it works! I look forward to seeing the fix in the update smile

Thanks both.

Last edited by Unia (2012-09-26 11:51:43)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

Board footer

Powered by FluxBB