Re: [systemd-devel] hanging reboot

2017-03-30 Thread Sergei Franco
Hi! Thank you very much! It just shows that I was never patient enough to actually test it long enough to hit 30min timeout (after about 15 min I generally would reset the system). The JobTimeoutSec is a good candidate to be reduced to something like 5 min for our use case. Best regards.

Re: [systemd-devel] hanging reboot

2017-03-30 Thread Lennart Poettering
On Thu, 09.03.17 13:00, Sergei Franco (sergei.fra...@gmail.com) wrote: > Hello! > > Thank you very much for pointing out the "After" vs "Before", as in for > ExecStop to run Before filesytem is unmounted it must be configured as > After :). > This fixes the Ubuntu unattended upgrades unit that

Re: [systemd-devel] hanging reboot

2017-03-08 Thread Sergei Franco
Hello! Thank you very much for pointing out the "After" vs "Before", as in for ExecStop to run Before filesytem is unmounted it must be configured as After :). This fixes the Ubuntu unattended upgrades unit that prevents from hanging. What I would like to address for future problems like this is

Re: [systemd-devel] hanging reboot

2017-03-07 Thread Andrei Borzenkov
08.03.2017 03:05, Sergei Franco пишет: > Hello, > > I am revisiting the issue (since it has been completely ignored by systemd > people). Which issue? "hanging reboot" is too generic title, it can be anything. > The actual attempt at fixing this issue did not succeed. > > The official ubuntu

Re: [systemd-devel] hanging reboot

2017-03-07 Thread Uoti Urpala
On Wed, 2017-03-08 at 13:05 +1300, Sergei Franco wrote: > > The official ubuntu fix does not resolve the hang. > The problem is that the unattended-upgrades script relies on /var/run > being mounted, if the /var/ is a separate filesystem it gets > unmounted and thus hanging the script (where it

Re: [systemd-devel] hanging reboot

2017-03-07 Thread Sergei Franco
Hello, I am revisiting the issue (since it has been completely ignored by systemd people). The actual attempt at fixing this issue did not succeed. The official ubuntu fix does not resolve the hang. The problem is that the unattended-upgrades script relies on /var/run being mounted, if the /var/

Re: [systemd-devel] hanging reboot

2017-03-01 Thread Sergei Franco
Hello, I submitted similar question but it got stuck with moderators due to screen shot size. The actual bug report (on ubuntu side) is here: https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1661611 My main question is actually how to configure systemd to have global timeout