summaryrefslogtreecommitdiffstats
path: root/test/TEST-06-SELINUX
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-17 18:56:02 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-07-17 18:56:02 +0200
commitf5c44df92922d74cfff40989d6617e3a9e4c5904 (patch)
treef89fcfbfb8fe54320ecb15717a1a4b0605a45b7c /test/TEST-06-SELINUX
parentmkosi: Stop setting apparmor=0 (diff)
downloadsystemd-f5c44df92922d74cfff40989d6617e3a9e4c5904.tar.xz
systemd-f5c44df92922d74cfff40989d6617e3a9e4c5904.zip
mkosi: Remove enforcing=0 from default kernel command line
We already have selinux=0 in the default kernel command line so enforcing=0 is redundant. Instead, pass in enforcing=0 when we enable selinux in TEST-06-SELINUX.
Diffstat (limited to 'test/TEST-06-SELINUX')
-rw-r--r--test/TEST-06-SELINUX/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/TEST-06-SELINUX/meson.build b/test/TEST-06-SELINUX/meson.build
index ea1a381471..fd670ae40d 100644
--- a/test/TEST-06-SELINUX/meson.build
+++ b/test/TEST-06-SELINUX/meson.build
@@ -3,7 +3,7 @@
integration_tests += [
integration_test_template + {
'name' : fs.name(meson.current_source_dir()),
- 'cmdline' : integration_test_template['cmdline'] + ['selinux=1', 'lsm=selinux'],
+ 'cmdline' : integration_test_template['cmdline'] + ['selinux=1', 'enforcing=0', 'lsm=selinux'],
# FIXME; Figure out why reboot sometimes hangs with 'linux' firmware.
# Use 'auto' to automatically fallback on non-uefi architectures.
'firmware' : 'auto',