Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613848 - locale-gen error at hardened tinderbox images
Summary: locale-gen error at hardened tinderbox images
Status: RESOLVED DUPLICATE of bug 608788
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-25 21:10 UTC by Toralf Förster
Modified: 2017-03-25 22:00 UTC (History)
0 users

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


Attachments
emerge-history.txt (emerge-history.txt,8.50 KB, text/plain)
2017-03-25 21:12 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-03-25 21:10:26 UTC
Today I run 2x in a row in the same situation that a newly setup hardened tinderbox image gave for locale-gen :

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),


The latest image name where hardened-no-multilib-libressl_20170325-144601

mr-fox / # locale-gen 
 * Generating locale-archive: forcing # of jobs to 1
 * Generating 5 locales (this might take a while) with 1 jobs
 *  (1/5) Generating de_DE.ISO-8859-1 ...                                                                                                                      [ !! ]
 *  (2/5) Generating de_DE.UTF-8.UTF-8@euro ...                                                                                                                [ !! ]
 *  (3/5) Generating de_DE.ISO-8859-15@euro ...                                                                                                                [ !! ]
 *  (4/5) Generating en_US.ISO-8859-1 ...                                                                                                                      [ !! ]
 *  (5/5) Generating en_US.UTF-8 ...                                                                                                                           [ !! ]
 * Generation complete

mr-fox / # echo $?
183


mr-fox / # emerge --info --verbose=n binutils
setlocale: unsupported locale setting
setlocale: unsupported locale setting
Portage 2.3.3 (python 3.4.6-final-0, hardened/linux/amd64/no-multilib, gcc-5.4.0, glibc-2.25, 4.9.16-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-hardened-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.3
KiB Mem:    65283652 total,   5058364 free
KiB Swap:   67108860 total,  67091552 free
Timestamp of repository gentoo: Sat, 25 Mar 2017 19:42:18 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: 1

tinderbox
    location: /tmp/tb/data/portage
    masters: gentoo
    priority: 2

local
    location: /usr/local/portage
    masters: gentoo
    priority: 99

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -Wall"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--verbose --verbose-conflicts --color=n --nospinner --tree --quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gor.bytemark.co.uk/gentoo/ rsync://ftp.snt.utwente.nl/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="acl aes-ni amd64 avformat berkdb bzip2 cli cracklib crypt cxx dec_av2 declarative dri dvb gdbm hardened hdf5 help iconv imap ipv6 justify libressl mng modules ncurses nls nptl openmp pam pax_kernel pcre pie plasma png printsupport rdp readline seccomp session ssl ssp svg tcpd threads unicode urandom vaapi vpx xattr xinerama xslt xtpax xz zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-devel/binutils-2.26.1::gentoo was built with the following:
USE="cxx nls -multitarget -static-libs -test -vanilla"
CFLAGS="-O2 -pipe"
CXXFLAGS="-O2 -pipe"
Comment 1 Toralf Förster gentoo-dev 2017-03-25 21:12:28 UTC
Created attachment 468292 [details]
emerge-history.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-25 21:13:42 UTC
ah ofc :

/var/log/grsec.log

Mar 25 22:09:35 mr-fox kernel: [538404.138606] grsec: From 78.54.159.115: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16443] uid/euid:0/0 gid/egid:0/0, parent /[localedef:16441] uid/euid:0/0 gid/egid:0/0
Mar 25 22:09:36 mr-fox kernel: [538404.143264] grsec: From 78.54.159.115: Segmentation fault occurred at 000003a8cef65e50 in /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16459] uid/euid:0/0 gid/egid:0/0, parent /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16457] uid/euid:0/0 gid/egid:0/0
Mar 25 22:09:36 mr-fox kernel: [538404.143330] grsec: From 78.54.159.115: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16459] uid/euid:0/0 gid/egid:0/0, parent /[localedef:16457] uid/euid:0/0 gid/egid:0/0
Mar 25 22:09:36 mr-fox kernel: [538404.147139] grsec: From 78.54.159.115: Segmentation fault occurred at 000003b5b49d2e50 in /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16469] uid/euid:0/0 gid/egid:0/0, parent /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16467] uid/euid:0/0 gid/egid:0/0
Mar 25 22:09:36 mr-fox kernel: [538404.147206] grsec: From 78.54.159.115: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16469] uid/euid:0/0 gid/egid:0/0, parent /[localedef:16467] uid/euid:0/0 gid/egid:0/0
Mar 25 22:09:36 mr-fox kernel: [538404.151127] grsec: From 78.54.159.115: Segmentation fault occurred at 000003840d867e50 in /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16478] uid/euid:0/0 gid/egid:0/0, parent /home/tinderbox/img1/hardened-no-multilib-libressl_20170325-144601/usr/bin/localedef[localedef:16476] uid/euid:0/0 gid/egid:0/0
Mar 25 22:09:36 mr-fox kernel: [538404.151182] grsec: more alerts, logging disabled for 10 seconds
~
Comment 3 Magnus Granberg gentoo-dev 2017-03-25 21:31:10 UTC
May be a dupe of https://bugs.gentoo.org/show_bug.cgi?id=608788
Comment 4 Toralf Förster gentoo-dev 2017-03-25 22:00:46 UTC

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