[Pkg-puppet-devel] Bug#462551: puppetmaster: Improper ownership of /var/lib/puppet/state

Stuart Teasdale stu at drogna.org.uk
Fri Jan 25 16:29:10 UTC 2008


Package: puppetmaster
Version: 0.24.1-2
Severity: normal

When puppet is first run it creates /var/lib/puppet/state with owner
root:root. If puppetmaster has storeconfigs enabled, then the default
sqlite3 config is to write the database to this path, but as
puppetmaster runs as user puppet the file can't be written and the
puppetmasterd dies.

Precreating the file with the right ownership at puppet install time
should fix the problem.

Stu

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-5-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages puppetmaster depends on:
ii  facter                        1.3.8-1    a library for retrieving facts fro
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip
ii  puppet                        0.24.1-2   centralised configuration manageme
ii  ruby                          1.8.2-2    An interpreter of object-oriented 

Versions of packages puppetmaster recommends:
ii  rails                         2.0.2-1    MVC ruby based framework geared fo
ii  rdoc                          1.8.2-2    Generate documentation from ruby s

-- no debconf information





More information about the Pkg-puppet-devel mailing list