mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 02:03:37 +08:00
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.
This commit is contained in:
parent
5319be5f0c
commit
f5c44df929
@ -68,7 +68,6 @@ KernelCommandLine=systemd.crash_shell
|
||||
systemd.default_device_timeout_sec=30
|
||||
# Make sure no LSMs are enabled by default.
|
||||
selinux=0
|
||||
enforcing=0
|
||||
systemd.early_core_pattern=/core
|
||||
systemd.firstboot=no
|
||||
raid=noautodetect
|
||||
|
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user