mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-03 20:44:14 -04:00
Set SELinux from disabled to permissive (#474)
This commit is contained in:
parent
46a8e8d424
commit
9e12e004bb
3 changed files with 6 additions and 1 deletions
3
image/mkosi.conf.d/selinux.conf
Normal file
3
image/mkosi.conf.d/selinux.conf
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Output]
|
||||
# set selinux to permissive
|
||||
KernelCommandLine=!selinux=0 selinux=1 enforcing=0
|
|
@ -1,5 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -euxo pipefail
|
||||
|
||||
# set selinux to permissive
|
||||
sed -i 's/^SELINUX=.*/SELINUX=permissive/' /etc/selinux/config
|
||||
|
||||
# backport of https://github.com/dracutdevs/dracut/commit/dcbe23c14d13ca335ad327b7bb985071ca442f12
|
||||
sed -i 's/WantedBy=multi-user.target/WantedBy=basic.target/' /usr/lib/systemd/system/systemd-resolved.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue