~alpine/users

3 2

[alpine-user] /lib/modules/4.9.73-0-hardened/build missing, required by tp-smapi

Details
Message ID
<f150513f6c7f7d4fe9601698678bfa90@inventati.org>
Sender timestamp
1542604040
DKIM signature
missing
Download raw message
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
---
Chloe Kudryavtsev <toast@toastin.space>
Details
Message ID
<a7a720b2-c567-8c59-8ed6-55630a96fed0@toastin.space>
In-Reply-To
<f150513f6c7f7d4fe9601698678bfa90@inventati.org> (view parent)
Sender timestamp
1542614030
DKIM signature
missing
Download raw message
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
---
Details
Message ID
<11567548c5e959ab32b375d0fa55dfa1@inventati.org>
In-Reply-To
<a7a720b2-c567-8c59-8ed6-55630a96fed0@toastin.space> (view parent)
Sender timestamp
1542718437
DKIM signature
missing
Download raw message
>> 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
---
Chloe Kudryavtsev <toast@toastin.space>
Details
Message ID
<9b8f4dfa-dcb9-0d79-a3d6-fe38ff5ac75a@toastin.space>
In-Reply-To
<11567548c5e959ab32b375d0fa55dfa1@inventati.org> (view parent)
Sender timestamp
1542752654
DKIM signature
missing
Download raw message
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
---
Reply to thread Export thread (mbox)