Summary: | incorect installing/using or ... glibc, zlib and more packages | ||
---|---|---|---|
Product: | Portage Development | Reporter: | roma1390 |
Component: | Unclassified | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
roma1390
2003-11-22 05:48:00 UTC
you should rm -rf those dirs ... oh my god! OH MY GOD! has gentoo package managment system? I hope so this isn't bug fix, this is only tip? i was suggesting a quick fix not a permanent fix if you want help it's best if you try to not start flames ... people probably wont help them if you tell them they suck I cannot say I have seen this before, and I never clean /var/tmp/portage on regular basis ... Could you update to unstable glibc (-r9) and see if it fixes ? can't try new glibc. after restarting services some open file handles gone. won't try, won't reproduce. It's is only bug submit after log delay i just wont to see what produces lsof | grep var/tmp and i saw: root # lsof | grep var/tmp devfsd 151 root txt REG 3,5 35800 56175 /var/tmp/portage/devfsd-1.3.25-r6/image/sbin/devfsd (deleted) dhcpcd 899 root txt REG 3,5 35620 20444 /var/tmp/portage/dhcpcd-1.3.22_p4-r4/image/sbin/dhcpcd (deleted) portmap 1005 bin txt REG 3,5 28464 102873 /var/tmp/portage/portmap-5b-r8/image/sbin/portmap (deleted) sshd 1131 root txt REG 3,5 327596 73371 /var/tmp/portage/openssh-3.8_p1/image/usr/sbin/sshd (deleted) sshd 1131 root mem DEL 3,5 64780 /var/tmp/portage/openssl-0.9.7d/image/usr/lib/libcrypto.so.0.9.6 agetty 1175 root txt REG 3,5 14808 82463 /var/tmp/portage/util-linux-2.12-r4/image/sbin/agetty (deleted) agetty 1176 root txt REG 3,5 14808 82463 /var/tmp/portage/util-linux-2.12-r4/image/sbin/agetty (deleted) agetty 1177 root txt REG 3,5 14808 82463 /var/tmp/portage/util-linux-2.12-r4/image/sbin/agetty (deleted) agetty 1178 root txt REG 3,5 14808 82463 /var/tmp/portage/util-linux-2.12-r4/image/sbin/agetty (deleted) agetty 1179 root txt REG 3,5 14808 82463 /var/tmp/portage/util-linux-2.12-r4/image/sbin/agetty (deleted) agetty 1180 root txt REG 3,5 14808 82463 /var/tmp/portage/util-linux-2.12-r4/image/sbin/agetty (deleted) sshd 13005 root txt REG 3,5 327596 73371 /var/tmp/portage/openssh-3.8_p1/image/usr/sbin/sshd (deleted) sshd 13005 root mem DEL 3,5 64780 /var/tmp/portage/openssl-0.9.7d/image/usr/lib/libcrypto.so.0.9.6 bash 13011 root txt REG 3,5 691200 113372 /var/tmp/portage/bash-2.05b-r9/image/bin/bash (deleted) What can i say? i think that "problem work around is" restart service, reboot pc. I think most problem is uptime: # uptime 22:07:37 up 33 days, 6:55, 1 user, load average: 0.00, 0.00, 0.07 at this time i have: glibc-2.3.2-r3 and some system info: # time emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r3, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i486 486 Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i486 -O3 -pipe" CHOST="i486-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i486 -O3 -pipe -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache ditscc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/pluton" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="berkdb crypt foomaticdb gdbm gpm mad mbox mysql ncurses pam perl pic python readline samba slang tcltk tcpd x86 zlib" real 2m6.403s user 1m32.400s sys 0m14.380s (In reply to comment #6) > can't try new glibc. > after restarting services some open file handles gone. > won't try, won't reproduce. It's is only bug submit Closing. just hit this again and was able to narrow it down ... basically you have nothing at all to worry about the problem is in the kernel i think ... the deleted path refers to the wrong thing ... it's completely safe to ignore the weird paths for example, a simple C code: int main() { if (fork()) return 0; printf("pid = %i\n", getpid()); while (1) sleep(3600); } $ gcc test.c $ ./a.out pid = 14753 $ readlink /proc/14753/exe /home/vapier/a.out $ mv a.out a.out.foo $ readlink /proc/14753/exe /home/vapier/a.out.foo $ gcc test.c $ mv a.out a.out.foo $ readlink /proc/14753/exe /home/vapier/a.out (deleted) a similar thing happens with portage as it does `mv` from /var/tmp/portage/ to / when they are on the same partition i guess a closer example: # gcc test.c -o /usr/sbin/MOO # /usr/sbin/MOO pid = 17144 # readlink /proc/17144/exe /usr/sbin/MOO # gcc test.c -o /var/tmp/portage/MOO # mv /var/tmp/portage/MOO /usr/sbin/MOO # readlink /proc/17144/exe /var/tmp/portage/MOO (deleted) |