On 24/01/17 17:20, Jason Zaman wrote:
> This is awesome! thanks for working on it, ive wanted it for a while
> now.
>
> The main issue I see with it is ordering. For the hardened and selinux
> profiles, the order matters a lot. eg hardened defaults the jit useflag
> off and the desktop profile defaults on which causes problems with PaX.
> If these two mixins would end up in a kind of random order then we'll
> have issues. See https://bugs.gentoo.org/492312 for a specific issue.
>
> It could be as simple as when putting in the make.profile list, do it in
> the order they are defined in the profiles.mixin file, then we can just
> have hardened and selinux last and problem solved. Or could go with a
> priority field but then again there is the problem of what happens when
> two have the same priority?
>
> Also how will profiles.mixin interact between different overlays? you
> can manually set a parents file with features/desktop::gentoo and
> feature/foo::overlay already. if foo::myoverlay is in the desktop group,
> does that merge together with the desktop group ones in ::gentoo?
>
> -- Jason
>
Here's one suggestion .. how about we use a system similar to the old
init naming scheme of:

[<char>]<2-digit><name>

where the 2-digit defines the first-order sorting, and then by
alphabetical thereafter?

Just a random idea...

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to