[Bug 217412] security/amavisd-new install script fails for existing custom user/group on reinstall

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 28 05:02:43 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217412

            Bug ID: 217412
           Summary: security/amavisd-new install script fails for existing
                    custom user/group on reinstall
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: flo at FreeBSD.org
          Reporter: rootrider at shellfront.org
             Flags: maintainer-feedback?(flo at FreeBSD.org)
          Assignee: flo at FreeBSD.org

I'm upgrading from 2.11.0,1 to 2.11.0_1,1, and the de/install script is failing
for pkg.

[1/2] Upgrading amavisd-new from 2.11.0,1 to 2.11.0_1,1...
===> Creating groups.
Creating group 'vscan' with gid '110'.
pw: gid `110' has already been allocated
===> Creating users
Creating user 'vscan' with uid '110'.
pw: uid `110' has already been allocated
install: unknown group vscan
pkg: PRE-INSTALL script failed


# cat /etc/group | grep 110
amavis:*:110:
# cat /etc/passwd | grep 110  
amavis:*:110:110:Scanning Virus Account:/var/amavis:/usr/sbin/nologin

As you can see, I have a custom user and group name for amavisd. This upgrade
has worked well up until now. I'm a little confused because I'm not seeing
anything in the latest port commits that would affect this.

The upgrade with pkg went fine if I used -I to skip the install script.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list