Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259184 - sys-devel/m4-1.4.12 test fails on hardened
Summary: sys-devel/m4-1.4.12 test fails on hardened
Status: RESOLVED DUPLICATE of bug 244396
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 07:04 UTC by RonnyPeine
Modified: 2009-02-17 00:29 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 RonnyPeine 2009-02-16 07:04:30 UTC
Test 196.using_froz failes on Hardened Gentoo for x86.
Following error message was given:
@ ../doc/m4.texinfo:6843: Origin of test
./196.using_froz: stderr mismatch
--- m4-tmp.11272/m4-xerr        2009-02-16 07:58:43.000000000 +0100
+++ m4-tmp.11272/m4-err 2009-02-16 07:58:43.000000000 +0100
@@ -1 +1 @@
-m4: cannot open `/none/such': No such file or directory
+m4: cannot open `/none/such': Permission denied

Useflags for m4: none

Reproducible: Always
Comment 1 Dustin Polke 2009-02-16 10:17:27 UTC
I had this failure as well on non-hardened amd64. With FEATURES="-userpriv", all tests pass. Maybe this helps here as well? Could you post your emerge --info as well, please?
Comment 2 RonnyPeine 2009-02-16 17:50:46 UTC
(In reply to comment #1)
> I had this failure as well on non-hardened amd64. With FEATURES="-userpriv",
> all tests pass. Maybe this helps here as well? Could you post your emerge
> --info as well, please?
> 

Yeah, i'm using userpriv. Here is my emerge --info:
Portage 2.1.6.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.26-hardened-r9 i686)
=================================================================
System uname: Linux-2.6.26-hardened-r9-i686-AMD_Athlon-tm-_2600+-with-glibc2.3.2
Timestamp of tree: Sun, 15 Feb 2009 21:10:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
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=athlon-xp -fomit-frame-pointer -pipe"
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/ca-certificates.conf /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=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS=""
LINGUAS="de"
MAKEOPTS="-j2"
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://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa async berkdb bzip2 cairo cddb cdparanoia cracklib crypt css cups curl d deprecated device-mapper discouraged divx dmx doc dv dvb dvd dvdr dvdread encode extrafilters fam fat ffmpeg fftw firefox flac fontconfig foomaticdb fortran gd gif glitz gmedia gmp gnutls gpm gstreamer gtk hardened hddtemp hpn iconv id3tag idn ithreads jadetex joystick jpeg jpeg2k kde kdeenablefinal lame lcms live lm_sensors logitech-mouse mad midi mmap mmx mmxext mng mp2 mp3 mpeg ncurses net network network-cron nls nptl nptlonly nsplugin odbc offensive ogg openal opengl pam pdf pic png ppds qt3 quicktime quotas readline realmedia regex rtc scanner sdl sdl-sound servletapi sounds speex spell srt sse ssl svg tcl tcpd test theora threads threadsafe tiff tk truetype unicode urandom usb utempter v4l v4l2 vcd vorbis win32codecs wmp x264 x86 xattr xcomposite xml xorg xv xvid xvmc yv12 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 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

It would be nice if this special test is deactivated or communicated to upstream, so that root privileges are not needed.
Comment 3 RonnyPeine 2009-02-16 18:23:27 UTC
(In reply to comment #1)
I have tested now with FEATURES="-userpriv" and with -usersandbox, too. The test failure is still occuring.

Especially the message: cannot open `/none/such' makes me think, that it wants to create/read/write into / which won't be possible on my machine.
Comment 4 SpanKY gentoo-dev 2009-02-17 00:29:39 UTC
this is fixed already in unstable

*** This bug has been marked as a duplicate of bug 244396 ***