Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210135 - FEATURES="userpriv" module-rebuild rebuild fails
Summary: FEATURES="userpriv" module-rebuild rebuild fails
Status: RESOLVED DUPLICATE of bug 137773
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-14 14:17 UTC by Ramin
Modified: 2008-02-14 14:18 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 Ramin 2008-02-14 14:17:12 UTC
I observe a problem that rather similar to bug 137773 _recently_ .
But it involved more modules than just the nvidia-driver.
When I compiled my kernel modules in the first place everything was fine, but after the introduction of gentoo-sources-2.6.23-r6 I could not recompile my modules anymore (not even for older kernels).
The error message looked like this:
Makefile:1498: ..tmp_kallsyms1.o.cmd: Permission denied
...
I use genkernel for compiling my kernel so it might be a new bug concerning genkernel.
I checked my system and FEATURES="userpriv" is acually set on my system.
I also checked my /usr/src/linux/* files and found out that there are some files (like "..tmp_kallsyms1.o.cmd") actually are not readable for the user "portage":
-rw-r-----  1 root root
so I thanged the ownership to:
-rw-r-----  1 root portage
and now everything works fine.

Is there a way to do that or something similar automatically in the ebuild or genkernel if needed to not fully confuse unexperienced users?
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-14 14:18:57 UTC
Nothing new here; if you think the summary of the original bug sucks, feel free to suggest a better one there. Thanks. :)

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