[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-04-25 Thread Mathew Hodson
** No longer affects: snapd (Ubuntu Bionic) ** No longer affects: snapd (Ubuntu Xenial) ** No longer affects: snapd (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu.

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-04-25 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 1.1ubuntu1.18.04.7~16.04.2 --- unattended-upgrades (1.1ubuntu1.18.04.7~16.04.2) xenial; urgency=medium * Don't check blacklist too early and report updates from not allowed origins as kept back. (LP: #1781176) *

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-04-13 Thread Mathew Hodson
@rbalint I removed the init-system-helpers task because it was marked as invalid. I think we should also remove snapd from this bug and open another one if there needs to be more work done. Otherwise, this bug will become confusing -- You received this bug notification because you are a member

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-04-12 Thread Balint Reczey
** Description changed: [Impact]  * Unattended-upgrades hangs and gets killed when installing upgrades that stat/stop services on shutdown, leaving the system in a broken state [Test Case]  * Install an updated bionic system:    $ lxc launch ubuntu:18.04 uu-shutdown-test  

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-04-11 Thread Balint Reczey
Verified 1.1ubuntu1.18.04.7~16.04.2 on Xenial: root@x-uu:~# dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:false method return time=1554982311.759518 sender=:1.1 -> destination=:1.7 serial=19 reply_serial=2

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-04-01 Thread Balint Reczey
@mathew-hodson Could you please add a comment why you think init-system- helpers is not affected? It could handle service operations better when systemd already queued the shutdown, but since it would not have solved the graceful shutdown of u-u i did not fix it yet. -- You received this bug

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-03-31 Thread Mathew Hodson
** No longer affects: init-system-helpers (Ubuntu) ** No longer affects: init-system-helpers (Ubuntu Xenial) ** No longer affects: init-system-helpers (Ubuntu Bionic) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-01-24 Thread Balint Reczey
@andre-jutisz From the log it looks like unattended-upgrades stops gracefully during shutdown and there are not broken packages upon next invocation. Do you have other logs that suggest otherwise? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages,

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2019-01-24 Thread André Jutisz
I am still affected by this bug (Bionic server installation with the latest updates - 24.01.2019) Attached: unattended-upgrades.log ** Attachment added: "unattended-upgrades.log"

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-12-28 Thread Mathew Hodson
** Changed in: unattended-upgrades (Ubuntu Cosmic) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1778219 Title:

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-12-28 Thread Mathew Hodson
** No longer affects: apt (Ubuntu) ** No longer affects: apt (Ubuntu Xenial) ** No longer affects: apt (Ubuntu Bionic) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1778219

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-12-13 Thread Balint Reczey
** Description changed: [Impact]  * Unattended-upgrades hangs and gets killed when installing upgrades that stat/stop services on shutdown, leaving the system in a broken state [Test Case]  * Install an updated bionic system:    $ lxc launch ubuntu:18.04 uu-shutdown-test  

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-12-03 Thread Brian Murray
Hello Cs-gon, or anyone else affected, Accepted unattended-upgrades into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /unattended-upgrades/1.1ubuntu1.18.04.7~16.04.0 in a few hours, and then in the -proposed repository. Please help us by

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-12-03 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 1.1ubuntu1.18.04.7 --- unattended-upgrades (1.1ubuntu1.18.04.7) bionic; urgency=medium * Trigger unattended-upgrade-shutdown actions with PrepareForShutdown() Performing upgrades in service's ExecStop did not work when the

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-12-03 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 1.5ubuntu3.18.10.0 --- unattended-upgrades (1.5ubuntu3.18.10.0) cosmic; urgency=medium * Revert to running unattended-upgrades.service in multi-user.target * Trigger unattended-upgrade-shutdown actions with

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-28 Thread Balint Reczey
Verified 1.1ubuntu1.18.04.7 on Bionic: ... root@uu-shutdown-test:~# service unattended-upgrades status ● unattended-upgrades.service - Unattended Upgrades Shutdown Loaded: loaded (/lib/systemd/system/unattended-upgrades.service; enabled; vendor preset: enabled) Active: active (running)

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-28 Thread Balint Reczey
Verified 1.5ubuntu3.18.10.0 on cosmic with installing apport, rather than snapd: ... root@uu-shutdown-test:~# echo 'Unattended-Upgrade::InstallOnShutdown "true";' > /etc/apt/apt.conf.d/51unattended-upgrades-on-shutdown root@uu-shutdown-test:~# echo 'Unattended-Upgrade::Allowed-Origins::

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-28 Thread Balint Reczey
** Description changed: [Impact] - * Unattended-upgrades hangs and gets killed when installing upgrades +  * Unattended-upgrades hangs and gets killed when installing upgrades that stat/stop services on shutdown, leaving the system in a broken state [Test Case] - * Install an

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-26 Thread Łukasz Zemczak
Hello Cs-gon, or anyone else affected, Accepted unattended-upgrades into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /unattended-upgrades/1.5ubuntu3.18.10.0 in a few hours, and then in the -proposed repository. Please help us by testing

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

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

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu.

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

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

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

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

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: init-system-helpers (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu.

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu.

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-14 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: init-system-helpers (Ubuntu Xenial) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu.

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-06 Thread Eric Desrochers
** Also affects: apt (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: unattended-upgrades (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: init-system-helpers (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects:

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-06 Thread Eric Desrochers
** Changed in: unattended-upgrades (Ubuntu Bionic) Assignee: Eric Desrochers (slashd) => (unassigned) ** Changed in: unattended-upgrades (Ubuntu Bionic) Assignee: (unassigned) => Balint Reczey (rbalint) -- You received this bug notification because you are a member of Ubuntu Touch

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-06 Thread Balint Reczey
@slashd (and all) the fix caused regressions elsewhere and it is being partially reverted and the issue is fixed in a different way. Please don't backport the current fix. The candidate for fixing the issue without the regressions introduced: https://github.com/mvo5/unattended-upgrades/pull/148

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-02 Thread Eric Desrochers
** Changed in: unattended-upgrades (Ubuntu Bionic) Status: Confirmed => In Progress ** Changed in: unattended-upgrades (Ubuntu Bionic) Importance: Undecided => Medium ** Changed in: unattended-upgrades (Ubuntu Bionic) Assignee: (unassigned) => Eric Desrochers (slashd) -- You

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-11-01 Thread Eric Desrochers
This affects Bionic reported on (LP: #1796376). It was only fixed for Cosmic. I have tested w/ a test package of 'u-u' and it fixes the problem so far, but I have asked impacted user to give it a try as well for double- confirmation. If it fixes the problem, I'll SRU it for Bionic. - Eric **

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-10-14 Thread Balint Reczey
@juliank nevermind, i'm adding the inhibition support to u-u, thus apt does not need patching. ** Changed in: apt (Ubuntu) Status: New => Won't Fix ** Changed in: apt (Ubuntu) Status: Won't Fix => Invalid -- You received this bug notification because you are a member of Ubuntu

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-10-14 Thread Balint Reczey
The hang can also occur when unattended-upgrades is started by apt's timer (u-u is modified to help hitting it at the right time): $ cat reproduce-apt-ran-uu.sh #!/bin/sh set -e apt update apt upgrade -y echo 'Unattended-Upgrade::Allowed-Origins:: "${distro_id}:${distro_codename}-updates";' >

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-10-14 Thread Balint Reczey
** Also affects: apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1778219 Title: unattended-upgrades hangs on shutdown,

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-10-12 Thread Balint Reczey
** Changed in: init-system-helpers (Ubuntu) Assignee: Balint Reczey (rbalint) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1778219 Title:

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-08-28 Thread Launchpad Bug Tracker
This bug was fixed in the package unattended-upgrades - 1.5ubuntu2 --- unattended-upgrades (1.5ubuntu2) cosmic; urgency=medium * Reopen Cache after commit() even when frontend locking is supported. This fixes build and operation with latest python-apt. -- Balint Reczey Tue,

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-07-25 Thread Balint Reczey
** Description changed: + [Impact] + + * Unattended-upgrades hangs and gets killed when installing upgrades + that stat/stop services on shutdown, leaving the system in a broken + state + + [Test Case] + + * Install an updated bionic system: +$ lxc launch ubuntu:18.04 uu-shutdown-test +

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-07-25 Thread Balint Reczey
The fix for LP: #1654600 in addition to making u-u keep /var mounted also made u-u perform the upgrades in ExecStop that causes hanging when an upgrade would start/stop services. ** Changed in: unattended-upgrades (Ubuntu) Importance: Undecided => High ** Changed in: snapd (Ubuntu)

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-07-25 Thread Balint Reczey
** Changed in: init-system-helpers (Ubuntu) Status: In Progress => Invalid ** Changed in: unattended-upgrades (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-07-20 Thread Balint Reczey
** Changed in: init-system-helpers (Ubuntu) Status: New => In Progress ** Changed in: init-system-helpers (Ubuntu) Assignee: (unassigned) => Balint Reczey (rbalint) ** Changed in: init-system-helpers (Ubuntu) Importance: Undecided => Critical ** Changed in: init-system-helpers

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-06-29 Thread Francis Ginther
** Tags added: id-5b3568d38c766fbe4a6b1710 -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1778219 Title: unattended-upgrades hangs on shutdown, leaves system

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-06-28 Thread Balint Reczey
An approximation of the packages that need to be fixed individually are listed here: https://lintian.debian.org/tags/maintainer-script-calls-systemctl.html -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-06-26 Thread Brian Murray
** Tags added: rls-cc-incoming -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unattended-upgrades in Ubuntu. https://bugs.launchpad.net/bugs/1778219 Title: unattended-upgrades hangs on shutdown, leaves system in a broken

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-06-22 Thread Balint Reczey
This is not a bug in unattended-upgrades, but u-u triggers the problem in many packages which are not able to install/upgrade during a system shutdown. Helper scripts in init-system-helpers must not start services when maintainer scripts are executed during shutdown and maintainer scripts must

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-06-22 Thread Balint Reczey
** Also affects: init-system-helpers (Ubuntu) Importance: Undecided Status: New ** Also affects: snapd (Ubuntu) Importance: Undecided Status: New ** Changed in: unattended-upgrades (Ubuntu) Status: New => Confirmed -- You received this bug notification because you

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-06-22 Thread Cs-gon
** Description changed: When using unattended-upgrades with "InstallOnShutdown" on Bionic, the package installation on various packages hangs until the systemd ShutdownTimeout (30min) is expired and systemd kills all processes and powers off/reboots the system. This leaves packages

[Touch-packages] [Bug 1778219] Re: unattended-upgrades hangs on shutdown, leaves system in a broken state

2018-06-22 Thread Cs-gon
apport information ** Tags added: apport-collected ** Description changed: When using unattended-upgrades with "InstallOnShutdown" on Bionic, the package installation on various packages hangs until the systemd ShutdownTimeout (30min) is expired and systemd kills all processes and