Package: puppet-common
Version: 2.6.2-4

Hello,
On a new installation (not a package upgrade) of the puppet-common package
from the squeeze repositories, this error is displayed:

Setting up puppet-common (2.6.2-4) ...
adduser: Warning: The home directory `/var/lib/puppet' does not belong to
the user you are currently creating.

This is because the 'puppet' user is created on the system in the postinst
script, thus the /var/lib/puppet directory is already copied by the
installer with root:root permissions:
$ ls -al /var/lib/ | grep puppet
drwxr-xr-x  4 root    root    4096 2011-01-13 12:02 puppet

A fix is to create a preinst script where the 'puppet' user and its home
(/var/lib/puppet) is created with the right permissions prior installing the
files from the package.
Thank you.
---
Dan

Reply via email to