Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-9473

Systemd daemon-reload doesn't get triggered for removal of unit file

    XMLWordPrintable

Details

    • Bug
    • Status: Needs Information
    • Minor
    • Resolution: Unresolved
    • PUP 6.1.0
    • None
    • Types and Providers
    • Night's Watch
    • Needs Assessment
    • Needs Assessment

    Description

      Puppet Version: 6.1.0
      Puppet Server Version: 6.1.0
      OS Name/Version: CentOS 7

      Related to PUP-3483, if I tell puppet to ensure a unit file (i.e. /etc/systemd/system/foobar.service) is absent, and that unit file overrides another unit file (i.e. /usr/share/systemd/system/foobar.service), Puppet removes the override file but doesn't trigger a daemon reload, causing systemd to still use the old, removed unit file's config.

      Desired Behavior: Removing a file in any of the paths listed here should trigger a daemon-reload, just like modifying them

      Actual Behavior: No daemon-reload is triggered

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              virtualdxs Duncan X Simpson
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support