Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198981 - dev-db/monetdb-5.2.0 dies on enewuser
Summary: dev-db/monetdb-5.2.0 dies on enewuser
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 22:44 UTC by matt
Modified: 2007-11-13 09:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matt 2007-11-12 22:44:22 UTC
Had the following error installing monetdb-5.2.0::

useradd: group monetdb exists - if you want to add this user to that group, use -g.
 * 
 * ERROR: dev-db/monetdb-5.2.0 failed.
 * Call stack:
 *              ebuild.sh, line 1717:  Called dyn_preinst
 *              ebuild.sh, line 1156:  Called pkg_preinst
 *   monetdb-5.2.0.ebuild, line   37:  Called enewuser 'monetdb'
 *          eutils.eclass, line  583:  Called die
 * The specific snippet of code:
 *                      useradd ${opts} ${euser} \
 *                              -c "added by portage for ${PN}" \
 *                              || die "enewuser failed"
 *  The die message:
 *   enewuser failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-db/monetdb-5.2.0/temp/build.log'.
 * 
!!! FAILED preinst: 1


Following the example of the mysql.eclass I changed enewuser to::
enewuser monetdb -1 -1 /dev/null monetdb || die "problem adding 'monetdb' user"
And install went through


Reproducible: Always

Steps to Reproduce:
1.Install monetdb
2.
3.

Actual Results:  
Fails creating user

Expected Results:  
Creates monetdb user
Comment 1 Fabian Groffen gentoo-dev 2007-11-13 09:33:37 UTC
I used
 enewuser monetdb -1 -1 -1 monetdb
now.

Apparently the default action enewuser on Linux does, is to create a group like the username.  Not sure why it worked for me.  Hopefully it is fixed now.

Thanks for the report!