puppet-common: home directory `/var/lib/puppet' permissions issue
Bug #739447 reported by
earthgecko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
puppet |
Invalid
|
Undecided
|
Unassigned | ||
puppet (Debian) |
Fix Released
|
Unknown
|
|||
puppet (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: puppet
This bug was reported under Debian as well - http://
Installing puppet with apt-get (install on VM, not an upgrade).
Setting up puppet (0.24.8-2ubuntu4.1) ...
adduser: Warning: The home directory `/var/lib/puppet' does not belong to the user you are currently creating.
This is because the /var/lib/puppet directory has root:root permissions as per Debian it would appear, however the Debian report is for puppet-common version 2.6.2-4, so presumably this may be applicable to most current stable debian/unbuntu packages.
# ls -al /var/lib/ | grep puppet
drwxr-xr-x 5 root root 4096 2011-03-21 11:45 puppet
Changed in puppet: | |
importance: | Unknown → Undecided |
status: | Unknown → New |
status: | New → Invalid |
Changed in puppet (Debian): | |
status: | Unknown → New |
Changed in puppet (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
Workaround
sudo chown -R puppet:puppet /var/lib/puppet
# Seems like you must remove puppet as apt-get thinks it is installed properly
sudo apt-get remove puppet
sudo apt-get -y install puppet