Subject: Re: postinstall fixes failed: gid sendmail uid
To: Pavel Cahyna <pavel.cahyna@st.mff.cuni.cz>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 11/19/2005 16:37:55
On Sat, Nov 19, 2005 at 02:25:49PM +0100, Pavel Cahyna wrote:
> Hello,
> 
> I am doing a binary upgrade from 1.6_STABLE to 3.0_BETA. I first upgraded
> the kernel, rebooted, extracted base.tgz to /. Now, I'm trying to run
> /usr/sbin/postinstall. Most checks were OK, but those mentioned in the
> subject didn't:
> 
> /usr/sbin/postinstall -s etc.tgz fix gid sendmail uid
> Source directory: /tmp/_postinstall.6154.0/etc.tgz
>  (extracted from: etc.tgz)
> Target directory: /
> gid fix:
>         Missing groups [NOT FIXED]: smmsp _pflogd authpf
> sendmail fix:
>         /usr/libexec/sendmail/sendmail binary has wrong owner/mode [NOT FIXED]
>         Version of /etc/mail/sendmail.cf is 9, should be 10 [NOT FIXED]
>         /etc/mail/submit.cf is missing [NOT FIXED]
> chown: smmsp: invalid group name
>         Client queue /var/spool/clientmqueue has wrong owner/mode [NOT FIXED]
> uid fix:
>         Missing users [NOT FIXED]: smmsp _pflogd
> postinstall fixes passed:
> postinstall fixes failed: gid sendmail uid
> 
> Please, why does this happen?

You need to add the requested users and groups to you /etc passwd and group
files (postinstall won't do this for you). Then postinstall will be able to
fix the sendmail permissions.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--