saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-02-19 09:26:00 +02:00
parent bfb4916e2b
commit 30c2983dd2
4 changed files with 1 additions and 37 deletions

View File

@@ -107,6 +107,7 @@ mkdir -p './sssd/conf.d'
mkdir -p './sssd/pki'
mkdir -p './subversion'
mkdir -p './sysconfig/console'
mkdir -p './sysconfig/imunify360/imunify360.config.d'
mkdir -p './sysconfig/imunify360/malware-filters-admin-conf'
mkdir -p './sysconfig/modules'
mkdir -p './sysconfig/rhn/allowed-actions/configfiles'
@@ -5850,7 +5851,6 @@ maybe chmod 0660 'sysconfig/imunify360/.imunify360.backup_config'
maybe chmod 0755 'sysconfig/imunify360/generic'
maybe chmod 0660 'sysconfig/imunify360/generic/modsec.conf'
maybe chmod 0700 'sysconfig/imunify360/imunify360.config.d'
maybe chmod 0600 'sysconfig/imunify360/imunify360.config.d/10_on_first_install.config'
maybe chmod 0600 'sysconfig/imunify360/imunify360.config.rpmsave'
maybe chmod 0640 'sysconfig/imunify360/integration.conf'
maybe chmod 0755 'sysconfig/imunify360/malware-filters-admin-conf'
@@ -6099,8 +6099,6 @@ maybe chmod 0644 'yum.repos.d/epel-testing.repo'
maybe chmod 0644 'yum.repos.d/epel.repo'
maybe chmod 0644 'yum.repos.d/hashicorp.repo'
maybe chmod 0640 'yum.repos.d/immortal_immortal.repo'
maybe chmod 0644 'yum.repos.d/imunify360-testing.repo'
maybe chmod 0644 'yum.repos.d/imunify360.repo'
maybe chmod 0640 'yum.repos.d/kopia.repo'
maybe chmod 0640 'yum.repos.d/lynis.repo'
maybe chmod 0640 'yum.repos.d/mariadb.repo'

View File

@@ -1,22 +0,0 @@
# Here's config values that should override imunify360
# default settings for the first install
#
# (the intended priority is greater than the values in the agent code
# but less than any user(local) settings)
#
# DO NOT EDIT THE FILE, THE CHANGES WILL BE OVERWRITTEN
#
# to override it, put settings into a lexicographically greater file
# e.g., put 50-local-overrides.config file in
# /etc/sysconfig/imunify360/imunify360.config.d/ dir, see
# https://docs.imunify360.com/features/#overridable-config
#
PROACTIVE_DEFENCE:
php_immunity: True
LOGGER:
syscall_monitor: true
MALWARE_SCANNING:
enable_scan_cpanel: true
hyperscan: true
WEBSHIELD:
splash_screen: true

View File

@@ -1,6 +0,0 @@
[imunify360-testing]
name=EL-$releasever - Imunify360
baseurl=https://repo.imunify360.cloudlinux.com/defense360//el/$releasever/updates-testing/x86_64/
enabled=0
gpgcheck=1
gpgkey=https://repo.imunify360.cloudlinux.com/defense360//RPM-GPG-KEY-CloudLinux

View File

@@ -1,6 +0,0 @@
[imunify360]
name=EL-$releasever - Imunify360
baseurl=https://repo.imunify360.cloudlinux.com/defense360//el/$releasever/updates/x86_64/
enabled=1
gpgcheck=1
gpgkey=https://repo.imunify360.cloudlinux.com/defense360//RPM-GPG-KEY-CloudLinux