Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21198 - nagios-plugins ebuild not creating user/group nagios
Summary: nagios-plugins ebuild not creating user/group nagios
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Dean Bailey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-18 13:58 UTC by Keith Edmunds
Modified: 2003-06-17 12:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Edmunds 2003-05-18 13:58:44 UTC
Doing an "emerge nagios" the build failed while trying to install nagios-plugins
because there was no nagios group or user.

Reproducible: Always
Steps to Reproduce:
1. Ensure no existing nagios user or group
2. emerge nagios-plugins
3.

Actual Results:  
Error because no nagios group and no nagios user

Expected Results:  
Created the nagios group and user. I created them manually, and the installation
went ahead just fine:

$ groupadd nagios
$ useradd -g nagios -s /bin/false -c "Nagois account" nagios
$ passwd -l nagios


zaphod root # emerge info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://build/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups gif jpeg kde gnome libg++ mmx mpeg ncurses
nls pdflib png quicktime sdl spell truetype xml2 xv zlib gdbm berkdb slang
readline arts tetex svga java postgres X gpm pam libwww ssl python esd imlib gtk
qt motif opengl cdr cjk bonobo dga doc dvd -encode evo gd gtk2 gtkhtml guile
imap jikes ldap libgda maildir -mikmod mozilla mysql oav odbc -oggvorbis pda
perl samba sasl scanner slp snmp sse tcltk -tcpd tiff usb xface -xmms"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

zaphod root #
Comment 1 FieldySnuts 2003-05-28 09:53:53 UTC
I ran into this same problem. Thankfully that fix is trivial.

Hopefully this is rectified in the future soon.
Comment 2 James Cloos 2003-06-09 10:06:29 UTC
were nagios-plugins to depend on nagios-core, it would work.

perhpaps all of the nagois compenents should depend on nagios-core.

in any case, emerge nagios should merge nagios-core before any of the other nagios  components.

but that said, nagios-core is trying to use uid 75 and gid 75; gid 75 is already taken on my box, and the error is ignored by the ebuild.
Comment 3 Dean Bailey 2003-06-17 12:31:27 UTC
At one point in time nagios-plugins was dependant on nagios-core, but there were complaints form NRPE and such users. As for the username/group bug, this is being resolved in nagios-plugins 1.3.0-r1 which I am submitting into portage in an hour