forked from pool/aaa_base
Accepting request 1199142 from Base:System
- 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) OBS-URL: https://build.opensuse.org/request/show/1199142 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aaa_base?expand=0&rev=505
This commit is contained in:
commit
932fde17da
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -22,4 +22,4 @@
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
aaa_base-84.87+git20240821.fbabe1d.tar filter=lfs diff=lfs merge=lfs -text
|
||||
aaa_base-84.87+git20240906.742565b.tar filter=lfs diff=lfs merge=lfs -text
|
||||
|
@ -1,5 +1,5 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/openSUSE/aaa_base.git</param>
|
||||
<param name="changesrevision">fbabe1d9dfff899e79fccf92703bbbbc20890e36</param></service>
|
||||
<param name="changesrevision">742565b964545a2618f0809a3219cf0cdf185cd3</param></service>
|
||||
</servicedata>
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aca1408ed55ef2216e0046122a08162e2d757061509e78030e176886e60eebe0
|
||||
size 348160
|
3
aaa_base-84.87+git20240906.742565b.tar
Normal file
3
aaa_base-84.87+git20240906.742565b.tar
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a955b86b99b50f658006fddedc73e64b963a40ce6b76af50e214842165b9e57a
|
||||
size 348160
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
@ -33,7 +33,7 @@ BuildRequires: git-core
|
||||
%endif
|
||||
|
||||
Name: aaa_base
|
||||
Version: 84.87+git20240821.fbabe1d%{git_version}
|
||||
Version: 84.87+git20240906.742565b%{git_version}
|
||||
Release: 0
|
||||
Summary: openSUSE Base Package
|
||||
License: GPL-2.0-or-later
|
||||
@ -193,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
|
||||
|
Loading…
Reference in New Issue
Block a user