Linux ih01.iridiumhosting.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
LiteSpeed
Server IP : 67.227.241.211 & Your IP : 216.73.216.228
Domains :
Cant Read [ /etc/named.conf ]
User : dustinhy
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
MXB /
rear /
usr /
share /
rear /
backup /
YUM /
default /
Delete
Unzip
Name
Size
Permission
Date
Action
400_create_include_exclude_files.sh
6.16
KB
-rw-r--r--
2026-04-01 09:39
500_make_backup.sh
5.86
KB
-rw-r--r--
2026-04-01 09:39
600_capture_selinux_contexts.sh
1.24
KB
-rw-r--r--
2026-04-01 09:39
Save
Rename
# # backup/YUM/default/600_capture_selinux_contexts.sh # # Since SELinux security contexts could be set differently on the source system than # what the RPM-provided or non-RPM-provided files will have, we will capture the # security contexts for every file on the filesystem that will be in the backup archive if ! is_true "$YUM_BACKUP_FILES" ; then LogPrint "Not backing up SELinux contexts (YUM_BACKUP_FILES=$YUM_BACKUP_FILES)" return fi if ! is_true "$YUM_BACKUP_SELINUX_CONTEXTS" ; then LogPrint "Not backing up SELinux contexts (YUM_BACKUP_SELINUX_CONTEXTS=$YUM_BACKUP_SELINUX_CONTEXTS)" return fi LogPrint "Backing up SELinux contexts (YUM_BACKUP_SELINUX_CONTEXTS=$YUM_BACKUP_SELINUX_CONTEXTS)" # Try to care about possible errors # see https://github.com/rear/rear/wiki/Coding-Style set -e -u -o pipefail local yum_backup_dir=$( dirname "$backuparchive" ) test -d $yum_backup_dir || mkdir $verbose -p -m 755 $yum_backup_dir find $(cat $TMP_DIR/backup-include.txt) -xdev -exec stat -c "%C %n" {} \; | grep -E -w -v -f $TMP_DIR/backup-exclude.txt > $yum_backup_dir/selinux_contexts.dat # Go back from "set -e -u -o pipefail" to the defaults: apply_bash_flags_and_options_commands "$DEFAULT_BASH_FLAGS_AND_OPTIONS_COMMANDS"