View previous topic :: View next topic |
Author |
Message |
Philippe23 Tux's lil' helper
Joined: 20 Dec 2006 Posts: 130 Location: Central NY
|
Posted: Sat Dec 02, 2017 10:45 pm Post subject: hardened/linux/amd64 vs default/linux/amd64/17.0/hardened? |
|
|
Little confused about the Nov 30th enews (" New 17.0 profiles in the Gentoo repository") as it relates to the non-17.0 hardened profiles....
- What's the difference between the default/linux/amd64/17.0/hardened and hardened/linux/amd64 profiles?
- Is hardened/linux/amd64 under the same 6-months-to-live as the 13.0 profiles?
- I'm on hardened/linux/amd64, should I be moving to the .../17.0/hardened in the short term?
|
|
Back to top |
|
|
brendlefly62 Tux's lil' helper
Joined: 19 Dec 2009 Posts: 133
|
|
Back to top |
|
|
Philippe23 Tux's lil' helper
Joined: 20 Dec 2006 Posts: 130 Location: Central NY
|
|
Back to top |
|
|
brendlefly62 Tux's lil' helper
Joined: 19 Dec 2009 Posts: 133
|
Posted: Sun Dec 03, 2017 3:18 pm Post subject: |
|
|
Philippe23 - yes there are two parts to the thread above. My question there was about the future of hardened in gentoo's line of profiles. Short version of the answer was that it continues, but it is moved as you observed in your original post above. My take from 30 November news item was yes, migrate. I suppose the easy way to see the implications would be to use eselect and run emerge --info ( without actually merging anything of course)
I am also concerned about the security implications of the non-availability of grsec from upstream, but that is a separate issue
All that said, I to still have my original question about the future of hardened in Gentoo's line of profiles, and would like to know if we will continue to see it as hardened/arch as well as arch/17.0/hardened. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Sun Dec 03, 2017 6:11 pm Post subject: |
|
|
Disclaimer: I have no information about this beyond what I've picked up from the forums. My interpretation of the commit you linked is that it is simply adding a profile 17.0 counterpart to the older hardened profile 13.0, providing a forward migration path for hardened 13.0 users to go to 17.0 without removing hardened support. The hardened profile 13.0 will likely go away at the same time that the basic desktop/server 13.0 profiles go away, since it is built on them. Whether the Gentoo Hardened project will discontinue all of its hardened profiles is a good question that I cannot answer. |
|
Back to top |
|
|
Philippe23 Tux's lil' helper
Joined: 20 Dec 2006 Posts: 130 Location: Central NY
|
Posted: Sun Dec 03, 2017 7:33 pm Post subject: |
|
|
I switched to the new .../17.0/hardened profile and the only difference I ran into was that berkdb wasn't set (I have an explicit -gdbm, so that might be the default in .../17.0/hardened), and I had to enable tcpd, urandom, and session. Those were the only use flag changes. Seems that most of the core settings are the same (eg: hardened, pie, ssp). |
|
Back to top |
|
|
brendlefly62 Tux's lil' helper
Joined: 19 Dec 2009 Posts: 133
|
Posted: Sun Dec 03, 2017 7:35 pm Post subject: |
|
|
Good info, Philippe23, and thanks, Hu. I appreciate the disclaimer; I have the same disclaimer and less expertise/experience than you, and what you say should happen makes sense to me, but it's not obvious the that "hardened/linux/amd64" would disappear with 13.0, nor that it was built on the 13.0 profiles as you say. It existed among the choices in eselect before 13.0 appeared there. In the profile directory tree, "hardened" previously showed up only as a "peer level" alternative to "default", and since I've been using Gentoo, I've not seen hardened appear as a subdirectory of the numbered release under "default" in the directory tree. (I.e. I've been a "hardened" user, rather than a "hardened 13.0 user" since the latter has not really been a profile option. See extract of "eselect profile list" below) Now it's showing up under 17.0 as an alternative to "desktop, selinux, developer, no-multilib, systemd, and x32 -- but it is ALSO still showing up at the top of the tree as an alternative to "default" -- will that continue to be the case? I suspect/hope not, but I want to ask (as I presume does Philippe23)
Code: | ...
[1] default/linux/amd64/13.0
[2] default/linux/amd64/13.0/desktop
...
[12] default/linux/amd64/17.0
...
[14] default/linux/amd64/17.0/hardened
[15] default/linux/amd64/17.0/desktop
...
[24] hardened/linux/amd64
... |
What I've been hoping to learn is that "hardened" is essentially being "mainlined" as an option under the numbered release for each arch, all under "default/linux" in the tree -- then maybe "default" would not be necessary as there would be no alternative to it. I.e. when every profile path starts "default/linux/<arch>" with no option for a "hardened/linux/<arch>" alternative, then the whole tree can move up to just begin with "linux/<arch>"
Cheers |
|
Back to top |
|
|
zorry Developer
Joined: 30 Mar 2008 Posts: 380 Location: Umeå The north part of scandinavia
|
Posted: Thu Dec 07, 2017 3:27 am Post subject: |
|
|
The new Hardened 17.0 profile is using a a modular open system approach that can easily accommodate new profiles.
The main part of the profile is moved from hardened to features/hardened.
So now we just add sub profiles in the main default 17.0 profile. We have change some of the USE flag settings and set PaX makings to XATTR as default. _________________ gcc version 6.1.0 (Gentoo Hardened 6.1.0 p1.1) |
|
Back to top |
|
|
|