The options for vuserinfo say that the comment field should be displayed by
default. It is not. In addition the flag -a for "display all fields" actually
show no fields. The following patch will fix vuserinfo.c
195c195
< DisplayAll = 1;
---
> DisplayAll = 0;
232d231
< printf("comment:%s\n", mypw->pw_gecos);
Reproducible: Always
Steps to Reproduce:
1. vuserinfo test1@test.com
2. vuserinfo -a test1@test.com
3.
Actual Results:
For step 1 I got everthing minus the comment
For step 2 Nothing was returned
Expected Results:
Step 1 should have given the comment field. (It does when using -c)
Step 2 should have given all fields.
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.21_rc2-gss i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/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 apm arts avi crypt encode gif imlib jpeg kde libg++ mikmod motif
mpeg ncurses oggvorbis opengl pdflib png quicktime sdl spell svga xml2 xmms xv
zlib gdbm berkdb slang readline java gpm tcpd pam libwww ssl perl python -X -
gtk -gnome -alsa -nls -mmx -3dnow -truetype -cups -qt"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"