[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
This bug was fixed in the package systemd - 249.11-0ubuntu3.15 --- systemd (249.11-0ubuntu3.15) jammy; urgency=medium * d/systemd.prerm: call d-s-h update-state for resolved on upgrades (LP: #2078555) systemd (249.11-0ubuntu3.14) jammy; urgency=medium [ Ioanna Alifieraki ] * network: skip to reassign master ifindex if already set (LP: #2003250) [ Nick Rosbrook ] * network: do not bring down a bonding port interface when it is already joined (This is a follow-up commit required for LP: 2003250) * networkd-test: skip test_resolved_domain_restricted_dns (LP: #2009859) systemd (249.11-0ubuntu3.13) jammy; urgency=medium [ Lukas Märdian ] * Fixing GRE6 and VTI6 on newer kernels (LP: #2037667) [ Nick Rosbrook ] * debian/tests/tests-in-lxd: update workaround patch (LP: #2055200) [ Chengen Du ] * udev: Handle PTP device symlink properly on udev action 'change' (LP: #209) -- Nick Rosbrook Thu, 20 Feb 2025 08:24:02 -0500 ** Changed in: systemd (Ubuntu Jammy) 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/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
I have verified the fix using systemd from jammy-proposed. Since ubuntu- release-upgrader was already accepted, I did not need to make any changes to the upgrade step. First, I installed systemd from jammy-proposed: nr@six:~$ lxc launch ubuntu:jammy j Launching j nr@six:~$ lxc exec j bash root@j:~# cat > /etc/apt/sources.list.d/proposed.list << EOF deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main universe EOF root@j:~# cat
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Hello Paul, or anyone else affected, Accepted systemd into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/249.11-0ubuntu3.15 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-jammy. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: systemd (Ubuntu Jammy) Status: In Progress => Fix Committed ** Tags added: verification-needed-jammy -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Just a quick note that I got hit by this a week or two ago, months after moving from 22.04 to 24.04 and disabling sd-resolved by hand way back then. IOW, it apparently happens on 24.04.0 -> 24.04.1 as well. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
This bug was fixed in the package ubuntu-release-upgrader - 1:24.04.26 --- ubuntu-release-upgrader (1:24.04.26) noble; urgency=medium [ Erich Eickmeyer ] * DistUpgradeQuirks: install pipewire-audio on ubuntu studio upgrades, uninstalling pulseaudio and preventing install of pulseaudio:i386 (LP: #2078639) [ Nick Rosbrook ] * Run pre-build.sh: updating mirrors and translations. ubuntu-release-upgrader (1:24.04.25) noble; urgency=medium * DistUpgradeQuirks: skip sd-resolved quirk if it's not running (LP: #2078555) * Revert "DistUpgradeQuirks: install pipewire-audio on ubuntu studio upgrades" * Run pre-build.sh: updating mirrors and translations. ubuntu-release-upgrader (1:24.04.24) noble; urgency=medium [ Julian Andres Klode ] * Avoid breaking upgrade by treating cross-grades as replacements (LP: #2081864) [ Nick Rosbrook ] * DistUpgradeQuirks: install pipewire-audio on ubuntu studio upgrades (LP: #2078639) * Run pre-build.sh: updating mirrors and translations. -- Nick Rosbrook Fri, 31 Jan 2025 12:11:23 -0500 ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) 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/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
I have re-verified using 1:24.04.26 (although the new change was unrelated to this one): root@j:~# systemctl disable --now systemd-resolved Removed /etc/systemd/system/dbus-org.freedesktop.resolve1.service. Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.service. root@j:~# sed -i 's/nameserver.*/nameserver 1.1.1.1/g' /etc/resolv.conf root@j:~# apt update && apt install dnsmasq -y Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [14.1 MB] Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [2075 kB] Get:7 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [961 kB] Get:8 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [205 kB] Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [19.5 kB] Get:10 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [37.6 kB] Get:11 http://security.ubuntu.com/ubuntu jammy-security/multiverse Translation-en [8260 B] Get:12 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [224 B] Get:13 http://archive.ubuntu.com/ubuntu jammy/universe Translation-en [5652 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy/universe amd64 c-n-f Metadata [286 kB] Get:15 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [217 kB] Get:16 http://archive.ubuntu.com/ubuntu jammy/multiverse Translation-en [112 kB] Get:17 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 c-n-f Metadata [8372 B] Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [2313 kB] Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [386 kB] Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [515 kB] Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1184 kB] Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [290 kB] Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [26.4 kB] Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [44.5 kB] Get:25 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse Translation-en [11.5 kB] Get:26 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [440 B] Get:27 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [67.7 kB] Get:28 http://archive.ubuntu.com/ubuntu jammy-backports/main Translation-en [11.1 kB] Get:29 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 c-n-f Metadata [388 B] Get:30 http://archive.ubuntu.com/ubuntu jammy-backports/restricted amd64 c-n-f Metadata [116 B] Get:31 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [30.0 kB] Get:32 http://archive.ubuntu.com/ubuntu jammy-backports/universe Translation-en [16.6 kB] Get:33 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [672 B] Get:34 http://archive.ubuntu.com/ubuntu jammy-backports/multiverse amd64 c-n-f Metadata [116 B] Fetched 29.0 MB in 5s (5600 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: dns-root-data dnsmasq-base Suggested packages: resolvconf The following NEW packages will be installed: dns-root-data dnsmasq dnsmasq-base 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 399 kB of archives. After this operation, 1025 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dns-root-data all 2023112702~ubuntu0.22.04.1 [5136 B] Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dnsmasq-base amd64 2.90-0ubuntu0.22.04.1 [374 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 dnsmasq all 2.90-0ubuntu0.22.04.1 [19.7 kB] Fetched 399 kB in 1s (571 kB/s) Selecting previously unselected package dns-root-data. (Reading database ... 34046 files and directories currently installed.) Preparing to unpack .../dns-root-data_2023112702~ubuntu0.22.04.1_all.deb ... Unpacking dns-root-data (2023112702~ubuntu0.22.04.1) ... Selecting previously unselected package dnsmasq-base. Preparing to unpack .../dnsmasq-base_2.90-0ubuntu0.22.04.1_amd64.deb ... Unpacking dnsmasq-base (2.90-0ubuntu0.22.04.1) ... Selecting previously unselected package dnsmasq. Preparing to unpack .../dnsmasq_2.90-0ubuntu0.22.04.1_all.deb ... Unpacking dnsmasq
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Hello Paul, or anyone else affected, Accepted ubuntu-release-upgrader into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:24.04.26 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-noble. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Tags removed: verification-done-noble ** Tags added: verification-needed-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Marking verified for noble so that we can move ubuntu-release-upgrader along for 24.04.2, but we still need systemd in jammy before the bug is fully fixed. ** Tags removed: verification-needed-noble ** Tags added: verification-done-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
I verified the ubuntu-release-upgrader portion of this by testing an upgrade from jammy -> noble on a fresh LXD container: root@j:~# systemctl disable --now systemd-resolved Removed /etc/systemd/system/dbus-org.freedesktop.resolve1.service. Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.service. root@j:~# sed -i 's/nameserver.*/nameserver 1.1.1.1/g' /etc/resolv.conf root@j:~# apt install dnsmasq -y Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: dns-root-data dnsmasq-base Suggested packages: resolvconf The following NEW packages will be installed: dns-root-data dnsmasq dnsmasq-base 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 399 kB of archives. After this operation, 1025 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dns-root-data all 2023112702~ubuntu0.22.04.1 [5136 B] Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dnsmasq-base amd64 2.90-0ubuntu0.22.04.1 [374 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 dnsmasq all 2.90-0ubuntu0.22.04.1 [19.7 kB] Fetched 399 kB in 1s (509 kB/s) Selecting previously unselected package dns-root-data. (Reading database ... 34046 files and directories currently installed.) Preparing to unpack .../dns-root-data_2023112702~ubuntu0.22.04.1_all.deb ... Unpacking dns-root-data (2023112702~ubuntu0.22.04.1) ... Selecting previously unselected package dnsmasq-base. Preparing to unpack .../dnsmasq-base_2.90-0ubuntu0.22.04.1_amd64.deb ... Unpacking dnsmasq-base (2.90-0ubuntu0.22.04.1) ... Selecting previously unselected package dnsmasq. Preparing to unpack .../dnsmasq_2.90-0ubuntu0.22.04.1_all.deb ... Unpacking dnsmasq (2.90-0ubuntu0.22.04.1) ... Setting up dnsmasq-base (2.90-0ubuntu0.22.04.1) ... Setting up dns-root-data (2023112702~ubuntu0.22.04.1) ... Setting up dnsmasq (2.90-0ubuntu0.22.04.1) ... Created symlink /etc/systemd/system/multi-user.target.wants/dnsmasq.service → /lib/systemd/system/dnsmasq.service. Processing triggers for man-db (2.10.2-1) ... Processing triggers for dbus (1.12.20-2ubuntu4.1) ... Scanning processes... No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. root@j:~# systemctl status dnsmasq systemd-resolved ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2025-01-30 18:28:38 UTC; 15s ago Process: 1802 ExecStartPre=/etc/init.d/dnsmasq checkconfig (code=exited, status=0/SUCCESS) Process: 1810 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=0/SUCCESS) Process: 1819 ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf (code=exited, status=0/SUCCESS) Main PID: 1818 (dnsmasq) Tasks: 1 (limit: 18947) Memory: 612.0K CPU: 28ms CGroup: /system.slice/dnsmasq.service └─1818 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,20326,8,2,e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d Jan 30 18:28:38 j systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server... Jan 30 18:28:38 j dnsmasq[1818]: started, version 2.90 cachesize 150 Jan 30 18:28:38 j dnsmasq[1818]: DNS service limited to local subnets Jan 30 18:28:38 j dnsmasq[1818]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua TFTP conntrack ipset no-nftset auth cryptohash DNSSEC loop-detect inotify dumpfile Jan 30 18:28:38 j dnsmasq[1818]: reading /etc/resolv.conf Jan 30 18:28:38 j dnsmasq[1818]: using nameserver 1.1.1.1#53 Jan 30 18:28:38 j dnsmasq[1818]: read /etc/hosts - 8 names Jan 30 18:28:38 j systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server. ○ systemd-resolved.service - Network Name Resolution Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:systemd-resolved.service(8) man:org.freedesktop.resolve1(5) https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients Jan 30 17:01:45 j systemd[1]: Starting Network Name Resolution... Jan 30 17:01:45 j systemd-resolved[319]: Positive Trust Anchors: Jan 30 17:01:45 j systemd-resolved[319]: . IN DS 20326
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Hello Paul, or anyone else affected, Accepted ubuntu-release-upgrader into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:24.04.25 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-noble. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-noble -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Milestone: None => ubuntu-24.04.2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Status: Triaged => In Progress ** Changed in: systemd (Ubuntu Jammy) Status: Triaged => 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/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Description changed: + [Impact] + + During upgrades, systemd-resolved will be started and enabled, even if it was not previously. This is due to (a) the package split that made systemd-resolved its own package (during kinetic cycle, hence between jammy and noble), and (b) + an ubuntu-release-upgrader quirk that (re)starts systemd-resolved out of stub + mode during the upgrade to avoid DNS resolution failures during the upgrade. + + [Test Plan] + + The complete test plan requires the fixed version of systemd *and* + ubuntu-release-upgrader. + + On a Jammy machine, install systemd from jammy-proposed: + + $ cat > /etc/apt/sources.list.d/proposed.list << EOF + deb http://archive.ubuntu.com/ubuntu/ jammy-proposed main universe + EOF + $ cat
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
After investigating, I think the approach is to (1) update the deb- systemd-helper state of systemd-resolved.service in jammy's systemd.prerm, and (2) update the ubuntu-release-upgrader quirk as I stated above. Updating the tasks to reflect this, and will add SRU documentation. ** Also affects: dnsmasq (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: ubuntu-release-upgrader (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: Ubuntu Jammy Importance: Undecided Status: New ** Changed in: dnsmasq (Ubuntu Jammy) Status: New => Invalid ** Changed in: systemd (Ubuntu) Status: Triaged => Invalid ** Changed in: systemd (Ubuntu Jammy) Status: New => Triaged ** Changed in: systemd (Ubuntu Jammy) Importance: Undecided => Medium ** Changed in: systemd (Ubuntu Jammy) Assignee: (unassigned) => Nick Rosbrook (enr0n) ** Changed in: systemd (Ubuntu Noble) Status: Triaged => Won't Fix ** Changed in: ubuntu-release-upgrader (Ubuntu Jammy) Status: New => Invalid ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Triaged => Invalid ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Assignee: (unassigned) => Nick Rosbrook (enr0n) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Merge proposal linked: https://code.launchpad.net/~enr0n/ubuntu/+source/systemd/+git/systemd/+merge/479849 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Tags added: systemd-sru-next ** Also affects: dnsmasq (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: systemd (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: ubuntu-release-upgrader (Ubuntu Noble) Importance: Undecided Status: New ** Also affects: Ubuntu Noble Importance: Undecided Status: New ** Changed in: dnsmasq (Ubuntu Noble) Status: New => Invalid ** Changed in: systemd (Ubuntu Noble) Status: New => Triaged ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Status: New => Triaged ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Importance: Undecided => Medium ** Changed in: systemd (Ubuntu Noble) Importance: Undecided => Medium ** Changed in: systemd (Ubuntu) Importance: High => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Given #11 and #12, which I agree with, I conclude that this is not a bug in dnsmasq, so I'm marking its task as invalid. ** Changed in: dnsmasq (Ubuntu) Status: Triaged => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
IIUC the problem is the package split of sd-resolved, which was still part of the combined "systemd" binary package in Jammy. When people upgrade to Noble "systemd" gets unconfigured, dropping any cache/state about systemd-resolved.service, then the "systemd-resolved" binary package gets (force)installed either as a Recommends or by an update- manager quirk. But due to the lost state, debhelper will start & enable the systemd-resolved.service, even if it was masked or disabled before. Breaking people's custom setup. If this assumption is correct, the problem should not happen when upgrading from Noble to Oracular (or above) because state about systemd- resolved.service is handled properly when upgrading the "systemd- resolved" binary package... (to be confirmed), so would only affect Jammy->Noble upgrades. I looked into https://manpages.debian.org/testing/debhelper/dh_installsystemd.1.en.html and https://manpages.debian.org/testing/init-system-helpers/deb-systemd- helper.1p.en.html but feel like those cannot really do what we need here (considering the package-split edge case). So we might need some hand- crafted .postinst to restore systemd-resolved.service state in deb- systemd-helper. The auto-generated systemd-resolved (DEBIAN/postinst of the binary package), might be a good starting point. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
This is mostly a bug in the systemd/systemd-resolved postinst scripts due to the package split, but we also need to fix the ubuntu-release- upgrader quirk that disables the stub-resolver during upgrades from jammy -> noble. It needs a check that systemd-resolved is actually running, and otherwise it should be a no-op. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Tags added: foundations-todo ** Tags added: fr-9498 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
At this point, i fully expect for the systemd team to not lift a finger as usual and i'm going to run into this major bug again in a couple of years when upgrading to 26.04... :-( -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Running into this in server triage as well, Just checking in to see if someone is working on this bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Changed in: dnsmasq (Ubuntu) Status: Confirmed => Triaged ** Changed in: systemd (Ubuntu) Status: Confirmed => Triaged ** Changed in: dnsmasq (Ubuntu) Importance: Undecided => Medium ** Changed in: ubuntu-release-upgrader (Ubuntu) Importance: Undecided => Medium ** Changed in: ubuntu Status: Confirmed => Triaged ** Changed in: ubuntu Importance: Undecided => Medium ** Tags removed: rls-nn-incoming -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
I reproduced this issue by: 1. Starting a Jammy LXD container 2. Stop+disable systemd-resolved, install dnsmasq 3. Verify that dnsmasq is healthy 4. Upgraded to Noble 5. systemd-resolved is running again, dnsmasq is broken I started looking into this bug because it has a dnsmasq task (so it's part of the Ubuntu Server triage package set), but I believe the fix belongs to systemd. ** Changed in: systemd (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
"but this may be the right behavior, to install systemd-resolved" In my case, systemd-resolved was installed before the upgrade, but it was disables via command line. On updates and upgrades, i expect the package manager to respect the configuration choices that have been made previously. do-release-upgrade asked a gazillion other questions if it should keep a configuration or update it with the maintainers version. It *could* have asked "Hey, i'm upgrading a service that's disabled. Do you want to a) re-enable it, b) keep it disabled c) uninstall it completely". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
I'm running a different DNS solution, but i'm running into the same problem with systemd-resolved See bug 2078852 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (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/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: dnsmasq (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/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: 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/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
That command results in "No pending crash reports. Try --help for more information." What additional information would you like? systemd-resolved would have been version 255.4-1ubuntu8.4. dnsmasq is version 2.90-2build2 While systemd-resolved may be the new expected default, at least a warning on upgrade when another dns resolver is installed wouldn't go amiss. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
Tagging for discussion, but this may be the right behavior, to install systemd-resolved. Please run ubuntu-bug 2078555 to attach relevant information ** Tags added: rls-nn-incoming ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2078555] Re: Upgrading from 22.04 to 24.04.01 breaks dnsmasq
** Also affects: ubuntu-release-upgrader (Ubuntu) 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/2078555 Title: Upgrading from 22.04 to 24.04.01 breaks dnsmasq To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2078555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
