[pkg-go] Bug#792498: prometheus.postinst: adduser: not found
Jakub Wilk
jwilk at debian.org
Wed Jul 15 12:43:56 UTC 2015
Package: prometheus
Version: 0.14.0+ds-1
Severity: serious
Justification: Policy §3.5
prometheus fails to install in a minimal environment (presumably because
of missing dependency on adduser):
| Setting up prometheus (0.14.0+ds-1) ...
| /var/lib/dpkg/info/prometheus.postinst: 27: /var/lib/dpkg/info/prometheus.postinst: adduser: not found
| chown: invalid user: 'prometheus:prometheus'
| chown: invalid user: 'prometheus:prometheus'
| chown: invalid spec: 'prometheus:'
| chown: invalid spec: 'prometheus:'
| chown: invalid spec: 'prometheus:'
| [....] Starting monitoring system and time series database: prometheusInvalid --user argument: 'prometheus' (unknown user prometheus)
| usage: daemon [options] [--] [cmd arg...]
| options:
|
| -h, --help - Print a help message then exit
| -V, --version - Print a version message then exit
| -v, --verbose[=level] - Set the verbosity level
| -d, --debug[=level] - Set the debugging level
|
| -C, --config=path - Specify the configuration file
| -N, --noconfig - Bypass the system configuration file
| -n, --name=name - Guarantee a single named instance
| -X, --command=cmd - Specify the client command as an option
| -P, --pidfiles=/dir - Override standard pidfile location
| -F, --pidfile=/path - Override standard pidfile name and location
|
| -u, --user=user[:group] - Run the client as user[:group]
| -R, --chroot=path - Run the client with path as root
| -D, --chdir=path - Run the client in directory path
| -m, --umask=umask - Run the client with the given umask
| -e, --env="var=val" - Set a client environment variable
| -i, --inherit - Inherit environment variables
| -U, --unsafe - Allow execution of unsafe executable
| -S, --safe - Deny execution of unsafe executable
| -c, --core - Allow core file generation
|
| -r, --respawn - Respawn the client when it terminates
| -a, --acceptable=# - Minimum acceptable client duration (seconds)
| -A, --attempts=# - Respawn # times on error before delay
| -L, --delay=# - Delay between spawn attempt bursts (seconds)
| -M, --limit=# - Maximum number of spawn attempt bursts
| --idiot - Idiot mode (trust root with the above)
|
| -f, --foreground - Run the client in the foreground
| -p, --pty[=noecho] - Allocate a pseudo terminal for the client
|
| -l, --errlog=spec - Send daemon's error output to syslog or file
| -b, --dbglog=spec - Send daemon's debug output to syslog or file
| -o, --output=spec - Send client's output to syslog or file
| -O, --stdout=spec - Send client's stdout to syslog or file
| -E, --stderr=spec - Send client's stderr to syslog or file
|
| --running - Check if a named daemon is running
| --restart - Restart a named daemon client
| --stop - Terminate a named daemon process
| Invalid --user argument: 'prometheus' (unknown user prometheus)
| usage: daemon [options] [--] [cmd arg...]
| options:
|
| -h, --help - Print a help message then exit
| -V, --version - Print a version message then exit
| -v, --verbose[=level] - Set the verbosity level
| -d, --debug[=level] - Set the debugging level
|
| -C, --config=path - Specify the configuration file
| -N, --noconfig - Bypass the system configuration file
| -n, --name=name - Guarantee a single named instance
| -X, --command=cmd - Specify the client command as an option
| -P, --pidfiles=/dir - Override standard pidfile location
| -F, --pidfile=/path - Override standard pidfile name and location
|
| -u, --user=user[:group] - Run the client as user[:group]
| -R, --chroot=path - Run the client with path as root
| -D, --chdir=path - Run the client in directory path
| -m, --umask=umask - Run the client with the given umask
| -e, --env="var=val" - Set a client environment variable
| -i, --inherit - Inherit environment variables
| -U, --unsafe - Allow execution of unsafe executable
| -S, --safe - Deny execution of unsafe executable
| -c, --core - Allow core file generation
|
| -r, --respawn - Respawn the client when it terminates
| -a, --acceptable=# - Minimum acceptable client duration (seconds)
| -A, --attempts=# - Respawn # times on error before delay
| -L, --delay=# - Delay between spawn attempt bursts (seconds)
| -M, --limit=# - Maximum number of spawn attempt bursts
| --idiot - Idiot mode (trust root with the above)
|
| -f, --foreground - Run the client in the foreground
| -p, --pty[=noecho] - Allocate a pseudo terminal for the client
|
| -l, --errlog=spec - Send daemon's error output to syslog or file
| -b, --dbglog=spec - Send daemon's debug output to syslog or file
| -o, --output=spec - Send client's output to syslog or file
| -O, --stdout=spec - Send client's stdout to syslog or file
| -E, --stderr=spec - Send client's stderr to syslog or file
|
| --running - Check if a named daemon is running
| --restart - Restart a named daemon client
| --stop - Terminate a named daemon process
| failed!
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages prometheus depends on:
ii daemon 0.6.4-1
ii libc6 2.19-19
ii libjs-bootstrap 3.3.5+dfsg-1
ii libjs-handlebars 2:0.20.1-5
ii libjs-jquery-hotkeys 0~20130707+git2d51e3a9+dfsg-2
ii libjs-rickshaw 1.5.1.dfsg-1
--
Jakub Wilk
More information about the Pkg-go-maintainers
mailing list