Just noticed 'who' will output a big list off users logged in, that actually are not. Discovered that opening a xterm will add two new uses to the list, but on closing the xterm will only remove one. $ equery list xorg-x11 Searching for package 'xorg-x11' in all categories among: * installed packages [I--] [ ~] x11-base/xorg-x11-6.7.0 (0) $ equery list utempter Searching for package 'utempter' in all categories among: * installed packages [I--] [ ~] sys-apps/utempter-0.5.3.2-r1 (0) $ equery list xterm Searching for package 'xterm' in all categories among: * installed packages [I--] [ ~] x11-terms/xterm-184 (0) $ emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5) ================================================================= System uname: 2.6.5 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.9 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.tiscali.nl/gentoo/ http://ftp.lug.ro/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X X509 aalib alsa avi berkdb chroot crypt cups dga encode expat foomaticdb gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 imap imlib java jpeg libg++ mad maildir matroska mbox md5sum mmx mng motif mozilla mpeg ncurses nls nptl objc oggvorbis opengl pam pdflib perl pic png ppds python quicktime readline ruby samba sdl skey slang speex ssl svga tcpd tetex truetype x86 xface xml2 xmms xv zlib"
Does this happen with utempter 0.5.5.4?
Yup, it does. $ equery list utempter Searching for package 'utempter' in all categories among: * installed packages [I--] [ ~] sys-apps/utempter-0.5.5.4 (0)
Adding base-system for some ideas, since they're in metadata.xml too.
I installed aterm for testing, but aterm doesn't even seem to cause a utmp/wtmp entry, so I experimented some more with xterm. This is with only one xterm open and one console (opening and closing a console gets counted the right way): $ w 01:17:57 up 1:00, 16 users, load average: 0,03, 0,22, 0,41 USER TTY LOGIN@ IDLE JCPU PCPU WHAT root vc/1 00:54 23:25 0.20s 0.20s -bash alexf :0 00:54 ?xdm? 1:03 0.40s gnome-session alexf pts/16 01:17 0.00s 0.20s 0.00s w alexf pts/16 01:17 0.00s 0.20s 0.00s w alexf@t-bird alexf $ who root vc/1 May 6 00:54 alexf :0 May 6 00:54 alexf pts/0 May 6 00:18 (:0.0) alexf pts/3 May 6 00:24 (:0.0) alexf pts/4 May 6 00:25 (:0.0) alexf pts/5 May 6 00:50 (:0.0) alexf pts/6 May 6 00:52 (:0.0) alexf pts/7 May 6 00:52 (:0.0) alexf pts/8 May 6 00:54 (:0.0) alexf pts/9 May 6 00:55 (:0.0) alexf pts/10 May 6 00:55 (:0.0) alexf pts/11 May 6 01:09 (:0.0) alexf pts/12 May 6 01:10 (:0.0) alexf pts/15 May 6 01:15 (:0.0) alexf pts/16 May 6 01:17 alexf pts/16 May 6 01:17 (:0.0) alexf@t-bird alexf $ who -d May 6 00:17 4833 id=rc term=0 exit=0 May 6 00:17 5705 id=l3 term=0 exit=0 May 6 00:54 8794 id=x term=0 exit=0 pts/0 May 6 00:18 6662 id=/0 term=0 exit=0 pts/3 May 6 00:25 6960 id=/3 term=0 exit=0 pts/4 May 6 00:54 6992 id=/4 term=0 exit=0 pts/5 May 6 00:52 7807 id=/5 term=0 exit=0 pts/6 May 6 00:52 8552 id=/6 term=0 exit=0 pts/7 May 6 00:52 8570 id=/7 term=0 exit=0 pts/8 May 6 00:54 9145 id=/8 term=0 exit=0 pts/9 May 6 00:55 9174 id=/9 term=0 exit=0 pts/10 May 6 01:08 9205 id=/10 term=0 exit=0 pts/11 May 6 01:09 9456 id=/11 term=0 exit=0 pts/12 May 6 01:14 9485 id=/12 term=0 exit=0 pts/15 May 6 01:17 11737 id=/15 term=0 exit=0
You'll probably need to set up aterm as a login terminal. I believe eterm is by default, as is xterm.
Well this bug isn't about aterm, but maybe you could still point me at howto setup aterm as a login term. And then we can get back to utempter. ;)
same problem here, and noticed it a few times in #gentoo... I've had up to 341 users 'on'.... xterm gains 2 users, drops 1.... not sure of the cause. don't use any other terms to test with.
Doesn't happen anymore with: [I--] [ ] sys-apps/utempter-0.5.5.4 (0) [I--] [ ~] x11-terms/xterm-191 (0) [I--] [ ~] x11-base/xorg-x11-6.7.0-r1 (0)
seems to have fixed itself -- closing
*** Bug 48586 has been marked as a duplicate of this bug. ***