Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532992 - sys-kernel/spl-0.6.3-r1 should not require CONFIG_PAX_RANDKSTACK to be disabled
Summary: sys-kernel/spl-0.6.3-r1 should not require CONFIG_PAX_RANDKSTACK to be disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Richard Yao (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 546112
  Show dependency tree
 
Reported: 2014-12-18 23:43 UTC by 8573dd
Modified: 2016-01-16 20:44 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 8573dd 2014-12-18 23:43:45 UTC
sys-kernel/spl-0.6.3-r1 (and possibly earlier versions; I don’t know)
requires that the grsecurity/PaX kernel configuration settings
CONFIG_PAX_SIZE_OVERFLOW and CONFIG_PAX_RANDKSTACK be disabled.

I’m filing this report to track this issue at ryao’s suggestion,
after conversation in <ircs://chat.freenode.net/gentoo-hardened>:

    2014-12-18 22:49:22 <c74d3> ryao: ZFS/SPL requires CONFIG_PAX_SIZE_OVERFLOW=n and CONFIG_PAX_RANDKSTACK=n now?
    […]
    2014-12-18 23:01:58 <+ryao> c74d3: Changes in PAX's implementation of those options caused ZFS to break. I plan to try to fix it when I have time.
    2014-12-18 23:04:01 <c74d3> ryao: Okay, thanks. Is there a corresponding GitHub issue report I could subscribe to?
    2014-12-18 23:04:35 <c74d3> (Or Gentoo bug report.)
    2014-12-18 23:05:57 <+ryao> c74d3: I do not think anyone has filed one yet.
    2014-12-18 23:08:10 <c74d3> ryao: Okay. Should I file one?
    2014-12-18 23:08:23 <+ryao> c74d3: Sure
    2014-12-18 23:08:31 <c74d3> Against ZFS or SPL?
    2014-12-18 23:09:03 <+ryao> c74d3: Put it in the gentoo tracker.
    2014-12-18 23:09:32 <c74d3> Oh, okay. It's not considered an upstream issue?
    2014-12-18 23:10:29 <+ryao> c74d3: It is, but I have no idea if it is a ZFS issue or a SPL issue. In one case, it might just be a bug in PAX...
    2014-12-18 23:11:21 <+ryao> c74d3: I need to take time to try to fix it before I will know for certain. I am also the only upstream developer who writes the patches for PaX/GrSecurity.
    2014-12-18 23:12:46 <+ryao> c74d3: You could file it in both upstream and Gentoo. The SPL might be the best place to file it upstream.
Comment 1 8573dd 2014-12-18 23:50:29 UTC
Upstream issue report: <https://github.com/zfsonlinux/spl/issues/422>.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-19 07:39:17 UTC
Try to write the Summary as describing a problem - it looked quite ambiguous.
Comment 3 PaX Team 2015-01-23 01:54:21 UTC
please CC me on PaX related issues. what's the error/symptom with RANDKSTACK?
Comment 4 8573dd 2015-03-07 07:26:14 UTC
(In reply to PaX Team from comment #3)
> please CC me on PaX related issues. what's the error/symptom with RANDKSTACK?

That CONFIG_PAX_RANDKSTACK is required to be disabled is
simply a mistake, according to Gentoo developer perfinion:
<https://github.com/zfsonlinux/zfs/issues/3032>.
Comment 5 PaX Team 2015-03-07 21:24:27 UTC
so is there any bug left to be discussed? or can this be closed?
Comment 6 Jason Zaman gentoo-dev 2015-04-13 20:11:05 UTC
https://github.com/zfsonlinux/zfs/issues/3032

CONFIG_PAX_RANDKSTACK is not required. That was a mixup on my part. I will open a separate gentoo bug about SIZE_OVERFLOW.
Comment 7 Richard Yao (RETIRED) gentoo-dev 2016-01-16 20:44:10 UTC
It appears that every sys-kernel/spl ebuild except the older sys-kernel/spl-0.6.3-r1 ebuild has been updated to stop requiring !PAX_RANDKSTACK. This is fixed in the tree now:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a1299399c473b8349c236648ed4e400d8706709

At the moment, I am doing a sweep through open bugs to try to get caught up. Future bug reports should be handled in a much more timely manner.