Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jun 2021 18:34:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 256489] net-mgmt/prometheus2: pw: user 'prometheus' disappeared during update
Message-ID:  <bug-256489-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256489

            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=20=
=20=20=20
[2/2] Fetching node_exporter-1.1.2.txz: 100%    3 MiB   3.3MB/s    00:01=20=
=20=20=20
Checking integrity... done (0 conflicting)
[1/2] Installing prometheus-2.25.2...
=3D=3D=3D> Creating groups.
Creating group 'prometheus' with gid '478'.
=3D=3D=3D> Creating users
Creating user 'prometheus' with uid '478'.
pw: user 'prometheus' disappeared during update
=3D=3D=3D> 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256489-7788>