Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.gentoo.dev > #70402

Re: [gentoo-dev] [PATCH] 2026-04-07-selinux-policy-eapi-8: add news item

From Kenton Groombridge <concord@gentoo.org>
Newsgroups linux.gentoo.dev
Subject Re: [gentoo-dev] [PATCH] 2026-04-07-selinux-policy-eapi-8: add news item
Date 2026-04-08 01:50 +0200
Message-ID <MHolb-dtb6-1@gated-at.bofh.it> (permalink)
References <MHmt3-drTN-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 26/04/07 09:44PM, Rahul Sandhu wrote:
> +What Changed
> +============
> +
> +The SELinux policy and associated packages have all been bumped to EAPI 8.

... and are introducing some upcoming breaking changes.

> +
> +POLICY_TYPES has become the USE expand SELINUX_POLICY_TYPES. As such, it may be
> +set in package.use now, like any other USE expand. However, it is recommended
> +to keep POLICY_TYPES both set, if done so previously, and in sync with the USE
> +expand set for sec-policy/selinux-base.

Is keeping both around really necessary? If we are planning to remove
POLICY_TYPES eventually it would make more sense to just tell users to
switch to the new behavior right away if they are able.

> +
> +User Action Required
> +====================
> +
> +Some user intervention may be needed due to changes in selinux-policy-2 eclass
> +variable names.
> +
> +If POLICY_TYPES is set, the SELINUX_POLICY_TYPES USE expand should be set to
> +match POLICY_TYPES' contents.
> +
> +Future Changes
> +==============
> +
> +EAPI 7 policy packages will continue to work in the short term whilst the final
> +touches for the migration take place. However, overlays should look to migrate
> +to EAPI 8 as soon as possible.

I think we ought to elaborate more here. What migration? Will users have
to do even more work to deal with the upcoming changes?

-- 
Kenton Groombridge
Gentoo Linux Developer, SELinux Project

Back to linux.gentoo.dev | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

[gentoo-dev] [PATCH] 2026-04-07-selinux-policy-eapi-8: add news item Rahul Sandhu <nvraxn@posteo.uk> - 2026-04-07 23:50 +0200
  Re: [gentoo-dev] [PATCH] 2026-04-07-selinux-policy-eapi-8: add news  item Kenton Groombridge <concord@gentoo.org> - 2026-04-08 01:50 +0200
    Re: [gentoo-dev] [PATCH] 2026-04-07-selinux-policy-eapi-8: add news  item "Rahul Sandhu" <nvraxn@posteo.uk> - 2026-04-08 11:10 +0200
      Re: [gentoo-dev] [PATCH] 2026-04-07-selinux-policy-eapi-8: add news  item Kenton Groombridge <concord@gentoo.org> - 2026-04-08 16:10 +0200
        [gentoo-dev] [PATCH v2] 2026-04-23-selinux-policy-eapi-8: add news item Rahul Sandhu <nvraxn@posteo.uk> - 2026-04-23 20:40 +0200
          [gentoo-dev] [PATCH v3] 2026-04-23-selinux-policy-eapi-8: add news item Rahul Sandhu <nvraxn@posteo.uk> - 2026-04-24 01:20 +0200
            Re: [gentoo-dev] [PATCH v3] 2026-04-23-selinux-policy-eapi-8: add  news item Sam James <sam@gentoo.org> - 2026-04-30 02:40 +0200
            Re: [gentoo-dev] [PATCH v3] 2026-04-23-selinux-policy-eapi-8: add  news item Eli Schwartz <eschwartz@gentoo.org> - 2026-04-30 03:10 +0200
  [gentoo-dev] Re: [PATCH] 2026-04-07-selinux-policy-eapi-8: add news item Sam James <sam@gentoo.org> - 2026-04-08 02:40 +0200

csiph-web