Skip to content

unit_need_daemon_reload should be updated to check for unit files in higher-priority paths #4500

@keszybz

Description

@keszybz

If a unit is loaded from, e.g., /usr/lib, and a new version is added in /etc, unit_need_daemon_reload does not notice. No warning is emitted by systemctl status or systemctl cat.

We already call unit_find_dropin_paths to check for added and removed dropins, and we should the same for the main file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFE 🎁Request for Enhancement, i.e. a feature requestpid1systemctl

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions