** 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.
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)
*
@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
** 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
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
@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
** 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
@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,
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"
** 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:
** 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
** 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
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
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
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
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)
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::
** 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
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
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.
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.
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.
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.
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.
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.
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.
** 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:
** 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
@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
** 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
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
**
@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
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";' >
** 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,
** 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:
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,
** 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
+
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)
** 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
** 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
** 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
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
** 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
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
** 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
** 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
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
47 matches
Mail list logo