Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42363 - updating grsecurity-kernel removes old sources but didn't create new link
Summary: updating grsecurity-kernel removes old sources but didn't create new link
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-21 07:13 UTC by Toralf Förster
Modified: 2004-02-22 01:45 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 Toralf Förster gentoo-dev 2004-02-21 07:13:47 UTC
updating to linux-2.4.24-grsec-1.9.13-r1 removes old sources under /usr/src/linux-2.4.24-grsec-1.9.13 but the link /usr/src/linux does not point after emerge to the new directory linux-2.4.24-grsec-1.9.13-r1, instead it points to the old directory linux-2.4.24-grsec-1.9.13

Reproducible: Always
Steps to Reproduce:
1.emerge -u grsec-sources
2.
3.


Expected Results:  
either set the link to the new dir or do not remove the old dir 

# emerge info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 
2.4.24-grsec-1.9.13-r1) 
================================================================= 
System uname: 2.4.24-grsec-1.9.13-r1 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.linux.no/ http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="X apache2 apm arts avi berkdb crypt cups encode esd foomaticdb gd gdbm gif 
gpm gtk2 imlib innodb java jbig jpeg kde lcms libg++ libwww linguas_de mad mbox 
mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl 
png python qt quicktime readline sdl slang slp snmp spell ssl svga tcltk tcpd 
tiff truetype usb wmf x86 xml2 xv zlib"
Comment 1 SpanKY gentoo-dev 2004-02-21 11:48:57 UTC
portage will never touch /usr/src/linux if it still points to a directory that exists
Comment 2 Toralf Förster gentoo-dev 2004-02-22 01:36:05 UTC
but portage will ever try to fully remove the directory where the link /usr/src/linux points to ?
Comment 3 SpanKY gentoo-dev 2004-02-22 01:45:25 UTC
no, it wont be removed by portage because it has object files in it thus it isnt empty

portage is a tool to make your life easier, it's not going to hold your hand for everything ... plus, trying to do too much can easily result in unwanted behavior