Hi, it looks like the linux kernel development headers are missing*,
and there doesn't seem to be a package for them. Did I miss something?
Do I have to compile the kernel from source with the patches to get
these? Or are they there but simply not in a place I'm not looking?
Any pointers or help here is appreciated, thanks
* -- well, specifically /lib/modules/<kver>/build is missing, which
required when building tp-smapi from source. I assume that dir
would usually be present after installing a `linux-headers-dev`
package, I've never done any kernel development.
--
- fao_
PGP fingerprint: 739B 6C5C 3DE1 33FA
"Too enough is always not much!"
---
Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org
Help: alpine-user+help@lists.alpinelinux.org
---
On 11/19/2018 12:07 AM, fao_ wrote:
> Hi, it looks like the linux kernel development headers are missing*,> and there doesn't seem to be a package for them. Did I miss something?
Yes, the package is usually called <kerver>-dev.
> /lib/modules/4.9.73-0-hardened/build
I'm not sure exactly where that one's coming from.
Hardened kernels were dropped (because grsec went private), and the last
available package (as far as I can tell) is 4.9.65-r1 - a lower version.
Summary:
- linux-headers don't have a -dev variant, and are the headers for
interacting with the kernel (in /usr/include)
- kernel artifacts such as above are in a <kerver>-dev package
- you appear to be using a relatively old kernel, which does not have
KPTI (that was added to the 4.9 line in 4.9.75), though my understanding
is that grsec patches (as they were pre-private) aren't compatible with
KPTI.
---
Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org
Help: alpine-user+help@lists.alpinelinux.org
---
>> Hi, it looks like the linux kernel development headers are missing*,>> and there doesn't seem to be a package for them. Did I miss something?> > Yes, the package is usually called <kerver>-dev.
Thanks!
>> /lib/modules/4.9.73-0-hardened/build> > I'm not sure exactly where that one's coming from.> Hardened kernels were dropped (because grsec went private), and the> last available package (as far as I can tell) is 4.9.65-r1 - a lower> version.
Yeah. It looks like linux-hardened is still in the repositories but not
getting any updates. I kind of assumed it'd automagically downgrade me
to
linux-vanilla (which I assume is the default kernel package?)
--
- fao_
PGP fingerprint: 739B 6C5C 3DE1 33FA
"Too enough is always not much!"
---
Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org
Help: alpine-user+help@lists.alpinelinux.org
---
On 11/20/2018 7:53 AM, fao_ wrote:
> Yeah. It looks like linux-hardened is still in the repositories but not> getting any updates. I kind of assumed it'd automagically downgrade me to> linux-vanilla (which I assume is the default kernel package?)
Yes, linux-vanilla is the default kernel.
linux-hardened is only in the 3.7 repositories. It was dropped in 3.8.
Looking at the APKBUILD for linux-vanilla, it doesn't have a "replaces"
entry, which is why you didn't get auto-downgraded, I suspect.
I would recommend replacing all of your *hardened packages with
*vanilla, and upgrading to alpine 3.9 when possible (it should be coming
out soon).
---
Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org
Help: alpine-user+help@lists.alpinelinux.org
---