Bug#378518: cyrus-common-2.2: warning about home directory on fresh install

Sven Mueller sven at incase.de
Tue Jul 18 14:08:12 UTC 2006


Package cyrus-common-2.2
Tags 378518 + pending
Severity minor

Ross Boylan wrote on 17/07/2006 05:40:
> On installing cyrus 2.2 for the first time on this system, I got this warning:
> -----------------------------------------------------------
> Setting up cyrus-common-2.2 (2.2.13-3) ...
> Creating/updating cyrus user account...
> adduser: Warning: that home directory does not belong to the user you are currently creating
> Adding user `cyrus' to group `sasl'...
> Done.
> -----------------------------------
> 
> /etc/passwd says cyrus has a home directory of /var/spool/cyrus:
> # ls -ld /var/spool/cyrus/
> drwxr-xr-x 4 cyrus mail 96 2006-07-16 20:32 /var/spool/cyrus/
> 
> I suspect this is a bogus warning.

Yes, it is a warning introduced by adduser somewhere between sarge and
(current) etch. The only way to remove this warning is to remove
/var/lib/cyrus from the cyrus-common-2.2 package and rely on adduser
and/or cyrus-makedirs to create the directory. I'm not really 100%
comfortable with that fix (especially since dpkg no longer knows the dir
to belong to the package), but I don't see any other choice if we want
to avoid that warning but still show adduser _errors_.

Regards,
Sven




More information about the Pkg-Cyrus-imapd-Debian-devel mailing list