- Enable firewall for samba and samba-client

- Enable selinuxuser_execmod bool
i9-scbs
Arkady L. Shane 1 year ago
parent 15158f9395
commit f36d62b426
Signed by: tigro
GPG Key ID: 9C7900103E1C4F8B

@ -13,7 +13,7 @@ shutdown
# Network information # Network information
network --bootproto=dhcp --device=link --activate network --bootproto=dhcp --device=link --activate
# Firewall configuration # Firewall configuration
firewall --enabled --service=mdns firewall --enabled --service=mdns,samba,samba-client
# Use network installation # Use network installation
url --url="https://rsync.inferitos.ru/msvsphere/9/BaseOS/$basearch/os/" url --url="https://rsync.inferitos.ru/msvsphere/9/BaseOS/$basearch/os/"
repo --name="BaseOS" --baseurl=https://rsync.inferitos.ru/msvsphere/9/BaseOS/x86_64/os/ --cost=200 repo --name="BaseOS" --baseurl=https://rsync.inferitos.ru/msvsphere/9/BaseOS/x86_64/os/ --cost=200
@ -436,7 +436,7 @@ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flat
rm -f /etc/resolv.conf rm -f /etc/resolv.conf
# fix Samba overview # fix Samba overview
firewall-cmd --set-default-zone=internal #firewall-cmd --set-default-zone=internal
# add us,ru layouts by default # add us,ru layouts by default
cat > /usr/share/glib-2.0/schemas/org.gnome.desktop.input-sources.gschema.override << FOE cat > /usr/share/glib-2.0/schemas/org.gnome.desktop.input-sources.gschema.override << FOE
@ -494,6 +494,9 @@ DefaultSession=gnome-xorg.desktop
#Enable=true #Enable=true
FOE FOE
# Enable selinuxuser_execmod bool
/usr/sbin/setsebool -P selinuxuser_execmod 1
%end %end
%packages %packages

Loading…
Cancel
Save