Subject: building mailman via pkg_comp
To: None <>
From: Steven M. Bellovin <>
List: pkgsrc-users
Date: 10/16/2007 00:23:34
When I build mailman via 'pkg_comp auto', I get the following message:

Traceback (most recent call last):
  File "/usr/pkg/lib/mailman/bin/check_perms", line 50, in ?
    MAILMAN_GID = grp.getgrnam(MAILMAN_GROUP)[2]
KeyError: 'getgrnam(): name not found: '

followed by 11 errors and 2180 warnings about group-writable files.  I
assume it's because the desired group entry can't be created.  It does
exist in the build system's real root.  I have


in /etc/mk.conf; I assume that that's being carried through to the
chroot environment because I have


set in my pkg_comp .conf file.

How can I fix this?

		--Steve Bellovin,