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

confine :exists => "/run/systemd/system" breaks chroot installation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.4.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-12-16, Client 2015-12-30
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      A puppet installation in a chroot environment on a RedHat osfamily might lack /run/systemd/system (e.g. if /run is not mounted yet) and so puppet wouldn't consider the systemd provider suitable. This restricts that check to Debian platforms to allow the use of puppet in such environments.
      Show
      A puppet installation in a chroot environment on a RedHat osfamily might lack /run/systemd/system (e.g. if /run is not mounted yet) and so puppet wouldn't consider the systemd provider suitable. This restricts that check to Debian platforms to allow the use of puppet in such environments.

      Description

      The line

      confine :exists => "/run/systemd/system" 
      

      was added with [1] but breaks running puppet within a chroot environment that doesn't have /run mounted. When puppet doesn't see this directory, it assumes systemd isn't there and ends up falling back to "chkconfig" for service enablement which is quite confusing

      [1] https://github.com/puppetlabs/puppet/commit/7fe61647f23650fc4c93cd6b54c654a20ff7c9f9

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                iwienand Ian Wienand
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support