[systemd-devel] Randomly on shutdown, stop timeout for user at .service (repeated report, different user)

Kok, Auke-jan H auke-jan.h.kok at intel.com
Fri Oct 4 11:57:44 PDT 2013


On Fri, Oct 4, 2013 at 9:37 AM, Toms Seisums <toms.seisums at gmail.com> wrote:
> [object Object]

Look at Gmail failing flat on its face... lol

Aside from that, can you perhaps try this patch:

--- systemd-user-sessions.service 2013-10-02 15:37:14.181330287 -0700
+++ systemd-user-sessions.service 2013-10-04 11:53:37.023333867 -0700
@@ -8,7 +8,7 @@
 [Unit]
 Description=Permit User Sessions
 Documentation=man:systemd-user-sessions.service(8)
-After=remote-fs.target
+After=remote-fs.target dbus.service

 [Service]
 Type=oneshot

some colleagues of mine identified that tasks in the user session that
attempt to contact the system bus during shutdown may hang doing so.
We can prevent this hang by making user sessions shut down entirely
first before dbus is destroyed.

It may or may not help. You can also insert After=dbus.service in to
user at .service, but I feel this is a better spot.


Thanks,

Auke


More information about the systemd-devel mailing list