Linode Forum Index Linode Forum
Linode Community Forums
 


Updated kernel source?

Click here to go to the original topic

 
       Linode Forum Index -> Feature Request/Bug Report
Author Message
kormoc



Joined: 15 Feb 2010
Posts: 2
Location: Seattle, WA

Posted: Wed Oct 05, 2011 4:55 pm    Post subject: Updated kernel source?  

Hey guys,

The kernel source hosted at:
http://linode.com/src/
is year out of date and a major version behind. Can we get updated source?

Thanks!
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2907
Location: Galloway, NJ

Posted: Wed Oct 05, 2011 4:59 pm    Post subject:  

Our kernels are built straight from mainline now, so there is no need to supply the source.

You can grab the .config from zcat /proc/config.gz

-Chris
Back to top  
kormoc



Joined: 15 Feb 2010
Posts: 2
Location: Seattle, WA

Posted: Wed Oct 05, 2011 5:03 pm    Post subject:  

Ahh! Glad to hear it. Thanks much for the quick reply!
Back to top  
Piki



Joined: 16 Jun 2011
Posts: 276
Location: Cyberspace

Posted: Wed Oct 05, 2011 6:48 pm    Post subject:  

caker wrote: Our kernels are built straight from mainline now, so there is no need to supply the source.

You can grab the .config from zcat /proc/config.gz

-Chris

I'd recommend putting a readme file stating this along with a link to the kernel.org download page. The GPLv2 requires that you either provide the source code, or tell people where to get the source code (and provide any relevent patches if you modify the code). If Linode isn't going to be hosting the kernel source, providing a link to the kernel.org download page in a place that is obvious (putting it in linode.com/src should be fine) is good enough as per the GPLv2.

(edited to correct a sentence)
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2907
Location: Galloway, NJ

Posted: Wed Oct 05, 2011 7:46 pm    Post subject:  

I believe the GPL states that since we're not distributing the kernel we do not need to publish the source code.

I'll add a note to the index.

-Chris
Back to top  
Piki



Joined: 16 Jun 2011
Posts: 276
Location: Cyberspace

Posted: Wed Oct 05, 2011 8:00 pm    Post subject:  

I think providing a Linode-compiled kernel counts as distribution. Since the Linode-compiled kernel is used by default when us users deploy our Linodes, the kernel is effectively being distributed to us, and we can easily setup an rsync, ftp, etc. to copy it to our local computers. I know this isn't the intent, but there's nothing stopping us from doing that.

It's possible I passed over a loophole in the GPLv2, but I doubt it.
Back to top  
caker



Joined: 15 Apr 2003
Posts: 2907
Location: Galloway, NJ

Posted: Wed Oct 05, 2011 8:05 pm    Post subject:  

You actually don't have access to the kernel binary - it's stored on the host machine.

-Chris
Back to top  
Piki



Joined: 16 Jun 2011
Posts: 276
Location: Cyberspace

Posted: Wed Oct 05, 2011 8:55 pm    Post subject:  

Never heard of the kernel operating outside the VM. But that brings up a question: are the kernel modules stored inside the VM, or on the host machine? If it's in the VM, you still need to provide the code to the kernel since most of the modules will come with the kernel, as well as any other modules used by Linode (as per the licensing of those modules).

If the kernel and all kernel-related binaries are stored on and loaded from the physical host such that we users have no access outside of modprobe/rmmod, then there is no obligation to Linode to provide a way to obtain the source since that isn't covered by the GPL. I'd still recommended posting the link in the linode.com/src (including a note that the kernel is on the physical host as opposed to the VM), but legally, there's no obligation to do so in this situation.
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Wed Oct 05, 2011 9:22 pm    Post subject:  

There are no kernel modules provided by Linode.
Back to top  
Piki



Joined: 16 Jun 2011
Posts: 276
Location: Cyberspace

Posted: Wed Oct 05, 2011 9:27 pm    Post subject:  

Ok, so Linode isn't in trouble for grand theft of the Linux kernel :lol:

This would honestly be my first experience with a kernel that isn't directly run from inside the kernel. Hence my thinking that the link to the source was needed. I'm sure a lot of other new comers would be thinking the same thing, too, so putting this somewhere (the two places I can think of are in the features list or in the general description) would help clear up the confusion.
Back to top  
 
       Linode Forum Index -> Feature Request/Bug Report
Page 1 of 1