I reinstalled my machine and switched from Debian to Ubuntu. It seems that it isn't affected with this "bug", shutdown is quick now. I still have two machines running Debian testing, so I am still able collect logs if you wish.
2014-11-09 14:57 GMT+01:00 István Kuklin <[email protected]>: > I have an rc.local file, but it contains only > exit 0 > line and some comments before it. > I tried to specify Before=umount.target, but nothing has changed, > apparently. > http://pastebin.com/XckqcvR2 > User number 5000 is a user with AFS home directory. > Now I'm considering to switch back to Ubuntu; maybe it hasn't got the bug > as I had no problem with Wheezy as well. > > > 2014-11-06 21:06 GMT+01:00 Benjamin Kaduk <[email protected]>: > >> Thanks for >> >> that. >> >> It looks like the builtin systemd umount.target is trying to unmount /afs >> before or in parallel with the openafs-client.service commands to unmount >> /afs, which is not the desired ordering. We should be able to specify >> Before=umount.target in openafs-client.service to get a different >> behavior. (I'm not confident enough in my understanding of systemd yet to >> claim that this should fix the issue.) >> >> If you want, you can copy /lib/systemd/system/openafs-client.service to >> /etc/systemd/system and make that change locally (the /etc version >> overrides the /lib version), but I will try to get this in a new upload as >> well. >> >> I'm still confused by the lines: >> nov 04 18:15:36 kingdom-play systemd[1]: [email protected] stop-sigterm >> timed out. Killing. >> nov 04 18:15:36 kingdom-play systemd[1]: Stopped User Manager for UID >> 5000. >> nov 04 18:15:36 kingdom-play systemd[1]: Unit [email protected] entered >> failed state. >> >> which account for more than a minute of the delay, but the larger portion >> of the delay seems attributable to the bits which are obviously >> AFS-related. >> >> I did find http://forums.fedoraforum.org/archive/index.php/t-298680.html >> , >> which seems to implicate an rc.local file. Do you have one in place? >> >> -Ben >> > >

