[Bug 1899794] Re: Error during refresh of snapd leads to unusable system
I believe a problem addressing snap-failure and snapd has been fixed a couple of releases back. Should the problem persist, please leave a comment. ** Changed in: snapd (Ubuntu) Status: New => Fix Released ** Changed in: snapd Status: Triaged => 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/1899794 Title: Error during refresh of snapd leads to unusable system To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1899794/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1899794] Re: Error during refresh of snapd leads to unusable system
As discussed on IRC with jibel, there was a package update happening around from 07:01:25 to 07:03:53 on Oct 12. Looking at the logs, I suspect the following happened: - a reexeced snapd was running - snapd package update requested systemctl restart snapd.service - the snapd service hit a kill timeout (unclear why, there is a log that indicates a graceful shutdown did not happen after 25s, then systemd proceeds to kill the process, which exits due to SIGTERM) - snapd.failure.service kicks in, calls systemctl reset-failed on snapd.service - snapd.failure starts 'previous' snapd with SNAPD_REVERT_TO_REV, but that has no meaning, because on the last run, there was no update of snapd happening - package update calls systemctl start snapd - some time later (oct. 14 13:04:58) a refresh occurs in the process run from snap-failure, snapd exits, snapd.failure service finishes successfully - snapd service is restarted and operates for a while - reboot - snapd service attempts to refresh the snapd snap, but is confused by the state not matching actual situation in the system The problems we need to address is: - make sure that is only one instance of snapd running - investigate why snapd shutdown gets killed - make sure that snapd started by snap-failure acts correctly when there was no snapd update ** Also affects: snapd Importance: Undecided Status: New ** Changed in: snapd Importance: Undecided => High ** Changed in: snapd Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899794 Title: Error during refresh of snapd leads to unusable system To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1899794/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1899794] Re: Error during refresh of snapd leads to unusable system
** Attachment added: "snapd.log" https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1899794/+attachment/5422251/+files/snapd.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899794 Title: Error during refresh of snapd leads to unusable system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1899794/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1899794] Re: Error during refresh of snapd leads to unusable system
** Attachment added: "snapd.failure.service.log" https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1899794/+attachment/5422250/+files/snapd.failure.service.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1899794 Title: Error during refresh of snapd leads to unusable system To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1899794/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs