Summary: | sys-kernel/gentoo-sources-2.6.23-r5: /usr/src/linux symlink created | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kernel |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Skwar
2008-01-08 12:56:49 UTC
Nope, not resolved. Issue exists (for a long time now). On multiple systems. Steps to reproduce: mv /usr/src /usr/src.temp mkdir /usr/src touch /usr/src/.keep USE=-symlink emerge gentoo --(askwar@winnb000488)-(34/pts/12)-(08:04:28/2008-01-09)-- --($:/usr)-- sudo mv src src.temp ; sudo mkdir src ; sudo touch src/.keep --(askwar@winnb000488)-(35/pts/12)-(08:05:06/2008-01-09)-- --($:/usr)-- ls -la src insgesamt 8 drwxr-xr-x 2 root root 4096 9. Jan 08:05 . drwxr-xr-x 19 root root 4096 9. Jan 08:05 .. -rw-r--r-- 1 root root 0 9. Jan 08:05 .keep --(askwar@winnb000488)-(37/pts/12)-(08:05:13/2008-01-09)-- --($:/usr)-- USE=-symlink sudo emerge -1 gentoo-sources > /dev/null 2>&1 --($:/usr)-- ls -la /usr/src insgesamt 12 drwxr-xr-x 3 root root 4096 9. Jan 08:13 . drwxr-xr-x 19 root root 4096 9. Jan 08:05 .. -rw-r--r-- 1 root root 0 9. Jan 08:05 .keep lrwxrwxrwx 1 root root 22 9. Jan 08:13 linux -> linux-2.6.23-gentoo-r5 drwxr-xr-x 19 root root 4096 9. Jan 08:12 linux-2.6.23-gentoo-r5 As you can see, there's now a /usr/src/linux symlink, which should not have been there. How comes, that this symlink exists? And how comes, that this is WFM for you, Jakub? The symlink will be created no matter whether USE=symlink is enabled if none exist previously, see kernel-2 eclass. That's intended behaviour and not a bug. Sorry for the confusion. USE=symlink is confusing and quite broken by design. It will be removed at some point in the future. The existing unconditional functionality where a "linux" link is created if it does not exist will stay. |