From 13ae746bfdc472d2decb2e6432a7cbdb6abdbe45 Mon Sep 17 00:00:00 2001 From: dirkmueller <> Date: Jan 03 2025 17:28:55 +0000 Subject: Update aaa_base to version 84.87+git20250102.c08e614 / rev 506 via SR 1234578 https://build.opensuse.org/request/show/1234578 by user dirkmueller + anag+factory - Update to version 84.87+git20250102.c08e614: * Load distrobox_profile.sh --- diff --git a/.files b/.files index 315bd1f..36178f3 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index e319fbf..1bed327 100644 --- a/.rev +++ b/.rev @@ -4201,4 +4201,33 @@ * cleanup aaa_base.post and fold back into specfile (forwarded request 1192950 from kukuk) 1192951 + + 88812fd9e071b7c75b5a2ec5791501ee + 84.87+git20240821.fbabe1d + + anag+factory + - Update to version 84.87+git20240821.fbabe1d: + * Add helper service for soft-reboot (forwarded request 1195034 from kukuk) + 1195035 + + + 625e721b2b469f04942cdf6e1cc47150 + 84.87+git20240906.742565b + + anag+factory + - Update to version 84.87+git20240906.742565b: + * yama-enable-ptrace: enforce changed behavior upon installation (bsc#1221763) + * Avoid unnecessary /bin/bash dependency + * sysctl: Fixup of not setting kernel.pid_max on 32b archs (bsc#1227117) + 1199142 + + + 542237a8361a5fc215f62ae1972a5c37 + 84.87+git20250102.c08e614 + + anag+factory + - Update to version 84.87+git20250102.c08e614: + * Load distrobox_profile.sh + 1234578 + diff --git a/_servicedata b/_servicedata index d090c9f..08d6e02 100644 --- a/_servicedata +++ b/_servicedata @@ -1,5 +1,5 @@ https://github.com/openSUSE/aaa_base.git - 5d13eb4bf0438b5c6c9624b64d1eda2fb2459112 + c08e614a731e012df4ba802d5bee45ae6041697a \ No newline at end of file diff --git a/aaa_base-84.87+git20240809.5d13eb4.tar b/aaa_base-84.87+git20240809.5d13eb4.tar deleted file mode 120000 index a855942..0000000 --- a/aaa_base-84.87+git20240809.5d13eb4.tar +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeiheego7pokv4fhwzo47ufktxytbgifpudy5ex2a6cpt5u22uh5xfq \ No newline at end of file diff --git a/aaa_base-84.87+git20250102.c08e614.tar b/aaa_base-84.87+git20250102.c08e614.tar new file mode 120000 index 0000000..053446e --- /dev/null +++ b/aaa_base-84.87+git20250102.c08e614.tar @@ -0,0 +1 @@ +/ipfs/bafybeicjgzcexrghvwmfvclrwjjr4nnommdekwhtnrled2unlppfcrrmgm \ No newline at end of file diff --git a/aaa_base.changes b/aaa_base.changes index af3fb5c..1a08a28 100644 --- a/aaa_base.changes +++ b/aaa_base.changes @@ -1,4 +1,24 @@ ------------------------------------------------------------------- +Thu Jan 02 15:03:01 UTC 2025 - dmueller@suse.com + +- Update to version 84.87+git20250102.c08e614: + * Load distrobox_profile.sh + +------------------------------------------------------------------- +Fri Sep 06 09:04:40 UTC 2024 - dmueller@suse.com + +- Update to version 84.87+git20240906.742565b: + * yama-enable-ptrace: enforce changed behavior upon installation (bsc#1221763) + * Avoid unnecessary /bin/bash dependency + * sysctl: Fixup of not setting kernel.pid_max on 32b archs (bsc#1227117) + +------------------------------------------------------------------- +Wed Aug 21 08:51:24 UTC 2024 - kukuk@suse.com + +- Update to version 84.87+git20240821.fbabe1d: + * Add helper service for soft-reboot + +------------------------------------------------------------------- Fri Aug 09 13:44:32 UTC 2024 - kukuk@suse.com - Update to version 84.87+git20240809.5d13eb4: diff --git a/aaa_base.spec b/aaa_base.spec index 5a6c3d9..32f6126 100644 --- a/aaa_base.spec +++ b/aaa_base.spec @@ -1,7 +1,7 @@ # # spec file for package aaa_base # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -33,7 +33,7 @@ BuildRequires: git-core %endif Name: aaa_base -Version: 84.87+git20240809.5d13eb4%{git_version} +Version: 84.87+git20250102.c08e614%{git_version} Release: 0 Summary: openSUSE Base Package License: GPL-2.0-or-later @@ -154,6 +154,12 @@ mkdir -p %{buildroot}%{_fillupdir} rm -vrf %{buildroot}/usr/share/fillup-templates %endif +%pre +%service_add_pre soft-reboot-cleanup.service + +%preun +%service_del_preun soft-reboot-cleanup.service + %post export LC_ALL=C @@ -169,6 +175,10 @@ fi %{fillup_only -n language} %{fillup_only -n proxy} +%service_add_post soft-reboot-cleanup.service + +%postun +%service_del_postun_without_restart soft-reboot-cleanup.service %pre extras %service_add_pre backup-rpmdb.service backup-rpmdb.timer backup-sysconfig.service backup-sysconfig.timer check-battery.service check-battery.timer @@ -183,6 +193,22 @@ fi %postun extras %service_del_postun backup-rpmdb.service backup-rpmdb.timer backup-sysconfig.service backup-sysconfig.timer check-battery.service check-battery.timer +%post yama-enable-ptrace +# check if yama is active +if [ -f /proc/sys/kernel/yama/ptrace_scope ]; then + # automatically disable ptrace protection upon install if systemd is not + # available. Usually system will automatically apply the setting + if ! type -p systemd-notify > /dev/null || ! systemd-notify --booted; then + # don't do it on transactional systems to avoid altering the state of the + # system before reboot + if [ -z "${TRANSACTIONAL_UPDATE}" ]; then + # can't use sysctl since that would cause us to require procps, which is + # bad for container size + echo 0 > /proc/sys/kernel/yama/ptrace_scope || : + fi + fi +fi + %files %license COPYING %ghost %config(noreplace) /etc/sysctl.conf @@ -217,6 +243,8 @@ fi /usr/etc/profile.d/terminal.csh %dir /usr/lib/environment.d /usr/lib/environment.d/50-xdg.conf +/usr/lib/systemd/system/soft-reboot-cleanup.service +/usr/libexec/soft-reboot-cleanup %{_tmpfilesdir}/soft-reboot-cleanup.conf %config /etc/shells %ghost %dir /etc/init.d @@ -247,7 +275,7 @@ fi /usr/lib/base-scripts/backup-rpmdb /usr/lib/base-scripts/backup-sysconfig /usr/lib/base-scripts/check-battery -/usr/lib/systemd/system/* +/usr/lib/systemd/system/[bc]* /var/adm/backup/rpmdb /var/adm/backup/sysconfig %{_fillupdir}/sysconfig.backup