[Pkg-puppet-devel] Bug#609896: puppet-common: home directory `/var/lib/puppet' permissions issue
Dan Gherman
thereallove at gmail.com
Thu Jan 13 17:11:51 UTC 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20110113/033ce684/attachment.htm>
More information about the Pkg-puppet-devel
mailing list