[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-07-30 Thread Launchpad Bug Tracker
This bug was fixed in the package needrestart - 3.6-7ubuntu4.1 --- needrestart (3.6-7ubuntu4.1) noble; urgency=medium * Prevent needrestart restarting itself (LP: #2067482) * d/p/ubuntu-mode.patch: Don't touch /run/reboot-required on kernel updates (LP: #2065863) * Ubuntu mo

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-07-19 Thread Simon Chopin
You are misinterpreting the output. The process that fails to load the .so is during the man-db stage, the needrestart process happens a bit later (after the install-info triggers have been run). Without mockuname needrestart wouldn't have detected a kernel upgrade in the first place. It's somethi

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-07-18 Thread Andreas Hasenack
Is the test valid, given mokuname wasn't loaded? Or am I misinterpreting the output? > ERROR: ld.so: object '/root/needrestart-3.6/mockuname.so' from LD_PRELOAD > cannot be preloaded (cannot > open shared object file): ignored. -- You received this bug notification because you are a member of

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-07-11 Thread Simon Chopin
Verified in a fresh VM: root@needrestart-motd:~/needrestart-3.6# dpkg -l needrestart | tail -n 1 ii needrestart3.6-7ubuntu4.1 all check which daemons need to be restarted after library upgrades root@needrestart-motd:~/needrestart-3.6# systemd-detect-virt kvm root@needrestart-motd:~/

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-07-04 Thread Ɓukasz Zemczak
Hello Robie, or anyone else affected, Accepted needrestart into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/needrestart/3.6-7ubuntu4.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See htt

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-06-17 Thread Simon Chopin
** Changed in: needrestart (Ubuntu Noble) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065863 Title: needrestart causes kernel upgrade messages in motd To manage

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-06-14 Thread Launchpad Bug Tracker
This bug was fixed in the package needrestart - 3.6-8ubuntu3 --- needrestart (3.6-8ubuntu3) oracular; urgency=medium * d/p/ubuntu-mode.patch: Don't touch /run/reboot-required on kernel updates (LP: #2065863) * Ubuntu mode: disable it if restart mode has been explicitly set

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-06-14 Thread Simon Chopin
** Description changed: + [Impact] + needrestart shouldn't be writing to /run/reboot-required for kernel updates, that should be reserved to update-manager + + [Test plan] + + We can use the mockuname thing from the autopkgtests to simulate a kernel + version mismatch: + + pull-lp-source needr

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-06-14 Thread Simon Chopin
** Description changed: [Impact] needrestart shouldn't be writing to /run/reboot-required for kernel updates, that should be reserved to update-manager [Test plan] We can use the mockuname thing from the autopkgtests to simulate a kernel version mismatch: + # in a fresh VM pu

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-06-14 Thread Simon Chopin
** Changed in: needrestart (Ubuntu Oracular) Status: New => 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/2065863 Title: needrestart causes kernel upgrade messages in motd To m

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-06-14 Thread Simon Chopin
** Also affects: needrestart (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: needrestart (Ubuntu Oracular) Importance: Critical Assignee: Simon Chopin (schopin) Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, w

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-05-28 Thread Simon Chopin
** Tags added: foundations-todo -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065863 Title: needrestart causes kernel upgrade messages in motd To manage notifications about this bug go to: https:/

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-05-28 Thread Simon Chopin
This is a new feature that I implemented based on what I had understood were your requirements: integrating needrestart with /run/reboot- required. Apparently, MOTD picks up whatever we write in that file. Shall I walk that part back and not write to that file in the case of kernel updates? I supp

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-05-16 Thread Steve Langasek
Simon, I don't know if this is a regression in noble, but for sure it shouldn't be needrestart telling us about kernel updates - we already have update-notifier for this which, crucially, is livepatch aware. -- You received this bug notification because you are a member of Ubuntu Bugs, which is s

[Bug 2065863] Re: needrestart causes kernel upgrade messages in motd

2024-05-16 Thread Robie Basak
Steve asked for this to be Critical and assigned to Simon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2065863 Title: needrestart causes kernel upgrade messages in motd To manage notifications ab