puppet-common: home directory `/var/lib/puppet' permissions issue

Bug #739447 reported by earthgecko
6
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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609896

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

Tags: debian puppet
Revision history for this message
earthgecko (gary-wilson-of-networks) wrote :

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

Changed in puppet:
importance: Unknown → Undecided
status: Unknown → New
status: New → Invalid
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi there,

Thank you for taking the time to report bugs and trying to make Ubuntu Server better.

Now, unfortunately I was unable to reproduce this in the latest Ubuntu development release(Natty) as well as in maverick.

root@natty2:~# ls -l /var/lib/ | grep puppet
drwxr-xr-x 3 puppet puppet 4096 2011-03-22 13:48 puppet

root@maverick1:~# ls -l /var/lib/ | grep puppet
drwxr-xr-x 3 puppet puppet 4096 2011-03-22 09:51 puppet

However, the message you are mentioning it is indeed displayed, but the postinst script handles these already and set's the ownership of the directory to the puppet user.

For this reason, I'm marking this bug report as Invalid.

Thank you!

Changed in puppet (Ubuntu):
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.