committing changes in /etc made by "-bash"

Package changes:
This commit is contained in:
2022-07-05 13:32:58 +03:00
parent 7afc17c186
commit 019b8090a3
16 changed files with 3 additions and 225 deletions

View File

@@ -18,7 +18,6 @@ mkdir -p './cron.weekly'
mkdir -p './crypto-policies/policies/modules'
mkdir -p './cxs/newusers'
mkdir -p './dbus-1/session.d'
mkdir -p './dkms/framework.conf.d'
mkdir -p './dnf/aliases.d'
mkdir -p './dnf/modules.defaults.d'
mkdir -p './dnf/plugins/copr.d'
@@ -29,6 +28,7 @@ mkdir -p './firewalld/icmptypes'
mkdir -p './firewalld/ipsets'
mkdir -p './firewalld/policies'
mkdir -p './firewalld/services'
mkdir -p './gdbinit.d'
mkdir -p './glances'
mkdir -p './glvnd'
mkdir -p './gnupg'
@@ -37,6 +37,8 @@ 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'
@@ -488,9 +490,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/framework.conf.d'
maybe chmod 0755 'dnf'
maybe chmod 0755 'dnf/aliases.d'
maybe chmod 0644 'dnf/dnf.conf'
@@ -888,7 +887,6 @@ maybe chmod 0755 'gcrypt'
maybe chmod 0644 'gcrypt/random.conf'
maybe chmod 0644 'gdbinit'
maybe chmod 0755 'gdbinit.d'
maybe chmod 0644 'gdbinit.d/golang.gdb'
maybe chmod 0755 'glances'
maybe chmod 0755 'glvnd'
maybe chmod 0755 'gnupg'
@@ -1019,11 +1017,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'
@@ -4671,8 +4666,6 @@ maybe chmod 0600 'ppp/pap-secrets'
maybe chmod 0755 'ppp/peers'
maybe chmod 0644 'ppp/peers/vpn_gazduire.ro'
maybe chmod 0644 'pptpd.conf'
maybe chmod 0755 'prelink.conf.d'
maybe chmod 0644 'prelink.conf.d/golang.conf'
maybe chmod 0644 'printcap'
maybe chmod 0644 'profile'
maybe chmod 0755 'profile.d'
@@ -4786,7 +4779,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 0644 'rc.d/init.d/functions'
maybe chmod 0755 'rc.d/init.d/network'
maybe chmod 0755 'rc.d/init.d/rundeckd'
@@ -5357,7 +5349,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'

View File

@@ -1,36 +0,0 @@
# This configuration file modifies the behavior of DKMS (Dynamic Kernel Module
# Support) and is sourced in by DKMS every time it is run.
# Source Tree Location (default: /usr/src):
# source_tree="/usr/src"
# DKMS Tree Location (default: /var/lib/dkms):
# dkms_tree="/var/lib/dkms"
# Install Tree Location (default: /lib/modules):
# install_tree="/lib/modules"
# Temporary folder Location (default: /tmp):
# tmp_location="/tmp"
# Verbosity setting, will be active if set to a non-null value:
# verbose=""
# This creates symlinks from the install_tree into the dkms_tree instead of
# copying the modules. This preserves some space on the costs of being less
# safe. Symlinking will be active if set to a non-null value:
# symlink_modules=""
# Automatic installation and upgrade for all installed kernels if set to a
# non-null value:
# autoinstall_all_kernels=""
# Location of the sign-file kernel binary (default: depends on distributioin):
# sign_file="/path/to/sign-file"
# Location of the key and certificate used for Secure boot (default: /var/lib/dkms):
# mok_signing_key: /var/lib/dkms/mok.key
# mok_certificate: /var/lib/dkms/mok.pub
# Automatically modprobe the built modules upon succesful installation:
modprobe_on_install="true"

View File

@@ -1 +0,0 @@
add-auto-load-safe-path /usr/lib/golang/src/pkg/runtime/runtime-gdb.py

View File

@@ -1,9 +0,0 @@
#!/bin/sh
if [ "$1" = "add" ]; then
/etc/kernel/postinst.d/dkms "$2"
fi
if [ "$1" = "remove" ]; then
/etc/kernel/prerm.d/dkms "$2"
fi

View File

