Everythings goes fine until the installation-part .. seems like there is some trouble because I already have a user named fax. -----BEGIN tail----- >>> Install mgetty-1.1.30 into /var/tmp/portage/mgetty-1.1.30/image/ category net-dialup * Adding user 'fax' to your system ... * - Userid: next available * - Shell: /bin/false * - Home: /dev/null * - Groups: (none) useradd: user fax exists !!! ERROR: net-dialup/mgetty-1.1.30 failed. !!! Function enewuser, Line 559, Exitcode 9 !!! enewuser failed -----END tail----- Reproducible: Didn't try Steps to Reproduce: Eventhough I havn't tried on another system, I suspect this would be the steps to reproduce the error: 1. Have an entry for a user named fax in /etc/passwd 2. net-dialup/mgetty-1.1.30 Actual Results: the installation stopped because of error with exitcode 9 (as seen in tail in Details) Expected Results: This is a tricky question, it might be the right thing to do. Let's say that there is an other user named fax that has nothing to do with this package. On the other hand, how will this be handled if one is upgrading mgetty? Then the right thing would be just to use the already existing user .. err .. hmm .. so how do we make computer logic make sure we won't use a userentry that has nothing to do with this package and still make it easy to upgrade the package? Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Pentium III (Katmai) GENTOO_MIRRORS="http://gentoo.linux.no/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /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="/usr/portage.local" USE="x86 crypt gif jpeg libg++ mmx ncurses nls pdflib png spell zlib gdbm berkdb slang readline tetex svga java postgres tcpd pam libwww ssl perl python esd imlib -3dnow -apm -arts -avi -encode gd -gnome -gpm -gtk imap innodb ipv6 -kde maildir -mikmod -motif -mpeg mysql oav -oggvorbis -opengl -oss -qt -quicktime samba -sdl snmp sse -truetype -X -xml2 -xmms -xv -cups" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
i had a similar trouble. apparently enewuser fax wants to create a new group fax, too. if the groups is there already, it fails, saying: use -g to add it in the existing fax group.
see bug #20490 for more info
sorry about my "arrogant" attitude, but except for beeing a bugreport on enewuser, I do not really see the relevance for bug #20490 :) - I have mktemp on my system..
I think first off we need to find out where some people are getting a fax user/group from prior to this package, and if it doesnt conflict I see no reason why enewuser cant be doing existing user checks. Also if this other phantom package thats installing the fax user cant share with mgetty, we need to identify it and perhaps set blocking? Im open for ideas, I dont have a fax user either, so unless its some beta baselayout or a different fax package, I dont know. Input greatly appreciated.
seems fixed.
Sorry, but this does NOT appear to be fixed. mgetty 1.1.30 install is still failing on my system. Reason may be, that HylaFax created the user "fax" already. The Ebuild should cope with that, but it doesn't. Can this be fixed? [...] >>> Install mgetty-1.1.30 into /var/tmp/portage/mgetty-1.1.30/image/ category net-dialup * Adding user 'fax' to your system ... * - Userid: next available * - Shell: /bin/false * - Home: /dev/null * - Groups: (none) useradd: user fax exists !!! ERROR: net-dialup/mgetty-1.1.30 failed. !!! Function enewuser, Line 588, Exitcode 9 !!! enewuser failed