saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
@@ -260,6 +260,8 @@ maybe chmod 0644 'clamav-unofficial-sigs/os.conf'
|
|||||||
maybe chown 'amavis' 'clamav-unofficial-sigs/user.conf'
|
maybe chown 'amavis' 'clamav-unofficial-sigs/user.conf'
|
||||||
maybe chgrp 'amavis' 'clamav-unofficial-sigs/user.conf'
|
maybe chgrp 'amavis' 'clamav-unofficial-sigs/user.conf'
|
||||||
maybe chmod 0644 'clamav-unofficial-sigs/user.conf'
|
maybe chmod 0644 'clamav-unofficial-sigs/user.conf'
|
||||||
|
maybe chown 'amavis' 'clamd.conf'
|
||||||
|
maybe chgrp 'amavis' 'clamd.conf'
|
||||||
maybe chmod 0640 'clamd.conf'
|
maybe chmod 0640 'clamd.conf'
|
||||||
maybe chown 'amavis' 'clamd.conf.rpmnew'
|
maybe chown 'amavis' 'clamd.conf.rpmnew'
|
||||||
maybe chgrp 'amavis' 'clamd.conf.rpmnew'
|
maybe chgrp 'amavis' 'clamd.conf.rpmnew'
|
||||||
@@ -267,10 +269,14 @@ maybe chmod 0644 'clamd.conf.rpmnew'
|
|||||||
maybe chown 'amavis' 'clamd.conf.rpmsave'
|
maybe chown 'amavis' 'clamd.conf.rpmsave'
|
||||||
maybe chgrp 'amavis' 'clamd.conf.rpmsave'
|
maybe chgrp 'amavis' 'clamd.conf.rpmsave'
|
||||||
maybe chmod 0644 'clamd.conf.rpmsave'
|
maybe chmod 0644 'clamd.conf.rpmsave'
|
||||||
|
maybe chown 'amavis' 'clamd.d'
|
||||||
|
maybe chgrp 'amavis' 'clamd.d'
|
||||||
maybe chmod 0755 'clamd.d'
|
maybe chmod 0755 'clamd.d'
|
||||||
maybe chown 'amavis' 'clamd.d/amavisd.conf'
|
maybe chown 'amavis' 'clamd.d/amavisd.conf'
|
||||||
maybe chgrp 'amavis' 'clamd.d/amavisd.conf'
|
maybe chgrp 'amavis' 'clamd.d/amavisd.conf'
|
||||||
maybe chmod 0644 'clamd.d/amavisd.conf'
|
maybe chmod 0644 'clamd.d/amavisd.conf'
|
||||||
|
maybe chown 'amavis' 'clamd.d/scan.conf'
|
||||||
|
maybe chgrp 'amavis' 'clamd.d/scan.conf'
|
||||||
maybe chmod 0644 'clamd.d/scan.conf'
|
maybe chmod 0644 'clamd.d/scan.conf'
|
||||||
maybe chown 'amavis' 'clamd.d/scan.conf.rpmnew'
|
maybe chown 'amavis' 'clamd.d/scan.conf.rpmnew'
|
||||||
maybe chgrp 'amavis' 'clamd.d/scan.conf.rpmnew'
|
maybe chgrp 'amavis' 'clamd.d/scan.conf.rpmnew'
|
||||||
@@ -5052,7 +5058,6 @@ maybe chmod 0644 'yum.repos.d/epel-playground.repo'
|
|||||||
maybe chmod 0644 'yum.repos.d/epel-testing-modular.repo'
|
maybe chmod 0644 'yum.repos.d/epel-testing-modular.repo'
|
||||||
maybe chmod 0644 'yum.repos.d/epel-testing.repo'
|
maybe chmod 0644 'yum.repos.d/epel-testing.repo'
|
||||||
maybe chmod 0644 'yum.repos.d/epel.repo'
|
maybe chmod 0644 'yum.repos.d/epel.repo'
|
||||||
maybe chmod 0644 'yum.repos.d/getpagespeed-extras.repo.rpmsave'
|
|
||||||
maybe chmod 0640 'yum.repos.d/immortal_immortal.repo'
|
maybe chmod 0640 'yum.repos.d/immortal_immortal.repo'
|
||||||
maybe chmod 0640 'yum.repos.d/lynis.repo'
|
maybe chmod 0640 'yum.repos.d/lynis.repo'
|
||||||
maybe chmod 0640 'yum.repos.d/mariadb.repo'
|
maybe chmod 0640 'yum.repos.d/mariadb.repo'
|
||||||
|
|||||||
@@ -26,6 +26,6 @@
|
|||||||
# 60 - 600 seconds. To Adjust the cron values, edit your configs and run
|
# 60 - 600 seconds. To Adjust the cron values, edit your configs and run
|
||||||
# bash clamav-unofficial-sigs.sh --install-cron to generate a new file.
|
# bash clamav-unofficial-sigs.sh --install-cron to generate a new file.
|
||||||
MAILTO=root
|
MAILTO=root
|
||||||
1 0 * * * amavis [ -x /usr/local/sbin/clamav-unofficial-sigs.sh ] && /usr/bin/bash /usr/local/sbin/clamav-unofficial-sigs.sh --force && /usr/bin/bash /usr/local/sbin/clamav-unofficial-sigs.sh --update && sudo systemctl restart clamd
|
1 0 * * * amavis [ -x /usr/local/sbin/clamav-unofficial-sigs.sh ] && /usr/bin/bash /usr/local/sbin/clamav-unofficial-sigs.sh --force && /usr/bin/bash /usr/local/sbin/clamav-unofficial-sigs.sh --update && chown amavis:amavis /etc/clamd.d/ -R && chown amavis:amavis /etc/clamd.conf && sudo systemctl restart clamd
|
||||||
# https://eXtremeSHOK.com ######################################################
|
# https://eXtremeSHOK.com ######################################################
|
||||||
|
|
||||||
|
|||||||
@@ -1,65 +0,0 @@
|
|||||||
####################################################
|
|
||||||
# GetPageSpeed.com extras repository configuration #
|
|
||||||
####################################################
|
|
||||||
[getpagespeed-extras]
|
|
||||||
name=GetPageSpeed packages for Enterprise Linux 8 - $basearch
|
|
||||||
baseurl=https://extras.getpagespeed.com/redhat/8/$basearch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GETPAGESPEED
|
|
||||||
repo_gpgcheck=0
|
|
||||||
module_hotfixes=1
|
|
||||||
|
|
||||||
[getpagespeed-extras-noarch]
|
|
||||||
name=GetPageSpeed packages for Enterprise Linux 8 - noarch
|
|
||||||
baseurl=https://extras.getpagespeed.com/redhat/8/noarch/
|
|
||||||
enabled=1
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GETPAGESPEED
|
|
||||||
repo_gpgcheck=0
|
|
||||||
module_hotfixes=1
|
|
||||||
|
|
||||||
[getpagespeed-extras-varnish60]
|
|
||||||
name=GetPageSpeed packages of Varnish 6 LTS for Enterprise Linux 8 - $basearch
|
|
||||||
baseurl=https://extras.getpagespeed.com/redhat/8/varnish60/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GETPAGESPEED
|
|
||||||
repo_gpgcheck=0
|
|
||||||
module_hotfixes=1
|
|
||||||
|
|
||||||
[getpagespeed-extras-nginx-mod]
|
|
||||||
name=GetPageSpeed packages with patched NGINX for Enterprise Linux 8
|
|
||||||
baseurl=https://extras.getpagespeed.com/redhat/8/nginx-mod/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GETPAGESPEED
|
|
||||||
repo_gpgcheck=0
|
|
||||||
module_hotfixes=1
|
|
||||||
|
|
||||||
[getpagespeed-extras-mainline]
|
|
||||||
name=GetPageSpeed packages of mainline NGINX for Enterprise Linux 8 - $basearch
|
|
||||||
baseurl=https://extras.getpagespeed.com/redhat/8/mainline/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GETPAGESPEED
|
|
||||||
repo_gpgcheck=0
|
|
||||||
module_hotfixes=1
|
|
||||||
|
|
||||||
[getpagespeed-extras-cmake-latest]
|
|
||||||
name=GetPageSpeed packages of latest cmake for Enterprise Linux 8 - $basearch
|
|
||||||
baseurl=https://extras.getpagespeed.com/redhat/8/cmake-latest/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GETPAGESPEED
|
|
||||||
repo_gpgcheck=0
|
|
||||||
module_hotfixes=1
|
|
||||||
|
|
||||||
[getpagespeed-extras-tengine]
|
|
||||||
name=GetPageSpeed packages of Tengine for Enterprise Linux 8 - $basearch
|
|
||||||
baseurl=https://extras.getpagespeed.com/redhat/8/tengine/$basearch/
|
|
||||||
enabled=0
|
|
||||||
gpgcheck=1
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-GETPAGESPEED
|
|
||||||
repo_gpgcheck=0
|
|
||||||
module_hotfixes=1
|
|
||||||
Reference in New Issue
Block a user