[Bug 1060184] [NEW] puppet client init script pid file error

Matthew Malkin 1060184 at bugs.launchpad.net
Tue Oct 2 13:09:52 UTC 2012


Public bug reported:

# lsb_release -rd

Description:    Ubuntu 12.04.1 LTS
Release:        12.04


# apt-cache policy puppet
puppet:
  Installed: 2.7.11-1ubuntu2.1
  Candidate: 2.7.11-1ubuntu2.1
  Version table:
 *** 2.7.11-1ubuntu2.1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.7.11-1ubuntu2 0
        500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages


It appears that when puppet is started it creates a pid file in /var/run/puppet/agent.pid but when you attempt to stop puppet it looks for the pid file in /var/run/puppet/puppet.pid doesn't find it and consequently doesn't stop puppet (despite returning ok). 

the error is then seen when you attempt to restart puppet as it won't
start because the pid file already exists.

changing variable in the pid file line of /etc/init.d/puppet to be
hardcoded /var/run/puppet/agent.pid solves the problem. This may however
not be the best solution.

Thanks

** Affects: puppet (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to puppet in Ubuntu.
https://bugs.launchpad.net/bugs/1060184

Title:
  puppet client init script pid file error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/1060184/+subscriptions



More information about the Ubuntu-server-bugs mailing list