Steps to reproduce: 1) Get minimal CD and do standard installation following the handbook 2) Do emerge -av --update system at the chroot of LiveCD 3) It will fail at compiling HAL with error "PAM: Authentication failure" NOTE: Kernel 2.6.26-r3 installed on system Reproducible: ALWAYS emerge --info: Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686) ================================================================= System uname: 2.6.24-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Timestamp of tree: Thu, 04 Dec 2008 23:30:12 +0000 app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.first-world.info/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirror.mdfnet.se/mirror/gentoo http://ftp.ing.umu.se/linux/gentoo/ http://ftp.ds.karen.hj.se/gentoo/ http://ftp.udc.es/gentoo/ http://gentoo-euetib.upc.es/mirror/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ " LDFLAGS="-Wl,-O1" LINGUAS="es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aim alsa ao apache2 apm audiofile avahi bash-completion berkdb bzip2 cairo calendar canna cddb cdparanoia cdr cgi cjk cli cracklib crypt css cups curl curlwrappers dbus dga dri dts dv dvb dvd dvdr dvdread encode esd evo exif expat fbcon ffmpeg firefox flac fontconfig fortran freewnn ftp gd gdbm gif gimp glut gmp gnome gnome-keyring gphoto2 gpm gstreamer gtk gtkhtml hal hddtemp iconv icq idn imagemagick imap imlib ipod ipv6 isdnlog jabber javascript jbig jpeg jpeg2k lame latex libedit libnotify libwww lua lzo mad matroska midi mikmod mime mmap mmx mng modplug motif mp3 mpeg mplayer msn mudflap musepack mysql nas ncurses nls nptl nptlonly ocaml ogg openal openextr opengl openmp oscar pam pcre pdf perl php png portaudio posix ppds pppd pulseaudio python quicktime raw readline reflection rss ruby samba sasl sdl session sharedext simplexml sndfile snmp sockets speex spell spl sse sse2 ssl svg svga symlink sysfs syslog szip taglib tcl tcpd theora tiff tk tokenizer truetype unicode usb vcd vhosts videos vim-syntax vorbis wavpack win32codecs wmf x264 x86 xattr xcomposite xine xml xmlrpc xorg xosd xpm xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY The problem is this: Since I did the system update, emerge fails to compile any program that uses the PAM commands like useradd, groupadd, usermod, and so on. The problem is that they don't work also doing it by hand, the error message is just "PAM: Authentication failure" I rebooted and the problem is this: valhalla login: root Login incorrect valhalla login: (username) Login incorrect In can't even login at my computer. I recompiled shadow and PAM, but keeps on it. Sorry if i didn't a good report, but i'm not an expert. PAM version: 1.0.1 (stable) Shadow version: 4.0.18.2 (stable)
Have you etc-updated?
(In reply to comment #1) > Have you etc-updated? > Yes, just after the emerge crashed. There wash only 8 files, and no one realted with pam or shadow anyway.
Sorry, about that weird written comment. I meant, the was only 8 files, and I've updated them, but no one of them was related with pam or shadow
Can you elaborate a bit on "emerge crashed"? What was the filename of the stage tarball you used to install?
(In reply to comment #4) > Can you elaborate a bit on "emerge crashed"? What was the filename of the stage > tarball you used to install? > I used stage3-i686-2008.0.tar.bz2 from University of A Corunna mirror. When I said emerge crashed I meant when it was going to compile HAL (i think 0.5) The exact error was: (on the configure, before starting make) * Adding group 'haldaemon' to your system... * -Groupid: Next available groupadd: PAM Authentication failed
SOLVED Package sys-auth/pambase-20080318 was missing on the system. Emerge tried to build HAL before pambase. Solved using USE="-hal" emerge -av --deep pambase Recommendation for handbook: Tell users not to use a preconfigured make.conf before the first system update.