Description
Reported by a customer on the beta forum:
https://ask.linuxmuster.net/t/beta-test-linuxmuster-net-7-4/12176/212
sbin/linuxmuster-release-upgrade's "disable obsolete services" step
(lines ~163-169) had two problems:
-
networkd-wait-online.service isn't a real unit name on Ubuntu
26.04 - the actual unit is systemd-networkd-wait-online.service.
systemctl mask networkd-wait-online.service silently created a mask
for a phantom unit; the real
systemd-networkd-wait-online.service was never touched. Same class
of typo as systemd-resolvd vs systemd-resolved, already fixed once
before in f62a7db (Jan 2025).
-
Blanket-masking systemd-resolved and
systemd-networkd-wait-online.service deviates from Ubuntu's standard
service setup and risks breaking other units that still expect
network-online.target or systemd-resolved's NSS/D-Bus interface to
work.
The concrete symptom reported: systemd-resolved's DNS stub listener
binds 127.0.0.1:53 by default, conflicting with samba-ad-dc's own
internal DNS server trying to bind 0.0.0.0:53:
Failed to listen on 0.0.0.0:53 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
Fix
Fixed by f504317 (branch 7.3):
systemd-networkd-wait-online.service is no longer touched at all.
systemd-resolved stays enabled; only its DNS stub listener is
disabled via /etc/systemd/resolved.conf.d/no-stub.conf
(DNSStubListener=no) - the actual, narrower cause of the port
conflict. /etc/resolv.conf itself is unaffected either way, since
it's already backed up/restored around this whole block regardless of
what happens to systemd-resolved.
isc-dhcp-server6 keeps being masked (genuinely obsolete, unrelated to
this).
Follow-up
A separate, idempotent repair step for hosts that already completed the
upgrade under the old (masking) code is planned for the 7.4.20 release's
postinst script (unmask + re-enable + apply the same drop-in), so
already-upgraded systems self-heal on their next package update without
needing to re-run the whole release-upgrade script.
🤖 Generated with Claude Code
Description
Reported by a customer on the beta forum:
https://ask.linuxmuster.net/t/beta-test-linuxmuster-net-7-4/12176/212
sbin/linuxmuster-release-upgrade's "disable obsolete services" step(lines ~163-169) had two problems:
networkd-wait-online.serviceisn't a real unit name on Ubuntu26.04 - the actual unit is
systemd-networkd-wait-online.service.systemctl mask networkd-wait-online.servicesilently created a maskfor a phantom unit; the real
systemd-networkd-wait-online.servicewas never touched. Same classof typo as
systemd-resolvdvssystemd-resolved, already fixed oncebefore in f62a7db (Jan 2025).
Blanket-masking
systemd-resolvedandsystemd-networkd-wait-online.servicedeviates from Ubuntu's standardservice setup and risks breaking other units that still expect
network-online.targetor systemd-resolved's NSS/D-Bus interface towork.
The concrete symptom reported:
systemd-resolved's DNS stub listenerbinds
127.0.0.1:53by default, conflicting withsamba-ad-dc's owninternal DNS server trying to bind
0.0.0.0:53:Fix
Fixed by f504317 (branch
7.3):systemd-networkd-wait-online.serviceis no longer touched at all.systemd-resolvedstays enabled; only its DNS stub listener isdisabled via
/etc/systemd/resolved.conf.d/no-stub.conf(
DNSStubListener=no) - the actual, narrower cause of the portconflict.
/etc/resolv.confitself is unaffected either way, sinceit's already backed up/restored around this whole block regardless of
what happens to systemd-resolved.
isc-dhcp-server6keeps being masked (genuinely obsolete, unrelated tothis).
Follow-up
A separate, idempotent repair step for hosts that already completed the
upgrade under the old (masking) code is planned for the 7.4.20 release's
postinst script (unmask + re-enable + apply the same drop-in), so
already-upgraded systems self-heal on their next package update without
needing to re-run the whole release-upgrade script.
🤖 Generated with Claude Code