Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99147 - glibc-2.3.5 stuff is placed to root partition resulting in "no space left on device"-error
Summary: glibc-2.3.5 stuff is placed to root partition resulting in "no space left on ...
Status: VERIFIED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 99148 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-15 12:54 UTC by Attila Stehr
Modified: 2005-07-16 14:44 UTC (History)
2 users (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 Attila Stehr 2005-07-15 12:54:39 UTC
>>> Merging app-emulation/emul-linux-x86-glibc-2.3.5 to /
--- /emul/
--- /emul/linux/
--- /emul/linux/x86/
--- /emul/linux/x86/lib/
>>> /emul/linux/x86/lib/gconv_pic.map


Reproducible: Always
Steps to Reproduce:
emerge -v --oneshot '>=emul-linux-x86-glibc-2.3.4.20041102'

with nptlonly and test disabled
have a 122 MB root partition - that should be far enough for linux
Actual Results:  
>> /emul/linux/x86/usr/lib/libbsd-compat.a
>>> /emul/linux/x86/usr/lib/libc.a
!!! copy
/var/tmp/portage/emul-linux-x86-glibc-2.3.5/image/emul/linux/x86/usr/lib/libc_g.a
-> /emul/linux/x86/usr/lib/libc_g.a failed.
!!! [Errno 28] No space left on device


Expected Results:  
put stuff into /usr or somewhere esle but not to /

Portage 2.0.51.22-r1 (default-linux/amd64/2004.3/lib64, gcc-3.4.3,
glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox severe sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aac acpi alsa amd64 avi berkdb bitmap-fonts bzlib cdr crypt cups curl dga
directfb dlloader dts dvd dvdr dvdread eds emacs encode esd exif fam fbcon
ffmpeg font-server foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk
gtk2 hal hardened howl imagemagick imlib ipv6 ithreads javascript jp2 jpeg kde
lcms libwww lzo lzw lzw-tiff mad matroska memlimit mikmod mmap mng mozdevelop
mozsvg mp3 mpeg multilib ncurses nls nptl nptlonly nvidia ogg oggvorbis
on-the-fly-crypt openal opengl oss pam pda pdflib perl png ppds python qt
quicktime readline real sdl slang spell ssl svg symlink tcltk tcpd test tetex
tga threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb
userlocales videos vorbis wmf xine xml2 xmms xpm xprint xrandr xtermtoolbar xv
xvid xvmc zlib linguas_de_DE@euro userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-15 13:00:46 UTC
*** Bug 99148 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-15 13:03:02 UTC
Sorry, out of disk space is not a Gentoo bug.
Comment 3 Attila Stehr 2005-07-15 13:11:21 UTC
It is! Since librarys do _not_ belong into the root directory / partition!

Please take cognizance of this doument:
http://www.linuxsa.org.au/tips/disk-partitioning.html

esp this sentence:
The / file system will never need to be more than 100Meg. Make it that.

The libs went to /usr/lib before so it should be kept that way!

greetz
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-15 13:17:29 UTC
(In reply to comment #3)
> It is! Since librarys do _not_ belong into the root directory / partition!

Sure, let's move all glibc stuff and all binaries needed to boot the system to
/usr and break Gentoo for users that mount /usr via nfs or whatever. 

> The / file system will never need to be more than 100Meg. 

OK, tell the author of that page to fix his mistaken assumptions.
Comment 5 Attila Stehr 2005-07-15 13:23:57 UTC
No, I'm not taking off all stuff. But what about "/emul"?
How come that there was plenty of space with prior versions of glibc installed
on my system.

Well I guess I'm one of those dumb-ass trying to keep their system most up to
date. And thinking that using a new version could fix some of the problems I
have with other packets. But all I do - when using gentoo is writing bug reports
- and waiting for the next error message. That's no fun :-(

I guess I'm to use the old glibc version and turn away from mplayer etc.
So don't update ... ups .. touch a running system should be my behaviour towards
gentoo then :(

Whatever ... sorry for this now - but this time my frustration 's been too much
to hold!
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-07-15 13:31:36 UTC
I'd suggest using LVM2 or EVMS2 next time, that way you will have a really easy
way to avoid problems related to incorrect disk partitioning in future.

This is also a good reading if you choose to stick with traditional partitions -
http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=4
Comment 7 Attila Stehr 2005-07-15 13:34:58 UTC
then

Let's just forget about that!
I see no sense in arguing this.
Comment 8 Attila Stehr 2005-07-15 13:35:19 UTC
zzzzz