@@ -1,44 +0,0 @@
#!/bin/sh
# We're passed the version of the kernel being installed
inst_kern=$1
uname_s=$(uname -s)
_get_kernel_dir() {
KVER=$1
case ${uname_s} in
Linux) DIR="/lib/modules/$KVER/build" ;;
GNU/kFreeBSD) DIR="/usr/src/kfreebsd-headers-$KVER/sys" ;;
esac
echo "$DIR"
}
_check_kernel_dir() {
DIR=$(_get_kernel_dir "$1")
case ${uname_s} in
Linux) test -e "$DIR/include" ;;
GNU/kFreeBSD) test -e "$DIR/kern" && test -e "$DIR/conf/kmod.mk" ;;
*) false ;;
esac
}
case "${uname_s}" in
Linux)
header_pkg="linux-headers-$inst_kern"
kernel="Linux"
;;
GNU/kFreeBSD)
header_pkg="kfreebsd-headers-$inst_kern"
kernel="kFreeBSD"
;;
esac
if [ -x /usr/lib/dkms/dkms_autoinstaller ]; then
exec /usr/lib/dkms/dkms_autoinstaller start "$inst_kern"
fi
if ! _check_kernel_dir "$inst_kern" ; then
echo "dkms: WARNING: $kernel headers are missing, which may explain the above failures." >&2
echo " please install the $header_pkg package to fix this." >&2
fi

View File

@@ -1,18 +0,0 @@
#!/bin/sh
# We're passed the version of the kernel being removed
inst_kern=$1
if command -v dkms > /dev/null; then
dkms status -k "$inst_kern" 2>/dev/null | while IFS=",:/ " read -r name vers _ arch status; do
[ "$status" = "installed" ] || continue
echo "dkms: removing: $name $vers ($inst_kern) ($arch)" >&2
dkms remove -m "$name" -v "$vers" -k "$inst_kern" -a "$arch"
done
fi
rmdir --ignore-fail-on-non-empty \
"/lib/modules/$inst_kern/updates/dkms" \
"/lib/modules/$inst_kern/updates" 2>/dev/null
exit 0

View File

@@ -1,3 +0,0 @@
# there are ELF files in src which are testdata and shouldn't be modified
-b /usr/lib/golang/src
-b /usr/lib64/golang/src

View File

@@ -1,93 +0,0 @@
#!/bin/sh
# Copyright 2010-2016 Jetico Inc. Oy
# All rights reserved.
# chkconfig: 345 99 01
# description: BestCrypt for Linux
#
### BEGIN INIT INFO
# Provides: bestcrypt
# Required-Start: dkms
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: BestCrypt for Linux
# Description: BestCrypt for Linux
### END INIT INFO
KERNEL_VERSION=`uname -r|sed 's/\(.\..\).*/\1/'`
case "$1" in
start)
echo "Starting BestCrypt..."
rm -rf /dev/bcrypt?* 2>/dev/null
depmod -a
modprobe bestcrypt
modprobe bc_blowfish
modprobe bc_des
modprobe bc_gost
modprobe bc_camellia
modprobe bc_twofish
modprobe bc_bf448
modprobe bc_bf128
modprobe bc_3des
modprobe bc_idea
modprobe bc_rijn
modprobe bc_cast
modprobe bc_serpent
modprobe bc_rc6
#modprobe bc_noop
echo "Started."
;;
stop)
echo "Stopping BestCrypt..."
if bctool is_guard_on ; then
echo "on" > "$HOME"/.config/Jetico/guard_status
else
echo "off" > "$HOME"/.config/Jetico/guard_status
fi
bctool umountall
for i in `lsmod | egrep "^\"?bc_.*\"?" | awk '{print $1}' `; do
rmmod $i;
done
rmmod bestcrypt
echo "Stopped."
;;
status)
if [ -f /sys/class/misc/bestcrypt ] ; then
echo "BestCrypt driver is loaded. List of loaded algorithms:\n"
ls /sys/class/misc/bectcrypt/plugins
else
echo "SysFS entry unavailable, possibly driver is not running."
fi
if bctool is_guard_on ; then
echo "BestCrypt container file guard is on"
fi
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit 1
esac
exit 0

View File

@@ -1 +0,0 @@
../init.d/bestcrypt

View File

@@ -1 +0,0 @@
../init.d/bestcrypt

View File

@@ -1 +0,0 @@
../init.d/bestcrypt

View File

@@ -1 +0,0 @@
../init.d/bestcrypt

View File

@@ -1 +0,0 @@
../init.d/bestcrypt

View File

@@ -1 +0,0 @@
../init.d/bestcrypt

View File

@@ -1 +0,0 @@
../init.d/bestcrypt

View File

@@ -1,2 +0,0 @@
KERNEL=="bcrypt*", MODE="0666", ENV{UDISKS_PRESENTATION_NOPOLICY}="1"
KERNEL=="bestcrypt", MODE="0755"