Skip to content

Commit

Permalink
Don´t disable selinux
Browse files Browse the repository at this point in the history
Signed-off-by: Fabio M. Di Nitto <fabbione@fabbione.net>
  • Loading branch information
fabbione committed Mar 24, 2024
1 parent b7d073e commit 2fed277
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions anvil.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,6 @@ getent passwd %{anviluser} >/dev/null || useradd --create-home \
--gid %{anvilgroup} --comment "Anvil! user account" %{anviluser}

%post core
# TODO: Remove this!! This is only for use during development, all SELinux
# issues must be resolved before final release!
echo "WARNING: Setting SELinux to 'permissive' during development."
sed -i.anvil 's/SELINUX=enforcing/SELINUX=permissive/' /etc/selinux/config
setenforce 0
# Enable and start the anvil-daemon
### TODO: check it if was disabled (if it existed before) and, if so, leave it disabled.
systemctl enable --now chronyd.service
Expand Down
3 changes: 0 additions & 3 deletions html/skins/alteeve/pxe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ network --hostname=#!variable!host_name!#
rootpw --plaintext #!variable!password!#
user --name=admin --password "#!variable!password!#" --plaintext --gecos "admin" --groups wheel

# TEMPORARY: Set selinux to permissive
selinux --permissive

# Partitioning plan is generated by the %pre script.
%include /tmp/plan_partitions.out

Expand Down

0 comments on commit 2fed277

Please sign in to comment.