[Bug 2090848] Re: generate runs on every daemon-reload

Lukas Märdian 2090848 at bugs.launchpad.net
Wed Feb 19 17:11:47 UTC 2025


We could proably get Netplan PR#529 landed when allowing the CAP_CHOWN
capability in NetworkManager.service (in Ubuntu only).


e.g. /usr/lib/systemd/system/NetworkManager.service

[Service]
...
CapabilityBoundingSet=CAP_NET_ADMIN CAP_DAC_OVERRIDE CAP_NET_RAW CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID CAP_SYS_MODULE CAP_AUDIT_WRITE CAP_KILL CAP_SYS_CHROOT CAP_CHOWN
...

** Also affects: network-manager (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/2090848

Title:
  generate runs on every daemon-reload

Status in netplan.io package in Ubuntu:
  In Progress
Status in network-manager package in Ubuntu:
  New

Bug description:
  The "generate" binary creates a "stamp" file in /run/systemd/generator
  which it intends to check later and, if it exists, prevent the
  regeneration of the configuration.

  At some point this trick stopped working as the files from this
  directory are being deleted by systemd. That means that the netplan
  generate binary will run on every daemon-reload and regenerate all the
  configuration.

  We should consider moving the stamp file to a place where it will
  persist until the next reboot, such as /run/netplan.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/2090848/+subscriptions




More information about the foundations-bugs mailing list