Package: puppetmaster
Version: 0.23.2-11
Severity: grave
Justification: renders package unusable
When starting puppetmasterd for the first time (after creating a proper
site.pp), I'm getting this error message:
Restarting puppet configuration management tool master
server/usr/lib/ruby/1.8/puppet/util/pidlock.rb:33:in `initialize':
Permission denied - /var/run/puppetmasterd.pid (Errno::EACCES)
from /usr/lib/ruby/1.8/puppet/util/pidlock.rb:33:in `open'
from /usr/lib/ruby/1.8/puppet/util/pidlock.rb:33:in `lock'
from /usr/lib/ruby/1.8/puppet/daemon.rb:63:in `setpidfile'
from /usr/lib/ruby/1.8/puppet/util.rb:385:in `threadlock'
from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'
from /usr/lib/ruby/1.8/puppet/util.rb:384:in `threadlock'
from /usr/lib/ruby/1.8/puppet/daemon.rb:62:in `setpidfile'
from /usr/lib/ruby/1.8/puppet/daemon.rb:20:in `daemonize'
from /usr/sbin/puppetmasterd:292
The fix is simple, and should be part of the postinst (or simply in
debian/rules):
mkdir /var/run/puppet
chown puppet:puppet !$
puppet.conf should also point to /var/run/puppet instead of /var/run as
a rundir.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22-1-686
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Versions of packages puppetmaster depends on:
ii facter 1.3.5-1 a library for retrieving facts fro
ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip
ii puppet 0.23.2-11 centralised configuration manageme
ii ruby 1.8.2-1 An interpreter of object-oriented
Versions of packages puppetmaster recommends:
pn rails <none> (no description available)
ii rdoc 1.8.2-1 Generate documentation from ruby s
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]