[Bug 256489] net-mgmt/prometheus2: pw: user 'prometheus' disappeared during update

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Jun 2021 18:34:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256489

            Bug ID: 256489
           Summary: net-mgmt/prometheus2: pw: user 'prometheus'
                    disappeared during update
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: phryk-ports@wzff.de
                CC: dor.bsd@xm0.uk
                CC: dor.bsd@xm0.uk
             Flags: maintainer-feedback?(dor.bsd@xm0.uk)

When installing prometheus (and node_exporter) from quarterly pkg, this is what
I get:

Proceed with this action? [y/N]: y
[1/2] Fetching prometheus-2.25.2.txz: 100%   24 MiB  25.1MB/s    00:01    
[2/2] Fetching node_exporter-1.1.2.txz: 100%    3 MiB   3.3MB/s    00:01    
Checking integrity... done (0 conflicting)
[1/2] Installing prometheus-2.25.2...
===> Creating groups.
Creating group 'prometheus' with gid '478'.
===> Creating users
Creating user 'prometheus' with uid '478'.
pw: user 'prometheus' disappeared during update
===> Creating homedir(s)
install: unknown user prometheus
pkg: PRE-INSTALL script failed

I assume the port is missing a `pwd_mkdb /etc/master.passwd`
somewhere, because when I do that and retry, the package
installs without problem.

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