From: Russell Coker <russell@coker.com.au>
To: selinux@vger.kernel.org,
Stephen Smalley <stephen.smalley.work@gmail.com>
Cc: jwcart2@gmail.com, plautrba@redhat.com, omosnace@redhat.com,
jason@perfinion.com, paul@paul-moore.com,
"Johannes Segitz" <jsegitz@suse.de>, "Cathy Hu" <cahu@suse.de>,
"Laurent Bigonville" <bigon@debian.org>,
"Thiébaud Weksteen" <tweek@google.com>
Subject: Re: [PATCH v5] libsepol: drop support for policy versions before xperms_ioctl/xen_devicetree
Date: Tue, 01 Sep 2026 05:51:34 +1000 [thread overview]
Message-ID: <w4OjP80sRkGXeAp6-RIM3g@coker.com.au> (raw)
In-Reply-To: <CAEjxPJ6rfWUxzBgdKcAw-s_hrwK_xo-CAzvcTO4vAr7buVA+8g@mail.gmail.com>
On Tuesday, 1 September 2026 04:01:05 AEST Stephen Smalley wrote:
> This would break e.g. RHEL 7, Debian 9, Ubuntu 16.04, or SUSE/SLES 12
> if they ever updated to a version of libsepol with this change but I
> think that's unlikely.
I have no interest in Debian 9. If someone wants to update a Debian 9 system
to a current version of libsepol I'm not bothered if it breaks totally.
> The greater risk is if you have any lingering binary modules compiled
> with versions < 18 inherited across multiple upgrades (e.g. RHEL-7 to
> RHEL-8), then those modules will break and probably in a not-very-nice
> way (libsepol suddenly won't be able to parse them and therefore any
> semodule/semanage operations will fail and you might have to delete
> them manually from the policy module store).
Binary modules aren't something I'm interested in for Debian. Just don't use
modules unless you have the .te file.
> I'm fine with deferring this change to a future libsepol release after
> 3.12 (e.g. 3.13 or later) if that would be safer for the distros.
I don't think there's a reason to delay.
Also last I checked the current git refpolicy compiled with the recent
libsepol etc causes a kernel panic on the Debian 13 kernels. So if we don't
get that fixed then the Debian 14 kernel will be required for any sort of new
policy.
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
next prev parent reply other threads:[~2026-08-31 19:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 12:55 [PATCH v5] libsepol: drop support for policy versions before xperms_ioctl/xen_devicetree Stephen Smalley
2026-08-31 18:01 ` Stephen Smalley
2026-08-31 19:51 ` Russell Coker [this message]
2026-08-31 19:56 ` Stephen Smalley
2026-09-01 8:40 ` Cathy Hu
2026-09-04 12:50 ` Stephen Smalley
2026-09-04 15:13 ` Stephen Smalley
2026-09-07 15:27 ` Johannes Segitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=w4OjP80sRkGXeAp6-RIM3g@coker.com.au \
--to=russell@coker.com.au \
--cc=bigon@debian.org \
--cc=cahu@suse.de \
--cc=jason@perfinion.com \
--cc=jsegitz@suse.de \
--cc=jwcart2@gmail.com \
--cc=omosnace@redhat.com \
--cc=paul@paul-moore.com \
--cc=plautrba@redhat.com \
--cc=selinux@vger.kernel.org \
--cc=stephen.smalley.work@gmail.com \
--cc=tweek@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.