Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#58222 - [linux-hardened] CONFIG_LOCAL_INIT isn't valid for Archlinux

Attached to Project: Arch Linux
Opened by Tommy Schmitt (spinka) - Friday, 13 April 2018, 20:37 GMT
Last edited by Levente Polyak (anthraxx) - Tuesday, 17 April 2018, 20:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

CONFIG_LOCAL_INIT was recently enabled in linux-hardened config[1]:


This option needs compiler support which exist only in CopperheadOS sources[2]. It's worthless at best and can cause issues at worst[3]. Please disable it again.

[1] https://git.archlinux.org/svntogit/packages.git/commit/?id=9b7a62b4eea1848c287f4be0fdb5ecd0b4afce16
[2] https://github.com/copperhead/linux-hardened/commit/66e30d55134f4bc8d8632be2b6a7270a92707085
[3] https://github.com/copperhead/linux-hardened/issues/73
This task depends upon

Closed by  Levente Polyak (anthraxx)
Tuesday, 17 April 2018, 20:48 GMT
Reason for closing:  Fixed
Comment by Tommy Schmitt (spinka) - Saturday, 14 April 2018, 10:06 GMT
@Scimmia

linux-hardened is in extra now. Please attach this to Archlinux again otherwise you cannot see this in linux-hardened related bugs: https://bugs.archlinux.org/?project=1&string=linux-hardened

You can also attach all other linux-hardened opened bugs to Archlinux because right now it's a mess: https://bugs.archlinux.org/index.php?project=5&string=linux-hardened

Comment by Levente Polyak (anthraxx) - Sunday, 15 April 2018, 17:52 GMT
it can't cause issues, it has a compiler check and its considered to switch to clang anyway

https://github.com/copperhead/linux-hardened/commit/66e30d55134f4bc8d8632be2b6a7270a92707085#diff-b67911656ef5d18c4ae36cb6741b7965R705

does absolutely nothing
Comment by Tommy Schmitt (spinka) - Sunday, 15 April 2018, 20:16 GMT
I linked you github issue where someone claims it still causes problems. Switching to clang doesn't help you because you'll need patched clang from copperheados. Moreover linux 4.17 will mandate asm-goto in compiler which rules out clang support[1].

What's the point of enabling something which "does absolutely nothing" as you said? It's misleading and useless.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e68b4bad71e8739d79f3c9580c719aa70c42fb96

Loading...