Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158023 - sys-apps/coreutils-6.7 fails one-file-system system when /tmp is a diff mount
Summary: sys-apps/coreutils-6.7 fails one-file-system system when /tmp is a diff mount
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-13 06:07 UTC by Sergiy Borodych
Modified: 2008-04-12 19: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 Sergiy Borodych 2006-12-13 06:07:54 UTC
# emerge sys-apps/coreutils
...
Making check in rm
make[2]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm'
make  check-TESTS
make[3]: Entering directory `/var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm'
umount: /tmp/tmp9445: not mounted
out exp differ: char 53, line 1
1c1
< rm: skipping `a/b', since it's on a different device: Is a directory
---
> rm: skipping `a/b', since it's on a different device
rm: cannot remove directory `one-file-system.tmp/7265/a/b': Device or resource busy
rm: cannot remove directory `one-file-system.tmp/9445/a/b': Device or resource busy
rm: cannot remove directory `one-file-system.tmp/17288/a/b': Device or resource busy
FAIL: one-file-system
./ignorable: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./ignorable: skipping this test
SKIP: ignorable
PASS: readdir-bug
./empty-inacc: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./empty-inacc: skipping this test
SKIP: empty-inacc
PASS: dir-nonrecur
PASS: dot-rel
./inaccessible: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./inaccessible: skipping this test
SKIP: inaccessible
./unread3: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./unread3: skipping this test
SKIP: unread3
PASS: no-give-up
PASS: dir-no-w
PASS: fail-2eperm
./cycle: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./cycle: skipping this test
SKIP: cycle
PASS: i-no-r
./fail-eperm: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./fail-eperm: skipping this test
SKIP: fail-eperm
PASS: dangling-symlink
./rm1: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./rm1: skipping this test
SKIP: rm1
./rm2: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./rm2: skipping this test
SKIP: rm2
./rm3: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./rm3: skipping this test
SKIP: rm3
./rm4: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./rm4: skipping this test
SKIP: rm4
./rm5: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./rm5: skipping this test
SKIP: rm5
./unread2: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./unread2: skipping this test
SKIP: unread2
PASS: r-1
PASS: r-2
PASS: r-3
PASS: r-4
PASS: i-1
PASS: ir-1
PASS: f-1
PASS: sunos-1
PASS: deep-1
./hash: creating 78 trees, each of depth 153; this will take a while...
PASS: hash
PASS: interactive-always
PASS: interactive-once
./isatty: /var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm: not writable by user `nobody'
./isatty: skipping this test
SKIP: isatty
======================================
1 of 21 tests failed
(13 tests were not run)
Please report to bug-coreutils@gnu.org
======================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests/rm'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.7/work/coreutils-6.7/tests'
make: *** [check-recursive] Error 1

!!! ERROR: sys-apps/coreutils-6.7 failed.
Call stack:
  ebuild.sh, line 1576:   Called dyn_test
  ebuild.sh, line 996:   Called src_test
  coreutils-6.7.ebuild, line 113:   Called die

!!! make check failed
!!! If you need support, post the topmost build error, and the call stack if relevant.



# emerge --info
Portage 2.1.2_rc3-r4 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-suspend2 i686)
=================================================================
System uname: 2.6.18-suspend2 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.7
Last Sync: Wed, 13 Dec 2006 07:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LINGUAS="ru uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa alsa_cards_intel8x0 alsa_cards_intel8x0m amr apache2 asf berkdb bitmap-fonts bzip2 cairo caps cdr chardet chroot cli cracklib crypt dbus djvu dlloader dri dvd dvdr elibc_glibc emboss encode fam fat ffmpeg firefox flac fluidsynth freetype gd gdbm gif glut gnome gpm gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse input_devices_synaptics irda isdnlog ithreads jpeg kernel_linux libg++ linguas_ru linguas_uk logrotate mikmod mmap mmx mozbranding mozdevelop mozilla moznocompose moznoirc mp3 ncurses nls nptl nptlonly nsplugin ogg opengl pam pam_chroot pcre pdf perl pic png pnp ppds pppd pthreads readline reflection reiser4 reiserfs samba sdl seamonkey session slang spl sse sse2 ssl svg symlink syslog tcpd threads timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales utf8 video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga vim-with-x vlm vorbis win32codecs wma wxwindows x264 xinerama xml xml2 xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
Comment 1 Sergiy Borodych 2006-12-13 06:12:46 UTC
oops (correct version is 6.7)

also I have
# mount | grep tmp
none on /dev/shm type tmpfs (rw)
none on /tmp type tmpfs (rw,noexec,noatime,size=128M,mode=1777)
Comment 2 SpanKY gentoo-dev 2006-12-13 14:24:44 UTC
and if you umount /tmp, does it work ?
Comment 3 Sergiy Borodych 2006-12-14 04:26:13 UTC
(In reply to comment #2)
> and if you umount /tmp, does it work ?
> 

Yes
after comment /tmp in fstab and reboot
all test passed
Comment 4 R Stephan 2007-05-01 07:59:04 UTC
still there with 6.9
Comment 5 Erik 2007-10-09 16:47:18 UTC
The specified version of coreutils does not exist in Gentoo, so I suppose this
should be closed.
Comment 6 SpanKY gentoo-dev 2008-04-12 19:14:29 UTC
i just tested 6.10 and it passed for me when /tmp was mounted as tmpfs