Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

linuxmuster-release-upgrade: fix networkd-wait-online typo, stop masking systemd-resolved wholesale

Aperta
#203 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
linux, shell, ubuntu

Direzione di ricerca

Inizia da sbin/linuxmuster-release-upgrade, in particolare dal blocco «disable obsolete services» intorno alle righe 163-169, e confrontalo con il commit f504317. Il lavoro è completato quando il servizio wait-online non viene modificato, systemd-resolved rimane abilitato con il drop-in no-stub.conf e solo isc-dhcp-server6 viene mascherato; la riparazione postinst prevista è un follow-up separato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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:

  1. 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).

  2. 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

Lingua principale
Python
Stelle
13
Fork
10
Merge medio
17m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmuster/linuxmuster-base7

Tutte le issue di linuxmuster/linuxmuster-base7

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.