diff --git a/.gitea/trigger/t_generate_PRIVATE_trixie_0.yaml b/.gitea/trigger/t_generate_PRIVATE_trixie_0.yaml index bd5599b..811a438 100644 --- a/.gitea/trigger/t_generate_PRIVATE_trixie_0.yaml +++ b/.gitea/trigger/t_generate_PRIVATE_trixie_0.yaml @@ -11,5 +11,5 @@ build: counter: 1023 - version: V8.13.144.2025.10.16 + version: V8.13.192.2025.10.18 # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml diff --git a/.gitea/trigger/t_generate_PRIVATE_trixie_1.yaml b/.gitea/trigger/t_generate_PRIVATE_trixie_1.yaml index bd5599b..811a438 100644 --- a/.gitea/trigger/t_generate_PRIVATE_trixie_1.yaml +++ b/.gitea/trigger/t_generate_PRIVATE_trixie_1.yaml @@ -11,5 +11,5 @@ build: counter: 1023 - version: V8.13.144.2025.10.16 + version: V8.13.192.2025.10.18 # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml diff --git a/.gitea/trigger/t_generate_PUBLIC.yaml b/.gitea/trigger/t_generate_PUBLIC.yaml index 2ba5a04..713379f 100644 --- a/.gitea/trigger/t_generate_PUBLIC.yaml +++ b/.gitea/trigger/t_generate_PUBLIC.yaml @@ -11,5 +11,5 @@ build: counter: 1023 - version: V8.13.144.2025.10.16 + version: V8.13.192.2025.10.18 # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml diff --git a/config/hooks/live/9990_final_purge.chroot b/config/hooks/live/9990_final_purge.chroot index b412f9d..9feb47a 100644 --- a/config/hooks/live/9990_final_purge.chroot +++ b/config/hooks/live/9990_final_purge.chroot @@ -19,9 +19,9 @@ export DEBIAN_FRONTEND="noninteractive" apt-get update -qq -apt-get purge -y exim4 exim4-daemon-light exim4-base exim4-config qemu-guest-agent rmail +apt-get purge -y exim4 exim4-daemon-light exim4-base exim4-config postfix-mta-sts-resolver postfix qemu-guest-agent rmail -apt-mark hold exim4 exim4-daemon-light exim4-base exim4-config qemu-guest-agent rmail +apt-mark hold exim4 exim4-daemon-light exim4-base exim4-config postfix-mta-sts-resolver postfix qemu-guest-agent rmail dpkg --get-selections | grep deinstall >| /tmp/deinstall.log || true diff --git a/config/includes.chroot/root/.bashrc b/config/includes.chroot/root/.bashrc index 96f165b..0b22e15 100644 --- a/config/includes.chroot/root/.bashrc +++ b/config/includes.chroot/root/.bashrc @@ -33,18 +33,26 @@ source /root/.ciss/scan_libwrap ### Preferred editor for local and remote sessions. export EDITOR="nano" -# Optional, cautious filters (avoids trivial leaks, but not foolproof). Caution: HISTIGNORE is coarse-grained, don't overdo it. -export HISTIGNORE='*PASS*:*pass*:*secret*:*token*:*API_KEY*:*' +### History-Settings +# The name of the file in which command history is saved. The default value is ~/.bash_history. If unset, the command history +# is not saved when a shell exits. +export HISTFILE="${XDG_STATE_HOME}/bash/history" + +touch "${HISTFILE}" +chmod 0660 "${HISTFILE}" +chown root:root "${HISTFILE}" -### History -touch /tmp/.bash_history -chmod 0600 /tmp/.bash_history -chown root:root /tmp/.bash_history -export HISTFILE=/tmp/.bash_history export HISTSIZE=2048 export HISTFILESIZE=2048 shopt -s histappend +# Optional, cautious filters (avoids trivial leaks, but not foolproof). Caution: HISTIGNORE is coarse-grained, don't overdo it. +export HISTIGNORE='*PASS*:*pass*:*secret*:*token*:*API_KEY*' + +# -'ignoreboth' Do not put duplicate lines or lines starting with space in the history. +# -'erasedups' Causes all previous lines matching the current line to be removed from the history before that line is saved. +export HISTCONTROL='ignoreboth:erasedups' + ### Define colors for bash prompt export CRED='\033[1;91m' export CGRE='\033[1;92m'