With a brand new install of Gentoo using bash3, the following environment variables are set in the bash shell: MAIL=/home/username/ MAILCHECK=60 This causes a message like "you have mail in /home/username" to be displayed on the shell every minute or so with a new line. I'm not sure exactly where these variables are coming from as they weren't in any of my .bash* or .profile files, nor did I see them in /etc, but they should not be set like this. Reproducible: Always Steps to Reproduce: Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686) ================================================================= System uname: 2.6.10 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Jan 21 2005, 20:17:38)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r5 sys-devel/automake: 1.8.5-r1 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache digest distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa avi berkdb bindist bitmap-fonts cdr crypt cups dvd encode esd f77 fam font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 gtkhtml icq imap imlib ipv6 jpeg libg++ libwww mad maildir mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg msn ncurses nls oggvorbis opengl oscar oss pam pcmcia pda pdflib perl png python qt quicktime readline rtc samba sdl spell sqlite sse ssl svga tcpd tiff truetype truetype-fonts trusted type1-fonts usb videos wifi xml2 xmms xosd xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
What version of sys-apps/shadow do you have installed ?
sys-apps/shadow-4.0.5-r2
If you could please unmask sys-apps/shadow-4.0.5-r3 via /etc/portage/package.keywords on your system and update. It should be fixed in that version and that fix is part of bug #70101 IIRC. Marking as dup of #81421, as there is some more progress. *** This bug has been marked as a duplicate of 81421 ***