ubuntu-noble: include upstream networkd-dispatcher NotifyAccess=all fix

Offen Anfängerfreundlich
#802 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
68/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
linux, ruby, ubuntu

Rechercherichtung

Finde zuerst heraus, wo systemd-Unit-Overrides oder Drop-ins für Ubuntu-Noble-Stemcells zusammengestellt werden, und prüfe anschließend die Konfiguration des networkd-dispatcher-Dienstes. Füge den angeforderten Override NotifyAccess=all unter /etc/systemd/system/networkd-dispatcher.service.d/ hinzu. Fertig ist die Aufgabe, wenn das generierte Noble-Stemcell das Drop-in enthält, die wiederkehrenden Benachrichtigungswarnungen aufhören und der Dienst aktiv bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Problem

On Ubuntu Noble stemcells, networkd-dispatcher logs recurring systemd
warnings on hosts with frequent interface changes, e.g. Diego cells:

networkd-dispatcher.service: Got notification message from PID <helper>,
but reception only permitted for main PID <main>

Environment

  • Stemcell: bosh-aws-xen-hvm-ubuntu-noble 1.647
  • Ubuntu: 24.04 LTS (noble)
  • networkd-dispatcher: 2.2.4-1 (NotifyAccess=main)

Upstream fix

Upstream added NotifyAccess=all to the service unit, but this is not
part of the latest tagged release (2.2.4):
https://gitlab.com/craftyguy/networkd-dispatcher/-/commit/4796368d88da516fafda321d8565ae8ccf465120

Validation

A systemd drop-in with NotifyAccess=all on a staging Diego cell:

  • stopped the warnings while interface changes continued
  • kept the service active
  • caused no failures in continuous platform tests

Request

Could the Noble stemcell ship this override, e.g. as a drop-in under
/etc/systemd/system/networkd-dispatcher.service.d/, until a fixed
package is available?

Vorherrschende Sprache
Ruby
Sterne
52
Forks
124
Ø Merge
1 T. 2 Std.
Gemergte PRs (30 T.)
23

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus cloudfoundry/bosh-linux-stemcell-builder

Alle Issues in cloudfoundry/bosh-linux-stemcell-builder

Ähnliche Issues

Weitere Issues zu Ruby

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.