[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Martin Pitt
Would it be possible to make the bug private while you review it? Feel free to do that, or just send me the log via private mail. But indeed I'm mostly interested in the relation of when eth0/wifi is brought down during shutdown, and when media-test_mount.mount gets unmounted. The log excerpt

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
Yes, you are right, NetworkManager was stopped earlier, I had missed that. Connection is wired, wifi is disabled. I do use NM. Wasn't sure whether if I made it private you would be able to see it. Will send the log by PM. -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Martin Pitt
Indeed, thanks for the logs and your patience! Mar 13 16:19:26 tigger systemd[1]: Stopped Network Manager. Mar 13 16:19:28 tigger systemd[1]: Stopped target Remote File Systems. Mar 13 16:19:28 tigger systemd[1]: Stopping Remote File Systems. Mar 13 16:19:28 tigger systemd[1]: Unmounting

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
** Attachment added: syslog https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1431774/+attachment/4344047/+files/syslog -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Martin Pitt
/usr/share/doc/systemd/README.Debian explains how to debug shutdown hangs. I suspect it's hanging on the relevant .mount unit? Can you systemctl cat whatever.mount it in the debug shell and copy that into a file, and attach that here? Would also be nice to capture journalctl -b journal.txt in the

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
I enabled the debug shell via sudo systemctl start debug-shell and checked that I could get into it ok. When I then shutdown it went to the debug shell by itself but the keyboard was dead so I could not do anything. It shutdown after the delay. Before the shutdown, in the debug shell, I got

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
** Attachment added: systemctl show media-test_mount.mount (sanitised) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1431774/+attachment/4344325/+files/systemctl-show_sanitised.txt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Martin Pitt
Hm, you just did an attachment, but apparently removed it again? (Still had credentials in it, I figure :) ) ** Changed in: systemd (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
I have removed the syslog attachment as I had not sanitised it, let me know if it is needed. ** Attachment removed: syslog https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1431774/+attachment/4344047/+files/syslog -- You received this bug notification because you are a member of

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
Martin, yes, have re-attached the systemclt show results. Have also marked the previous bug which I thought was an error in an init script as a dup of this as I believe this is the fundamental problem. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Martin Pitt
Sorry, I meant systemctl show, not cat (the latter only works for non-virtual units). Thanks! (I'll reproduce this after my holidays, but I don't have a samba server at hand, so it'll take some setup and learning how to create one) -- You received this bug notification because you are a member

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
** Attachment added: systemctl show media-test_mount.mount https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1431774/+attachment/4344318/+files/systemctl-show.txt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
** Attachment removed: systemctl show media-test_mount.mount https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1431774/+attachment/4344318/+files/systemctl-show.txt -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu.

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Martin Pitt
sanitized is fine, I'm mostly interested in the dependencies. But they look fine: Before=umount.target remote-fs.target After=-.mount system.slice network-online.target network.target remote-fs-pre.target systemd-journald.socket i. e. it should shut this down before shutting down the network.

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
I have got the journal but there is a lot of potentially sensitive stuff there. Would it be possible to make the bug private while you review it? I think it is more subtle than the network going down early. -- You received this bug notification because you are a member of Ubuntu Touch seeded

[Touch-packages] [Bug 1431774] Re: Manual cifs mount leads to delay on shutdown

2015-03-13 Thread Colin Law
Alternatively this may be enough. Mar 13 16:19:26 tigger systemd[1]: Stopped ACPI event daemon. Mar 13 16:19:28 tigger mysql[2887]: ...done. Mar 13 16:19:28 tigger systemd-journal[256]: Forwarding to syslog missed 68 messages. Mar 13 16:19:28 tigger systemd[1]: Stopped LSB: Start and stop the