Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5809 - rp-pppoe taints kernel
Summary: rp-pppoe taints kernel
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Ryan Phillips (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-31 05:32 UTC by Antonio D'souza
Modified: 2003-09-05 01:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
My kernel config file (.config,27.36 KB, text/plain)
2002-07-31 22:18 UTC, Antonio D'souza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio D'souza 2002-07-31 05:32:51 UTC
At the end of the installation process I see this message:

>>> Completed installing into /var/tmp/portage/rp-pppoe-3.4/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-rp-pppoe-3.4-1893.log"

open_wr:   /proc/sys/kernel/tainted
open_wr:   /proc/sys/kernel/tainted
--------------------------------------------------------------------------------
!!! emerge aborting on  /usr/portage/net-dialup/rp-pppoe/rp-pppoe-3.4.ebuild .
Comment 1 SpanKY gentoo-dev 2002-07-31 11:10:15 UTC
this is a dup of http://bugs.gentoo.org/show_bug.cgi?id=4615
that bug was closed because noone could recreate it and the original reporter 
died (or disappeared, whichever)

could you post the output of `lsmod` and that log file ?
/tmp/sandbox-rp-pppoe-3.4-1893.log

also, post any specs you think might be related ;)
Comment 2 SpanKY gentoo-dev 2002-07-31 11:14:21 UTC
oh, and rp-pppoe does not 'taint the kernel'
rp-pppoe is just trying to read that file (the reason is what needs to be 
discovered)

that file is used by kernel developers to determine whether or not to help a 
bug report ... if the user installed a kernel module that does not have a 
compatible license with the GPL (like nvidia's closed source kern module), then 
the kernel is 'tainted' and the user will not be helped

the reason is simply because the kern developers cannot determine where the bug 
lies ... whether in the closed source module or in their own code
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-31 11:21:11 UTC
Ryan, it's back :(
Comment 4 Antonio D'souza 2002-07-31 11:24:03 UTC
I suspect it has to do with some of that new grsecurity stuff in the kernel. Is
there a way to dynamically disable it using sysctl? I should add that I do have
the NVidia drivers in my kernel. 
Comment 5 SpanKY gentoo-dev 2002-07-31 12:48:34 UTC
the only time i had a problem with grsecurity was when using wine (it likes to 
play with addresses in memory and some of my settings with grsecurity made it 
unworkable)

so, post the output of `lsmod` ?
and bzip2 your .config file for your kernel, post it, and ill take a look at it
(/usr/src/linux/.config)
Comment 6 Antonio D'souza 2002-07-31 22:17:23 UTC
As you see, `lsmod` shows that I appear to have _no_ modules loaded:

quikbox root # lsmod
Module                  Size  Used by    Not tainted
quikbox root #


Also, the log file in /tmp contains only the 2 lines below:

open_wr:   /proc/sys/kernel/tainted
open_wr:   /proc/sys/kernel/tainted
Comment 7 Antonio D'souza 2002-07-31 22:18:51 UTC
Created attachment 2716 [details]
My kernel config file
Comment 8 SpanKY gentoo-dev 2002-07-31 22:25:36 UTC
which kernel are you using ? it appears you're running 2.4.x ... but which one 
exactly ?  and what was the exact file name of the patch you applied for 
grsecurity ?
Comment 9 Antonio D'souza 2002-08-01 06:11:51 UTC
I am using 2.4.19
The grsecurity patch is the one that comes pre-applied in the stock source of
the Gentoo kernel sources Ebuild.
Comment 10 SpanKY gentoo-dev 2002-08-01 08:42:58 UTC
ah, so you used the kernel source from gentoo ... personally i just get it 
straight from www.kernel.org, thats why i was asking which version of 2.4.19 
you are using (there are like pre1 - pre10, rc1 - rc4)
if you're using the version from gentoo, which one ?

they have gentoo-sources-2.4.19-rX
Comment 11 Antonio D'souza 2002-08-02 22:39:25 UTC
r7
Comment 12 Ryan Phillips (RETIRED) gentoo-dev 2002-08-10 22:21:47 UTC
This bug works fine here with emerge 2.0.27.  which compiler are you using?
Comment 13 Antonio D'souza 2002-08-10 22:27:54 UTC
It works for me too now. It must have been fixed :)
Comment 14 Andreas Simon 2003-09-02 01:52:52 UTC
Hm ... the status of this bug is still 'verified'.
Since over a year!

Shouldn't this bug be closed? I can not reproduce this bug with current rp-pppoe but remember that I had the problem too last year.
Comment 15 Florian Konnertz 2003-09-05 01:15:53 UTC
Got this error today with 1.4rc fresh install, some ppp modules already loaded, 
kernel is 2.4.20-gentoo-r5 - sandbox=yes, if you need and want more info, tell me.
Comment 16 Florian Konnertz 2003-09-05 01:46:16 UTC
emerged it with USE="-x" FEATURES="-sandbox" and it worked (rp-pppoe-3.5)