Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-1455

puppetserver / puppetdb ship with empty pid file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SERVER 2.5.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Sub-team:
    • Story Points:
      1
    • Sprint:
      Server Emerald 2016-08-10
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      On a clean install on CentOS 6, if a user ran `service puppetserver status`, they would get an error message `puppetserver dead but pid file exists`. This was due to the fact that the packages were creating an empty pid file; after the fix, on a clean install, `service puppetserver status` should just return the usual/expected `not running` message.
      Show
      On a clean install on CentOS 6, if a user ran `service puppetserver status`, they would get an error message `puppetserver dead but pid file exists`. This was due to the fact that the packages were creating an empty pid file; after the fix, on a clean install, `service puppetserver status` should just return the usual/expected `not running` message.

      Description

      Reported by Roman Mueller in EZ-84:

      After installing puppetserver or puppetdb on CentOS 6 a pid file is automatically created although the service is not being started.

      Example:

      [root@centos6 vagrant]# yum -y install puppetserver
      (...)                                                                                                                                                            
       
      Complete!
      [root@centos6 vagrant]# service puppetserver status
      puppetserver dead but pid file exists
      [root@centos6 vagrant]# cat /var/run/puppetlabs/puppetserver/puppetserver 
       
      [root@centos6 vagrant]#
      

      The pid file should not get automatically created, only the folder containing it.
      Same is happening with puppetdb.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  chris Chris Price
                  Reporter:
                  geoff.nichols Geoff Nichols
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: