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

Puppet's logdir permissions prevent puppetserver service start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.1.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      2
    • Sprint:
      Client 2015-04-01, Client 2015-04-15

      Description

      When a user runs puppet apply -e 'notice foo' immediately after installing puppet-agent and before installing puppetserver the permissions on /var/log/puppetlabs are silently changed from root:root 0755 to root:root 0750.

      This is a problem because once puppetserver is installed, it cannot start the service because it cannot traverse through /var/log/puppetlabs into /var/log/puppetlabs/puppetserver.

      Other information:

      :rundir is 0755 in defaults.rb which is why we don't see this here.

      We also don't see this in our testing because we don't run puppet in the space between installing puppet-agent and puppetserver.

      risk: medium
      probability: medium (only local logfile)
      severity: medium (error, with work-around)
      test layer: acceptance, (package creates file/sets permissions)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jeff Jeff McCune
              QA Contact:
              Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support