Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121994

Summary: emerge system fails because it cannot find groupadd
Product: Gentoo Linux Reporter: Niels <nkalle>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED NEEDINFO    
Severity: normal CC: nkalle
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Niels 2006-02-07 08:19:40 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg digest distlocks notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/         ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/         http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/         http://ftp.easynet.nl/mirror/gentoo/         http://gentoo.oregonstate.edu/         http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X509 accounting acl acpi acpi4linux alsa apm async berkdb bitmap-fonts bzip2 cap caps cdb cgi chroot cnamefix crypt cscope ctype curl cyrus devmap eds emboss expat extensions fam fastcgi fortran gdbm gpm gstreamer idea imap inetd innodb ipalias ipv6 kerberos libwww lmtp maildir mailwrapper mbox memlimit mmap mmx mp3 nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nntp ntlm odbc ogg openssh pam parse-clocks pcap pcre pear-db perl php pic pie pnp prelude pwdb python readline regexp sasl serial skey socks5 sse ssl tcpd tcsim truetype-fonts type1-fonts unicode usb vda vhosts vorbis vpopmail xml xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Niels 2006-02-07 08:22:53 UTC
Sorry... seems I forgot to write down the Bugdescription:

emerge --emptytree system fails with the following:

>>> Test phase [not enabled]: net-www/apache-2.0.55-r1

>>> Install apache-2.0.55-r1 into /var/tmp/portage/apache-2.0.55-r1/image/ categ                                                                                                  ory net-www
 * Adding group 'apache' to your system ...
 *  - Groupid: 81
/usr/portage/eclass/eutils.eclass: line 735: groupadd: command not found

!!! ERROR: net-www/apache-2.0.55-r1 failed.
!!! Function enewgroup, Line 735, Exitcode 127
!!! enewgroup failed
!!! If you need support, post the topmost build error, NOT this status message.
 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-02-07 08:33:50 UTC
Uhm, some steps to reproduce the bug? Like, in which stage of install does this occur or whatever other relevant info.
Comment 3 Niels 2006-02-07 08:57:58 UTC
It is "always" reproducible and I have tested it on another System which is installing parrallel to the first one with the same USE-Flags, etc.

This error occurs at emerge --emptytree system right after bootstrapping the system.

I was able to fix this with adding apache manually to /etc/group and /etc/passwd.

I guess in this early stage of installing groupadd and useradd, etc is not available.

This is a stage1 install.