Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217557 - sys-apps/coreutils-6.10 fails tests mkdir/p-3 touch/not-owner touch/fail-diag when FEATURES=userpriv
Summary: sys-apps/coreutils-6.10 fails tests mkdir/p-3 touch/not-owner touch/fail-diag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-13 21:33 UTC by Carsten Lohrke (RETIRED)
Modified: 2009-03-12 13:15 UTC (History)
3 users (show)

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


Attachments
testsuite.log (testsuite.log,536 bytes, text/plain)
2008-04-13 21:34 UTC, Carsten Lohrke (RETIRED)
Details
p-3.log (p-3.log,157 bytes, text/plain)
2008-04-13 21:34 UTC, Carsten Lohrke (RETIRED)
Details
test-suite.log (test-suite.log,691 bytes, text/plain)
2008-04-13 22:18 UTC, Carsten Lohrke (RETIRED)
Details
basic-1 install test failure log (basic-1.log,175 bytes, text/plain)
2008-04-14 10:14 UTC, Paolo Pedroni
Details
p-3 mkdir test failure log (p-3.log,157 bytes, text/plain)
2008-04-14 10:15 UTC, Paolo Pedroni
Details
not-owner touch test failure log (not-owner.log,163 bytes, text/plain)
2008-04-14 10:16 UTC, Paolo Pedroni
Details
fail-dog touch test install failure log (fail-diag.log,291 bytes, text/plain)
2008-04-14 10:19 UTC, Paolo Pedroni
Details
strace log of 'touch /' (strace.log,3.70 KB, text/plain)
2008-04-16 09:38 UTC, Benno Schulenberg
Details
strace log of 'touch /' as user (strace.log,9.95 KB, text/plain)
2008-04-16 15:40 UTC, Paolo Pedroni
Details
strace log of 'touch /' as nonroot (strace-nonroot.log,5.63 KB, text/plain)
2008-04-16 17:29 UTC, Benno Schulenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2008-04-13 21:33:21 UTC
4866-make[4]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.10-r1/work/coreutils-6.10/tests/mkdir'
4867-PASS: p-1.log
4868-PASS: p-2.log
4869-FAIL: p-3.log


5075-make[4]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.10-r1/work/coreutils-6.10/tests/touch'
5076-SKIP: now-owned-by-other.log
5077-PASS: read-only.log
5078-PASS: relative.log
5079-FAIL: not-owner.log
5080-PASS: no-create-missing.log
5081-FAIL: fail-diag.log
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-13 21:34:06 UTC
Created attachment 149615 [details]
testsuite.log
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-13 21:34:25 UTC
Created attachment 149617 [details]
p-3.log
Comment 3 SpanKY gentoo-dev 2008-04-13 22:02:51 UTC
where is your `emerge --info` and the other fail logs ?
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-13 22:14:29 UTC
Nothing else failed, so further logs are pointless.

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 i686)
=================================================================
System uname: 2.6.24-gentoo-r4 i686 AMD Athlon(tm) 64 Processor 3500+
Timestamp of tree: Sun, 13 Apr 2008 12:47:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -mfpmath=sse -msse3 -funit-at-a-time -ftracer -fstack-protector -D_FORTIFY_SOURCE=2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -mfpmath=sse -msse3 -funit-at-a-time -ftracer -fstack-protector -D_FORTIFY_SOURCE=2 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect cvs distlocks fixpackages metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times  --compress  --force  --whole-file  --delete               --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'           --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi alsa apache2 audiofile berkdb bzip2 cairo caps cddb cdparanoia cdr chroot cli cracklib crypt css cups curl dbus device-mapper dga doc dvd dvdr dvdread eds emacs emboss encode evo exif faad fam ffmpeg firefox flac fontconfig fortran gd gif glut gphoto2 gpm graphviz hal hbci htmlhandbook iconv idn imagemagick imap ipv6 isdnlog jack javascript jpeg jpeg2k kde kdehiddenvisibility kipi ladcca lame lcms ldap lirc lm_sensors lzo mad maildir matroska mbox md5sum midi mmx mmxext mng mp3 mp4 mpeg mudflap musepack nas ncurses network nfs nls nptl nptlonly ofx ogg openexr opengl openmp pam pcap pcre pdf perl png postgres pppd python qt3 qt3support qt4 quicktime readline reflection rtc ruby samba sasl scanner sdl session slp snmp sox spell spl sse sse2 ssl subversion svg svga tcpd tetex theora threads tiff transcode truetype unicode usb vorbis win32codecs wmf x264 x86 xattr xcb xcomposite xerces xine xml xorg xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-13 22:18:25 UTC
Created attachment 149623 [details]
test-suite.log

Ah, sorry, picked the wrong log file from ~/junk.
Comment 6 SpanKY gentoo-dev 2008-04-13 22:38:20 UTC
what do you mean nothing else failed ?  you posted three FAILs, but only 1 log
Comment 7 Paolo Pedroni 2008-04-14 10:12:54 UTC
I have the same problem with 4 failed tests: basic-1, p-3, not-owner, fail-diag.

