Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332433 - enewuser failed | old coreutils and kernel on VPS (OpenVZ)
Summary: enewuser failed | old coreutils and kernel on VPS (OpenVZ)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 14:31 UTC by Alexey Skobkin
Modified: 2010-09-10 12:14 UTC (History)
1 user (show)

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 Alexey Skobkin 2010-08-12 14:31:48 UTC
root@vz5536:~# emerge --info
Portage 2.1.6.7 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-028stab056-aufs-teak21 i686)
=================================================================
System uname: Linux-2.6.18-028stab056-aufs-teak21-i686-Intel-R-_Xeon-R-_CPU_E5530_@_2.40GHz-with-glibc2.0
Timestamp of tree: Thu, 12 Aug 2010 00:00:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.6, 2.5.4-r3
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc:       4.1.2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion berkdb bzip2 cli cracklib crypt curl cvs cxx djvu dovecot-sasl dri exif fastcgi fontconfig fortran gd gdbm gif gpm iconv idn java jbig jpeg jpeg2k lua mailwrapper mbox modules mono mp3 mssql mudflap mysql ncurses nls nptl nptlonly openexr openmp pam pcre perl pg-intdatetime php png pop3d postgres pppd python raw readline reflection ruby sasl session spl sqlite sqlite3 ssl subversion suexec svg sysfs tcl tcpd tiff truetype unicode vim-syntax webdav x86 xinetd xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache charset_lite dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack vhost_alias" APACHE2_MPMS="peruser" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
---------------------------------------------------
coreutils-6.10-r1 and i can't update it because kernel is too old (touch bad address error while emerging any package)
---------------------------------------------------
When I'm emerging any package, portage shows an error:
>>> Emerging (1 of 1) media-sound/teamspeak-server-bin-3.0.0_beta25
 * teamspeak3-server_linux-x86-3.0.0-beta25.tar.gz RMD160 SHA1 SHA256 size ;-) ...         [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * Adding user 'teamspeak3' to your system ...
 *  - Userid: 102
 *  - Shell: /sbin/nologin
 *  - Home: /dev/null
 *  - Groups: (none)
Usage: useradd [options] LOGIN

Options:
  -b, --base-dir BASE_DIR       base directory for the new user account
                                home directory
  -c, --comment COMMENT         set the GECOS field for the new user account
  -d, --home-dir HOME_DIR       home directory for the new user account
  -D, --defaults                print or save modified default useradd
                                configuration
  -e, --expiredate EXPIRE_DATE  set account expiration date to EXPIRE_DATE
  -f, --inactive INACTIVE       set password inactive after expiration
                                to INACTIVE
  -g, --gid GROUP               force use GROUP for the new user account
  -G, --groups GROUPS           list of supplementary groups for the new
                                user account
  -h, --help                    display this help message and exit
  -k, --skel SKEL_DIR           specify an alternative skel directory
  -K, --key KEY=VALUE           overrides /etc/login.defs defaults
  -m, --create-home             create home directory for the new user
                                account
  -n, --user-group              create a new group with the same name as the
                                new user
  -o, --non-unique              allow create user with duplicate
                                (non-unique) UID
  -p, --password PASSWORD       use encrypted password for the new user
                                account
  -s, --shell SHELL             the login shell for the new user account
  -u, --uid UID                 force use the UID for the new user account

 *
 * ERROR: media-sound/teamspeak-server-bin-3.0.0_beta25 failed.
 * Call stack:
 *                                  ebuild.sh, line   49:  Called pkg_setup
 *   teamspeak-server-bin-3.0.0_beta25.ebuild, line   36:  Called enewuser 'teamspeak3'
 *                              eutils.eclass, line  725:  Called die
 * The specific snippet of code:
 *                              || 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/media-sound/teamspeak-server-bin-3.0.0_beta25/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/teamspeak-server-bin-3.0.0_beta25/temp/die.env'.
-------------------------------------------------------
How to fix this problem?

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2010-08-17 03:34:39 UTC
upgrade your coreutils to the stable version
Comment 2 Alexey Skobkin 2010-08-17 22:21:08 UTC
(In reply to comment #1)
> upgrade your coreutils to the stable version
> 

if i upgrade it, i got "Bad address" in touch util...
Comment 3 Bill Skellenger 2010-08-18 06:16:08 UTC
I don't think this is related to coreutils:

gwinn revdep-rebuild # equery belongs useradd
[ Searching for file(s) useradd in *... ]
sys-apps/shadow-4.1.4.2-r4 (/etc/default/useradd)
sys-apps/shadow-4.1.4.2-r4 (/usr/sbin/useradd)
sys-apps/shadow-4.1.4.2-r4 (/etc/pam.d/useradd)

Try to emerge shadow instead, then revdep-rebuild.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-09-10 07:08:09 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > upgrade your coreutils to the stable version
> 
> if i upgrade it, i got "Bad address" in touch util...

You need to upgrade your kernel. In case you need 2.6.18 features there is still 2.6.18.028.070.4 and you better use it due to security and other different issues. Yea, it'll take time to find correct .config to build it (better start with upstream's .config, reference on which is provided in elog message) but the kernel you use is too old and completely unmaintained.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2010-09-10 07:10:11 UTC
As it stands now this bug is currently invalid.
Comment 6 Alexey Skobkin 2010-09-10 09:43:41 UTC
> You need to upgrade your kernel. In case you need 2.6.18 features there is
> still 2.6.18.028.070.4 and you better use it due to security and other
> different issues. Yea, it'll take time to find correct .config to build it
> (better start with upstream's .config, reference on which is provided in elog
> message) but the kernel you use is too old and completely unmaintained.
> 
I can't. My VDS is OpenVZ-based.
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2010-09-10 10:45:20 UTC
(In reply to comment #6)
> I can't. My VDS is OpenVZ-based.

Then please report bug to those who provide you VDS. This is bug in openvz kernel (see bug 233280)...
Comment 8 Alexey Skobkin 2010-09-10 11:17:13 UTC
> Then please report bug to those who provide you VDS. This is bug in openvz
> kernel (see bug 233280)...

I already told them about it. They believe that support is provided only for their assembly, but not for the updated system.
Comment 9 Peter Volkov (RETIRED) gentoo-dev 2010-09-10 12:14:10 UTC
Such attitude is a good reason to change hosting providers :) Last time I've needed that it was not hard to find those who support Gentoo out of box. ;) But all of this is completely off-topic here.