All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] selinux(8): note on conflicting configurations
@ 2026-07-21  7:23 Johannes Segitz
  0 siblings, 0 replies; only message in thread
From: Johannes Segitz @ 2026-07-21  7:23 UTC (permalink / raw)
  To: selinux

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

setting SELINUX=disabled while having selinux=1
results in a non-booting system. Document this
here in a note

Signed-off-by: Johannes Segitz <jsegitz@suse.de>
---
 libselinux/man/man8/selinux.8 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/libselinux/man/man8/selinux.8 b/libselinux/man/man8/selinux.8
index 5842150b..17df2a99 100644
--- a/libselinux/man/man8/selinux.8
+++ b/libselinux/man/man8/selinux.8
@@ -50,6 +50,15 @@ regardless of what is set in the
 .I /etc/selinux/config
 file.

+.B NOTE:
+When setting a conflicting configuration like
+.B SELINUX=disabled
+in
+.I /etc/selinux/config
+while having
+.B selinux=1
+on the kernel boot options will result in a non-bootable system.
+
 The
 .I /etc/selinux/config
 configuration file also controls what policy
--
2.55.0

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 870 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-21  7:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21  7:23 [PATCH] selinux(8): note on conflicting configurations Johannes Segitz

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.