Here it is my emerge --info:
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Mon, 14 Apr 2008 05:33:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distcc distlocks fixpackages metadata-transfer sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.vein.hu/pub/linux/distributions/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://pedroni03/gentoo-portage"
USE="X Xaw3d a52 aac aalib acpi alsa amd64 ao arts audiofile avahi bash-completion berkdb bluetooth bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups curl dbus dga dio dri dvd dvdr dvdread emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm ggi gif glut gmp gnutls gphoto2 gpm gtk guile hal htmlhandbook iconv idn ieee1394 imagemagick imlib isdnlog jack java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal lcms libcaca libsamplerate lm_sensors lua lzo mad maildir matroska memlimit midi mikmod mime mmap mmx mng mozilla mp3 mpeg mpi mplayer mudflap ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pcre pdf perl png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline recode reflection ruby samba sdl session sharedmem shorten sndfile sockets sox speex spell spl sse sse2 ssl startup-notification svg symlink syslog sysvipc tcl tcpd theora threads tidy tiff tk truetype unicode usb vcd vim-syntax vorbis wmf wxwindows x264 xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xv xvid yahoo zlib" ALSA_CARDS="intel8x0 virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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 rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="kodak ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I will of course attach the failure logs.
Comment 8 Paolo Pedroni 2008-04-14 10:14:24 UTC
Created attachment 149659 [details]
basic-1 install test failure log
Comment 9 Paolo Pedroni 2008-04-14 10:15:45 UTC
Created attachment 149660 [details]
p-3 mkdir test failure log
Comment 10 Paolo Pedroni 2008-04-14 10:16:58 UTC
Created attachment 149662 [details]
not-owner touch test failure log
Comment 11 Paolo Pedroni 2008-04-14 10:19:01 UTC
Created attachment 149663 [details]
fail-dog touch test install failure log
Comment 12 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-14 21:17:40 UTC
(In reply to comment #6)
> what do you mean nothing else failed ?  you posted three FAILs, but only 1 log

I did attach two files, the log for the failing mkdir test and the concatenated log for the two failing touch tests.
Comment 13 SpanKY gentoo-dev 2008-04-14 23:13:27 UTC
only a problem when running with userprivs as the tests in question skip when run as root
Comment 14 SpanKY gentoo-dev 2008-04-15 00:20:45 UTC
run: strace -o log touch /

then post the log file as an attachment ... i'm guessing the difference is glibc-2.6 vs glibc-2.7 and the function used to update the times on /
Comment 15 Benno Schulenberg 2008-04-16 09:38:17 UTC
Created attachment 149911 [details]
strace log of 'touch /'
Comment 16 Benno Schulenberg 2008-04-16 09:39:31 UTC
Same failures as Paolo.

Portage 2.1.4.4 (hardened/x86/2.6, gcc-3.4.6-hardenednopie, glibc-2.7-r2, 2.6.23 i686)
=================================================================
System uname: 2.6.23 i686 AMD Athlon(tm) XP 2800+
Timestamp of tree: Tue, 15 Apr 2008 09:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer notitles sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
LANG="nl_NL.utf8"
LINGUAS="en en_GB en_US eo es es_ES nl nl_NL"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="gzip"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --human-readable                           --exclude-from=/etc/portage/rsync_excludes"
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"
PORTDIR_OVERLAY="/usr/local/portage"
USE="3dnow X aac alsa apm arts asf audiofile avi bash-completion berkdb bzip2 cdparanoia cdr cracklib crypt dbus dri exif fam fbcon ffmpeg flac gif glx gphoto2 gpm gtk gtk2 gtkhtml hardened imagemagick imap imlib jabber jpeg jpeg2k kde kdeenablefinal lcms lm_sensors mad mbox memlimit midi mikmod mime mmap mmx mng modplug mp3 mpeg musepack ncurses nls nptl nptlonly nsplugin ogg opengl pdf pic png python qt3 quicktime readline recode sasl scanner sdl shorten sndfile sox speex spell sqlite sse ssl svg test theora threads tidy tiff timidity truetype unicode urandom usb vcd vorbis win32codecs wmf x86 xface xine xml xorg xpm xsl xv xvid xvmc zlib" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="ncurses text" LINGUAS="en en_GB en_US eo es es_ES nl nl_NL" USERLAND="GNU" VIDEO_CARDS="vesa nv fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS_FLAGS
Comment 17 SpanKY gentoo-dev 2008-04-16 14:12:23 UTC
Paolo: i think you ran that as root ... i need the strace when run as non-root
Comment 18 Paolo Pedroni 2008-04-16 15:40:15 UTC
Created attachment 149947 [details]
strace log of 'touch /' as user

It was Benno, not me, who posted the strace log, but anyway...
Comment 19 Benno Schulenberg 2008-04-16 17:29:18 UTC
Created attachment 149961 [details]
strace log of 'touch /' as nonroot

For completeness' sake.  :)
Comment 20 Paolo Pedroni 2008-04-25 13:05:47 UTC
Ping!
Comment 21 SpanKY gentoo-dev 2008-04-25 22:36:17 UTC
pinging a harmless bug doesnt really accomplish anything.  you can investigate it further or just wait.  i would focus on this issue if it were actually a big deal.  the tests in question dont indicate real badness in coreutils which would cause real concern.
Comment 22 Nick Fortino 2009-01-02 17:51:11 UTC
This is more of a sandbox issue than a coreutils issue, and is essentially a duplicate of http://bugs.gentoo.org/show_bug.cgi?id=182103
FEATURES="usersandbox" seems to cause relatively minor test errors in nearly every coreutils version in the portage tree. Adding FEATURES="-usersandbox" fixes the issue, although that seems like a poor long term solution.

Comment 23 SpanKY gentoo-dev 2009-03-12 13:15:40 UTC
should be fixed with sandbox-1.6 and coreutils-7.1