Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not execute generator during daemon-reload (LP: #2090848) #529

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Dec 2, 2024

  1. generator: Do not re-execute during daemon-reload

    As intended when originally implemented the netplan generator.stamp
    is supposed to avoid re-generating all of the Netplan configuration
    during 'systemd daemon-reload'.
    
    The stamp has originally been placed in /run/systemd/generator/,
    which is nowadays cleaned during 'daemon-reload', leading to
    Netplan regenerating its configuration during each such call.
    
    Let's move the stamp file into /run/netplan/generator.stamp instead
    to avoid that. Triggering the Netplan generator only at reboot,
    or when called explicitly.
    
    Original intend: d2a45b3
    slyon committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    3e8a5d2 View commit details
    Browse the repository at this point in the history