saving uncommitted changes in /etc prior to dnf run

This commit is contained in:
2021-11-20 01:22:49 +02:00
parent 169425f7ea
commit 0c926bb810
37 changed files with 3 additions and 4695 deletions

View File

@@ -21,23 +21,22 @@ mkdir -p './dbus-1/session.d'
mkdir -p './dnf/aliases.d'
mkdir -p './dnf/modules.defaults.d'
mkdir -p './dnf/plugins/copr.d'
mkdir -p './egl/egl_external_platform.d'
mkdir -p './exports.d'
mkdir -p './fail2ban/fail2ban.d'
mkdir -p './falco/rules.d'
mkdir -p './firewalld/helpers'
mkdir -p './firewalld/icmptypes'
mkdir -p './firewalld/ipsets'
mkdir -p './firewalld/policies'
mkdir -p './firewalld/services'
mkdir -p './glvnd/egl_vendor.d'
mkdir -p './glvnd'
mkdir -p './gnupg'
mkdir -p './groff/site-font'
mkdir -p './immortal'
mkdir -p './incron.d'
mkdir -p './java/security/security.d'
mkdir -p './jvm'
mkdir -p './jvm-commmon'
mkdir -p './kernel/postinst.d'
mkdir -p './kernel/prerm.d'
mkdir -p './keyutils'
mkdir -p './letsencrypt/renewal-hooks/deploy'
mkdir -p './letsencrypt/renewal-hooks/post'
@@ -101,7 +100,6 @@ mkdir -p './systemd/system/php-fpm.service.d'
mkdir -p './terminfo'
mkdir -p './tuned/recommend.d'
mkdir -p './udev/hwdb.d'
mkdir -p './xdg/QtProject'
maybe chmod 0755 '.'
maybe chmod 0700 '.etckeeper'
maybe chmod 0640 '.gitignore'
@@ -148,7 +146,6 @@ maybe chmod 0755 'X11/applnk'
maybe chmod 0755 'X11/fontpath.d'
maybe chmod 0755 'X11/xinit'
maybe chmod 0755 'X11/xinit/xinitrc.d'
maybe chmod 0755 'X11/xinit/xinitrc.d/10-qt5-check-opengl2.sh'
maybe chmod 0755 'X11/xinit/xinitrc.d/50-systemd-user.sh'
maybe chmod 0755 'X11/xorg.conf.d'
maybe chmod 0600 'aide.conf'
@@ -484,11 +481,6 @@ maybe chmod 0750 'dhcp'
maybe chmod 0644 'dhcp/dhclient.conf'
maybe chmod 0755 'dhcp/dhclient.d'
maybe chmod 0755 'dhcp/dhclient.d/chrony.sh'
maybe chmod 0755 'dkms'
maybe chmod 0644 'dkms/framework.conf'
maybe chmod 0755 'dkms/sign_helper.sh'
maybe chmod 0644 'dkms/template-dkms-mkrpm.spec'
maybe chmod 0644 'dkms/template-dkms-redhat-kmod.spec'
maybe chmod 0755 'dnf'
maybe chmod 0755 'dnf/aliases.d'
maybe chmod 0644 'dnf/dnf.conf'
@@ -618,8 +610,6 @@ maybe chmod 0640 'dovecot/trash.conf'
maybe chmod 0644 'dracut.conf'
maybe chmod 0755 'dracut.conf.d'
maybe chmod 0644 'dracut.conf.d/40-fips.conf'
maybe chmod 0755 'egl'
maybe chmod 0755 'egl/egl_external_platform.d'
maybe chmod 0644 'environment'
maybe chmod 0755 'environment-modules'
maybe chmod 0644 'environment-modules/initrc'
@@ -846,14 +836,6 @@ maybe chmod 0644 'fail2ban/jail.d/recidive.conf'
maybe chmod 0640 'fail2ban/jail.local'
maybe chmod 0644 'fail2ban/paths-common.conf'
maybe chmod 0644 'fail2ban/paths-fedora.conf'
maybe chmod 0755 'falco'
maybe chmod 0644 'falco/falco.yaml'
maybe chmod 0644 'falco/falco_rules.local.yaml'
maybe chmod 0644 'falco/falco_rules.yaml'
maybe chmod 0644 'falco/k8s_audit_rules.yaml'
maybe chmod 0755 'falco/rules.available'
maybe chmod 0644 'falco/rules.available/application_rules.yaml'
maybe chmod 0755 'falco/rules.d'
maybe chmod 0644 'filesystems'
maybe chmod 0750 'firewalld'
maybe chmod 0644 'firewalld/firewalld.conf'
@@ -884,7 +866,6 @@ maybe chmod 0644 'gdbinit.d/golang.gdb'
maybe chmod 0755 'glances'
maybe chmod 0644 'glances/glances.conf'
maybe chmod 0755 'glvnd'
maybe chmod 0755 'glvnd/egl_vendor.d'
maybe chmod 0755 'gnupg'
maybe chmod 0640 'grc.conf'
maybe chmod 0640 'grc.fish'
@@ -964,7 +945,6 @@ maybe chmod 0644 'httpd/conf.modules.d/README'
maybe chmod 0644 'httpd/conf/httpd.conf'
maybe chmod 0644 'httpd/conf/magic'
maybe chmod 0644 'idmapd.conf'
maybe chmod 0755 'immortal'
maybe chmod 0644 'incron.conf'
maybe chmod 0755 'incron.d'
maybe chmod 0644 'inittab'
@@ -1010,11 +990,8 @@ maybe chmod 0755 'kernel'
maybe chmod 0755 'kernel/install.d'
maybe chmod 0644 'kernel/install.d/20-grubby.install'
maybe chmod 0644 'kernel/install.d/90-loaderentry.install'
maybe chmod 0755 'kernel/install.d/dkms'
maybe chmod 0755 'kernel/postinst.d'
maybe chmod 0755 'kernel/postinst.d/dkms'
maybe chmod 0755 'kernel/prerm.d'
maybe chmod 0755 'kernel/prerm.d/dkms'
maybe chmod 0755 'keyutils'
maybe chmod 0644 'krb5.conf'
maybe chmod 0755 'krb5.conf.d'
@@ -4496,8 +4473,6 @@ maybe chmod 0755 'qemu-kvm'
maybe chmod 0755 'rc.d'
maybe chmod 0755 'rc.d/init.d'
maybe chmod 0644 'rc.d/init.d/README'
maybe chmod 0755 'rc.d/init.d/bestcrypt'
maybe chmod 0755 'rc.d/init.d/falco'
maybe chmod 0644 'rc.d/init.d/functions'
maybe chmod 0755 'rc.d/init.d/network'
maybe chmod 0755 'rc.d/init.d/rundeckd'
@@ -5062,7 +5037,6 @@ maybe chmod 0644 'udev/rules.d/70-persistent-ipoib.rules'
maybe chmod 0644 'udev/rules.d/70-snap.snapd.rules'
maybe chmod 0644 'udev/rules.d/75-cd-aliases-generator.rules'
maybe chmod 0644 'udev/rules.d/75-persistent-net-generator.rules'
maybe chmod 0644 'udev/rules.d/90-bcrypt-device-permissions.rules'
maybe chmod 0644 'udev/udev.conf'
maybe chmod 0755 'unbound'
maybe chmod 0644 'unbound/icannbundle.pem'
@@ -5113,12 +5087,8 @@ maybe chmod 0700 'wireguard'
maybe chmod 0644 'wireguard/wg0.conf'
maybe chmod 0644 'xattr.conf'
maybe chmod 0755 'xdg'
maybe chmod 0755 'xdg/QtProject'
maybe chmod 0755 'xdg/autostart'
maybe chmod 0644 'xdg/autostart/bestcrypt-panel.desktop'
maybe chmod 0644 'xdg/autostart/snap-userd-autostart.desktop'
maybe chmod 0755 'xdg/qtchooser'
maybe chmod 0644 'xdg/qtchooser/5-64.conf'
maybe chmod 0755 'xdg/systemd'
maybe chmod 0600 'xinetd.conf'
maybe chmod 0755 'xinetd.d'