Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#42512 - [systemd] Stop Job is running for User Manager (patch included)

Attached to Project: Arch Linux
Opened by Chris Bell (addchild314) - Thursday, 23 October 2014, 15:36 GMT
Last edited by Dave Reisner (falconindy) - Friday, 24 October 2014, 13:16 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Thomas Bächler (brain0)
Dave Reisner (falconindy)
Tom Gundersen (tomegun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: In certain circumstances, during shutdown, systemd will initiate a 90-second delay because it has detected that the systemd user service hasn't shut down correctly. This is signified by a message during shutdown that reads 'A Stop Job is running for User Manager for <UID>'.

A possible cause for this bug has been identified at: http://thread.gmane.org/gmane.comp.sysutils.systemd.devel/16363

The FreeDesktop bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70593

A temporary patch has been developed by the Fedora project: http://pkgs.fedoraproject.org/cgit/systemd.git/tree/0266-Temporary-work-around-for-slow-shutdown-due-to-unter.patch?h=f20

Additional info:
* systemd version 216 (current)


Steps to reproduce:
* The exact circumstances are somewhat unclear. It seems to happen more frequently when a shutdown is occuring while a user is logged in. However, it may happen when a shutdown is initiated and nobody is logged in. When it happens, an uninterruptable 90-second hold is executed.
* It seems to be most prevalent when using text mode/getty for primary login, rather than a desktop manager.

I request that this patch be evaluated for possible inclusion with our systemd package.
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 24 October 2014, 13:16 GMT
Reason for closing:  Upstream
Additional comments about closing:  Once upstream has a proper fix in place, Arch will get it.
Comment by Chris Bell (addchild314) - Thursday, 23 October 2014, 17:44 GMT
It just occured to me that this patch will need to be slightly modified from the (provided) Fedora patch. We currently use KillMode, and do not use Environment. The patch needs to remove KillMode and shouldn't have the environment line. A modified patch is attached, which corresponds to the current systemd git files.
Comment by Dave Reisner (falconindy) - Thursday, 23 October 2014, 17:59 GMT
Please work this out with upstream (since it's clearly not resolved). I'm not interested in carrying distro-local patches against systemd.

Loading...