saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2023-06-12 09:28:21 +03:00
parent e785e0b85d
commit c0fa2707f8
44 changed files with 4460 additions and 47 deletions

View File

@@ -12,6 +12,7 @@ mkdir -p './X11/applnk'
mkdir -p './X11/xorg.conf.d'
mkdir -p './ansible/roles'
mkdir -p './authselect/custom'
mkdir -p './avahi/services'
mkdir -p './binfmt.d'
mkdir -p './cagefs/conf.d'
mkdir -p './cagefs/exclude'
@@ -19,6 +20,8 @@ mkdir -p './chkconfig.d'
mkdir -p './cl.selector/php.extensions.d'
mkdir -p './cron.weekly'
mkdir -p './crypto-policies/policies/modules'
mkdir -p './cups/ppd'
mkdir -p './cups/ssl'
mkdir -p './cxs/newusers'
mkdir -p './dbus-1/session.d'
mkdir -p './dconf/db/local.d/locks'
@@ -248,6 +251,12 @@ maybe chmod 0644 'authselect/smartcard-auth'
maybe chmod 0644 'authselect/system-auth'
maybe chmod 0644 'authselect/user-nsswitch.conf'
maybe chmod 0644 'authselect/user-nsswitch.conf.save_by_rpm'
maybe chmod 0755 'avahi'
maybe chmod 0644 'avahi/avahi-daemon.conf'
maybe chmod 0755 'avahi/etc'
maybe chmod 0644 'avahi/etc/localtime'
maybe chmod 0644 'avahi/hosts'
maybe chmod 0755 'avahi/services'
maybe chmod 0755 'awstats'
maybe chmod 0644 'awstats/awstats.192.168.1.2.conf'
maybe chmod 0644 'awstats/awstats.club3d.ro.conf'
@@ -441,6 +450,33 @@ maybe chmod 0600 'csf/ui/ui.ban'
maybe chmod 0600 'csf/version.txt'
maybe chmod 0644 'csh.cshrc'
maybe chmod 0644 'csh.login'
maybe chgrp 'lp' 'cups'
maybe chmod 0755 'cups'
maybe chgrp 'lp' 'cups/classes.conf'
maybe chmod 0600 'cups/classes.conf'
maybe chgrp 'lp' 'cups/client.conf'
maybe chmod 0644 'cups/client.conf'
maybe chmod 0644 'cups/cups-browsed.conf'
maybe chgrp 'lp' 'cups/cups-files.conf'
maybe chmod 0640 'cups/cups-files.conf'
maybe chgrp 'lp' 'cups/cups-files.conf.default'
maybe chmod 0640 'cups/cups-files.conf.default'
maybe chgrp 'lp' 'cups/cupsd.conf'
maybe chmod 0640 'cups/cupsd.conf'
maybe chgrp 'lp' 'cups/cupsd.conf.default'
maybe chmod 0640 'cups/cupsd.conf.default'
maybe chgrp 'lp' 'cups/lpoptions'
maybe chmod 0644 'cups/lpoptions'
maybe chgrp 'lp' 'cups/ppd'
maybe chmod 0755 'cups/ppd'
maybe chgrp 'lp' 'cups/printers.conf'
maybe chmod 0600 'cups/printers.conf'
maybe chgrp 'lp' 'cups/snmp.conf'
maybe chmod 0644 'cups/snmp.conf'
maybe chgrp 'lp' 'cups/snmp.conf.default'
maybe chmod 0640 'cups/snmp.conf.default'
maybe chgrp 'lp' 'cups/ssl'
maybe chmod 0700 'cups/ssl'
maybe chmod 0611 'cxs'
maybe chmod 0600 'cxs/changelog.txt'
maybe chmod 0700 'cxs/cpanelsuspend.example.pl'
@@ -489,9 +525,11 @@ maybe chmod 0644 'dbus-1/session.conf'
maybe chmod 0755 'dbus-1/session.d'
maybe chmod 0644 'dbus-1/system.conf'
maybe chmod 0755 'dbus-1/system.d'
maybe chmod 0644 'dbus-1/system.d/avahi-dbus.conf'
maybe chmod 0644 'dbus-1/system.d/com.redhat.RHSM1.Facts.conf'
maybe chmod 0644 'dbus-1/system.d/com.redhat.RHSM1.conf'
maybe chmod 0644 'dbus-1/system.d/com.redhat.tuned.conf'
maybe chmod 0444 'dbus-1/system.d/cups.conf'
maybe chmod 0644 'dbus-1/system.d/nm-dispatcher.conf'
maybe chmod 0644 'dbus-1/system.d/nm-ifcfg-rh.conf'
maybe chmod 0644 'dbus-1/system.d/oddjob-mkhomedir.conf'
@@ -923,6 +961,12 @@ maybe chmod 0755 'fonts'
maybe chmod 0755 'fonts/conf.d'
maybe chmod 0644 'fonts/conf.d/README'
maybe chmod 0644 'fonts/fonts.conf'
maybe chmod 0755 'freeipmi'
maybe chmod 0600 'freeipmi/freeipmi.conf'
maybe chmod 0644 'freeipmi/freeipmi_interpret_sel.conf'
maybe chmod 0644 'freeipmi/freeipmi_interpret_sensor.conf'
maybe chmod 0600 'freeipmi/ipmidetect.conf'
maybe chmod 0600 'freeipmi/libipmiconsole.conf'
maybe chmod 0600 'freshclam.conf'
maybe chmod 0600 'freshclam.conf.rpmnew'
maybe chown 'amavis' 'freshclam.conf.rpmsave'
@@ -3264,6 +3308,7 @@ maybe chmod 0644 'logrotate.d/aide'
maybe chmod 0644 'logrotate.d/btmp'
maybe chmod 0644 'logrotate.d/chrony'
maybe chmod 0644 'logrotate.d/clamav-unofficial-sigs'
maybe chmod 0644 'logrotate.d/cups'
maybe chmod 0644 'logrotate.d/dnf'
maybe chmod 0644 'logrotate.d/fail2ban'
maybe chmod 0640 'logrotate.d/fail2ban.rpmsave'
@@ -4912,6 +4957,7 @@ maybe chmod 0644 'pam.d/chsh'
maybe chmod 0644 'pam.d/cockpit'
maybe chmod 0644 'pam.d/config-util'
maybe chmod 0644 'pam.d/crond'
maybe chmod 0444 'pam.d/cups'
maybe chmod 0644 'pam.d/dovecot'
maybe chmod 0644 'pam.d/fingerprint-auth'
maybe chmod 0644 'pam.d/login'
@@ -5974,6 +6020,7 @@ maybe chmod 0755 'systemd/system/nfs-mountd.service.requires'
maybe chmod 0755 'systemd/system/nfs-server.service.requires'
maybe chmod 0755 'systemd/system/nginx.service.d'
maybe chmod 0755 'systemd/system/php-fpm.service.d'
maybe chmod 0755 'systemd/system/printer.target.wants'
maybe chmod 0755 'systemd/system/redis-sentinel.service.d'
maybe chmod 0644 'systemd/system/redis-sentinel.service.d/limit.conf'
maybe chmod 0755 'systemd/system/redis.service.d'
@@ -6108,6 +6155,7 @@ maybe chmod 0644 'yum.repos.d/almalinux.repo'
maybe chmod 0640 'yum.repos.d/atomic.repo'
maybe chmod 0640 'yum.repos.d/bestcrypt.repo'
maybe chmod 0644 'yum.repos.d/cert-forensics-tools.repo'
maybe chmod 0640 'yum.repos.d/crowdsec_crowdsec.repo'
maybe chmod 0644 'yum.repos.d/docker-ce.repo'
maybe chmod 0644 'yum.repos.d/elrepo.repo'
maybe chmod 0644 'yum.repos.d/epel-modular.repo'