[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
** Changed in: needrestart (Ubuntu) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
ubuntu-release-upgrader (1:22.04.10) jammy; urgency=medium * DistUpgrade: Set NEEDRESTART_SUSPEND during upgrades (LP: #1968919). * do-release-upgrade: Fix a typo in the --help output. * Run pre-build.sh: updating mirrors, demotions, and translations. -- Nick Rosbrook Mon, 18 Apr 2022 13:47:54 -0400 ** Also affects: ubuntu-release-upgrader (Ubuntu) Importance: Undecided Status: New ** Changed in: ubuntu-release-upgrader (Ubuntu Jammy) Status: New => Fix Released ** Changed in: needrestart (Ubuntu Jammy) Status: New => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
** Merge proposal linked: https://code.launchpad.net/~enr0n/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/419627 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
A couple notes I think are worth adding: 1. One way to work around this is to set DEBIAN_FRONTEND=noninteractive when running do-release-upgrade. 2. do-release-upgrade has the option to run completely non- interactively. This means no y/N prompts etc. This is done by adding `-f DistUpgradeViewNonInteractive` to the do-release-upgrade command line. Anyways, I think we can set NEEDRESTART_MODE=a ('a' for automatic) by default, and maybe set DEBIAN_FRONTEND=noninteractive by default for DistUpgradeViewText. Currently, DistUpgradeViewText sets DEBIAN_FRONTEND=dialog by default, but reading the git history I'm not sure this is what was intended. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
I added a task for ubuntu-manual-tests, as I think this can be easily described as such a test until we have automation to cover it. ** Also affects: ubuntu-manual-tests Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-manual-tests/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
Just to record other instances of restart prompts that happen on a regular update. I haven't verified if they happen on do-release-upgrade, but if they do, I think it's the same case. - glibc update: there is a prompt about restarting services - docker update: it also prompts about letting it be restarted or not, because containers can/will die if docker is restarted. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
** Tags removed: rls-jj-incoming ** Also affects: needrestart (Ubuntu Jammy) Importance: Undecided Status: New ** Changed in: needrestart (Ubuntu Jammy) Milestone: None => ubuntu-22.04 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
** Tags added: fr-2254 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
** Description changed: Expected behaviour: no unnecessary prompts during do-release-upgrade Actual behaviour: needrestart prompts during do-release-upgrade Steps to reproduce: - lxc launch ubuntu:focal reproducer + lxc launch ubuntu:impish reproducer lxc exec reproducer bash apt-get update && apt-get -y upgrade # needrestart prompts, but that's expected do-release-upgrade -d # needrestart prompts in the middle of this, and that's unexpected do-release-upgrade recommends a system reboot after the upgrade is complete. So it's unnecessary to run needrestart and prompt the user for restarts while the upgrade is running. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1968919] Re: Spurious needrestart runs on do-release-upgrade
In my test I think I got prompted twice (I said no to restarts as they're unnecessary as I expect to reboot when it's done). The pain of this is that release upgrades usually take a while, so every prompt may mean hours delay in the entire upgrade process since the user might not come back for a while. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1968919 Title: Spurious needrestart runs on do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/1968919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs