On 2012-03-04 17:20, Michael Meskes wrote:
>> I'm talking about the package that is responsible for that file and
>> needs to clean this up on remove/purge.
> 
> Well the directory is the home directory of the user created in bucardo's
> postinst. Removing that directory would leave a broken user account. I'm not
> sure but I doubt policy mandates deleting users. If it does please point me to
> the right place.

There is discussion about handling system users
(http://bugs.debian.org/621833) and consensus seems to be to keep system
users on package remove/purge to avoid reuse of the uid, but lock them
(yet unspecified how to do this). Removing the home directory should not
be a problem.

Shipping /var/lib/bucardo as empty directory in the package would dpkg
have clean this up on remove/purge.
A chmod/chown after the adduser call in postinst may be necessary.

Andreas



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to