[Dovecot] wrong dovecot GID while upgrading
Geoffroy DESVERNAY
dgeo at ec-marseille.fr
Sun Feb 18 20:43:36 UTC 2007
Zbigniew Szalbot a écrit :
> Hello,
>
> I tried to upgrade dovecot from 1.0.rc7 to rc22 but I got this error at
> the end of the upgrade process:
>
> Dovecot has reserved the groupname 'dovecot' and gid '143':
> ERROR: groupname 'dovecot' already in use by gid '1003'
> Please resolve these issues and try again:
> Either remove the conflicting group or if you wish to continue using a
> legacy gr
> oup override DOVECOT_GID.
> *** Error code 1
>
> Stop in /usr/ports/mail/dovecot.
>
> So I went to /usr/ports/mail/dovecot and edited the Makefile to change the
> GID into:
>
> DOVECOT_UID?= 1003
> DOVECOT_GID?= 1003
> SCRIPT_ENV+= DOVECOT_UID=${DOVECOT_UID} \
> DOVECOT_GID=${DOVECOT_GID}
>
> I saved the makefile and ran portupgrade again but I got stopped by
> exactly the same error. I'd appreciate suggestions how to resolve this.
>
> Thank you!
>
I saw this, and I think it's a freebsd-port problem...
I solved this by changing dovecot's uid and gid to 143, I think the
startup script will fix permissions...
(except /var/run/dovecot/login/ssl-parameters.dat or
/var/lib/dovecot/ssl-parameters.dat, I don't remember...)
Otherwise it should work with:
# portupgrade -M"DOVECOT_UID=1003 DOVECOT_GID=1003" dovecot
HTH
--
___________________________________________________________
/ Geoffroy DESVERNAY | \
/\ `Service info` | Tel: (+33|0)4 91 05 45 24 /\
\/ Ecole Centrale de Marseille | Fax: (+33|0)4 91 05 45 98 \/
\ (ex-EGIM) | Mail: dgeo at ec-marseille.fr /
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4509 bytes
Desc: S/MIME Cryptographic Signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20070218/8e268f52/attachment.bin
More information about the dovecot
mailing list