[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-05-05 Thread Launchpad Bug Tracker
This bug was fixed in the package snapd - 2.54.3+20.04.1ubuntu0.3 --- snapd (2.54.3+20.04.1ubuntu0.3) focal; urgency=medium * Cherry-pick https://github.com/snapcore/snapd/pull/11680 and https://github.com/snapcore/snapd/pull/11287: - This fixes a bad interaction between

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-05-02 Thread Brian Murray
I also tested a distribution upgrade from Focal to Jammy with the canonical-livepatch snap installed and did not notice a 10 minute pause during the process. ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done verification-done-focal -- You received

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-05-02 Thread Brian Murray
I followed the test case as detailed in the bug description and did not observe a 10 minute wait during the dbus package upgrade. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162 Title: bad

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-27 Thread Michael Vogt
Fwiw, I tested this also for focal->jammy on my laptop (real machien) and it worked fine there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162 Title: bad interaction between snapd and

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-27 Thread Brian Murray
Hello Steve, or anyone else affected, Accepted snapd into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/snapd/2.54.3+20.04.1ubuntu0.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-27 Thread Jaromir Obr
@mrconorae: I've just checked that the upgrade is enabled: --- $ sudo do-release-upgrade -c Checking for a new Ubuntu release New release '22.04 LTS' available. Run 'do-release-upgrade' to upgrade to it. -- You received this bug notification because you are a member of

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-26 Thread Conor Eager
Now that a fix has been released for both affected versions, what's left before upgrades are enabled for 21.10→22.04? (new to Ubuntu and Launchpad, so feel free to point out the seemingly obvious) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-26 Thread Launchpad Bug Tracker
This bug was fixed in the package snapd - 2.54.3+21.10.1ubuntu0.3 --- snapd (2.54.3+21.10.1ubuntu0.3) impish; urgency=medium * Cherry-pick https://github.com/snapcore/snapd/pull/11680 and https://github.com/snapcore/snapd/pull/11287: - This fixes a bad interaction between

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-26 Thread Launchpad Bug Tracker
This bug was fixed in the package snapd - 2.55.3+22.04ubuntu1 --- snapd (2.55.3+22.04ubuntu1) jammy; urgency=medium * Cherry-pick https://github.com/snapcore/snapd/pull/11680 - This fixes a bad interaction between snapd and update-notifier during a release upgrade (LP:

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-25 Thread Michael Vogt
I ran the spread test in the snapd PR https://github.com/snapcore/snapd/pull/11702 against this change in 21.10 and 22.04 and the restart behavior is correct: if snapd is upgraded from a version that does not yet use "dh_systemd --restart- after-upgrade" still keep running. ** Tags removed:

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-25 Thread Łukasz Zemczak
** Changed in: snapd (Ubuntu) Status: Fix Released => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162 Title: bad interaction between snapd and update-notifier when snapd

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-22 Thread Andrew Robbins
ah whoops-please undo ** Changed in: snapd (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162 Title: bad interaction between snapd and

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Michael Vogt
It seems the above is not an issue on 21.10 at least. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162 Title: bad interaction between snapd and update-notifier when snapd package is being

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Michael Vogt
There is one thing I noticed - when transitioning from "dh_systemd_start" to "dh_systemd_start --restart-after-upgrade" at least on 16.04 snapd.service is stopped in the old prerm but when the new postinst runs it calls "systemctl restart snapd" but that only restarts a service if it was not

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Łukasz Zemczak
** Description changed: + [Impact] + + On a release upgrade from impish to jammy, dbus postinst hangs for 10 + minutes. + + [Test Case] + + Testing the fix itself: + + On a minimal impish system (created with autopkgtest-buildvm), install the snapd from -proposed and run: + $ sudo snap

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Brian Murray
** Changed in: snapd (Ubuntu Impish) Importance: Undecided => High ** Changed in: update-notifier (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Łukasz Zemczak
Hello Steve, or anyone else affected, Accepted snapd into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/snapd/2.54.3+21.10.1ubuntu0.3 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Łukasz Zemczak
Accepting the jammy version into -proposed for a 0-day SRU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162 Title: bad interaction between snapd and update-notifier when snapd package is

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Michael Vogt
I uploaded a version of snapd with the changes from https://github.com/snapcore/snapd/pull/11680 and https://github.com/snapcore/snapd/pull/11287 to the my ppa:mvo/tmp for impish too. On a minimal impish system (created with autopkgtest-buildvm) I ran: $ sudo apt-add-repository ppa:mvo/tmp $

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Michael Vogt
On a minimal impish system (created with autopkgtest-buildvm) I ran: $ sudo apt install --no-install--recommends snapd update-notifier $ sudo snap install canonical-livepatch $ sudo apt-add-repository ppa:mvo/tmp $ sudo sed -i 's/impish/jammy/' /etc/apt/sources.list $ sudo sed -i 's/impish/jammy/'

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Michael Vogt
On a minimal impish system (created with autopkgtest-buildvm) I ran: $ sudo apt install --no-install--recommends snapd update-notifier $ sudo snap install canonical-livepatch $ sudo sed -i 's/impish/jammy/' /etc/apt/sources.list $ sudo apt update $ sudo apt full-upgrade -y and with that I can

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-21 Thread Michael Vogt
I uploaded a cherry pick of Albertos branch with the current jammy snapd plus the fix to https://launchpad.net/~mvo/+archive/ubuntu/tmp/+packages and will test once it's build in there. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: update-notifier (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1969162

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-15 Thread Alberto Mardegan
Here's the PR: https://github.com/snapcore/snapd/pull/11680 And please forget what I wrote about our prerm script: that script is not stopping snapd, but only all the systemd service installed *by snap packages*, so it should be fine. -- You received this bug notification because you are a

[Bug 1969162] Re: bad interaction between snapd and update-notifier when snapd package is being upgraded

2022-04-15 Thread Alberto Mardegan
Hi Steve, thanks for reporting this, and for the hint on how to fix it. We currently have a shell script in our prerm script, which manually stops all our systemd units: https://github.com/snapcore/snapd/blob/master/packaging/ubuntu-16.04/snapd.prerm Do I correctly understand that your