Skip to content

Drop systemd service disablement workaround #1440

@jlebon

Description

@jlebon

Ignition supports modifying service enablement by injecting preset files. However, disabling services hasn't worked because, until recently, systemd has been only using preset files to enable services and not disable them. As a result, we've added some code in Ignition to workaround this.

Now, systemd has made this behaviour configurable so that preset files are also used to disable systemd units, and Fedora rawhide has started to opt in. The eventual goal is to make it the default upstream.

As a result, we should be able to remove our workaround at some point. However, we need to be aware of other distributions where Ignition may rev faster than systemd. There may be also other non-Fedora-based distros which may not have opted in (but we could document that we expect them to opt in if upstream takes too long to change defaults).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions