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 1Stop 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@ec-marseille.fr /
-----------------------------------------------------------