Subject: Re: postinstall fixes failed: gid sendmail uid
To: Pavel Cahyna <>
From: Manuel Bouyer <>
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/ is 9, should be 10 [NOT FIXED]
>         /etc/mail/ 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 <>
     NetBSD: 26 ans d'experience feront toujours la difference