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 #
I ran into this same problem. Thankfully that fix is trivial. Hopefully this is rectified in the future soon.
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.
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