Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-193

All Darwin Launchd jobs have improper labels (not using reverse-domain convention)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Information
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: puppet-agent 1.3.5
    • Fix Version/s: puppet-agent 5.y
    • Component/s: Init Scripts
    • Environment:

      All Darwin (10.9-10.11), all versions of puppet agent (1.2.x - 1.3.x)

    • Template:
    • Acceptance Criteria:
      Hide

      mac OS agent package has reverse prefix notation label for included pxp-agent service

      Show
      mac OS agent package has reverse prefix notation label for included pxp-agent service
    • Team:
      Platform OS
    • Story Points:
      3
    • CS Priority:
      Reviewed

      Description

      As the pre and postinstall scripts use launchctl, which assumes the 'proper' labels, this can cause errors where services would not be handled properly. The correct 'label' keys in the launchdaemons should use 'com.puppetlabs.pxp-agent', instead of 'pxp-agent', like they have now. I reported this in October to support.puppetlabs.com for Puppet Enterprise Zendesk #14422, supposedly an issue was filed internally, but no fixes have been made. For reference:
      https://developer.apple.com/library/prerelease/mac/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Allister Allister Banks
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support