Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aaa_base for openSUSE:Factory checked in at 2026-12-04 15:23:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aaa_base (Old) and /work/SRC/openSUSE:Factory/.aaa_base.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aaa_base" Fri Dec 4 15:23:13 2026 rev:523 rq:1402461 version:84.87+git20261202.da2d237 Changes: -------- --- /work/SRC/openSUSE:Factory/aaa_base/aaa_base.changes 2026-10-30 18:04:48.410442590 +0100 +++ /work/SRC/openSUSE:Factory/.aaa_base.new.1340718/aaa_base.changes 2026-12-04 15:23:14.398188919 +0100 @@ -1,0 +2,7 @@ +Wed Dec 02 15:19:04 UTC 2026 - Thorsten Kukuk <[email protected]> + +- Update to version 84.87+git20261202.da2d237: + * Add script to generate systemd/import-pubring + * Drop Group tags, mark subpackages noarch, rework rpmlintrc + +------------------------------------------------------------------- Old: ---- aaa_base-84.87+git20260924.144354a1.tar New: ---- aaa_base-84.87+git20261202.da2d237.tar ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aaa_base.spec ++++++ --- /var/tmp/diff_new_pack.uYd67O/_old 2026-12-04 15:23:15.444232820 +0100 +++ /var/tmp/diff_new_pack.uYd67O/_new 2026-12-04 15:23:15.450233072 +0100 @@ -33,7 +33,7 @@ %endif Name: aaa_base -Version: 84.87+git20260924.144354a1%{git_version} +Version: 84.87+git20261202.da2d237%{git_version} Release: 0 Summary: openSUSE Base Package License: GPL-2.0-or-later @@ -154,10 +154,10 @@ %endif %pre -%service_add_pre soft-reboot-cleanup.service +%service_add_pre create-import-pubring.path create-import-pubring.service soft-reboot-cleanup.service %preun -%service_del_preun soft-reboot-cleanup.service +%service_del_preun create-import-pubring.path create-import-pubring.service soft-reboot-cleanup.service %post export LC_ALL=C @@ -186,10 +186,10 @@ %{fillup_only -n proxy} %tmpfiles_create soft-reboot-cleanup.conf -%service_add_post soft-reboot-cleanup.service +%service_add_post create-import-pubring.path create-import-pubring.service soft-reboot-cleanup.service %postun -%service_del_postun_without_restart soft-reboot-cleanup.service +%service_del_postun_without_restart create-import-pubring.path create-import-pubring.service 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 setup-systemd-proxy-env.path setup-systemd-proxy-env.service @@ -254,7 +254,9 @@ /usr/etc/profile.d/terminal.csh /usr/etc/security/pam_env.conf.d/xdg.conf /usr/lib/environment.d/50-xdg.conf +/usr/lib/systemd/system/create-import-pubring.* /usr/lib/systemd/system/soft-reboot-cleanup.service +/usr/libexec/create-import-pubring /usr/libexec/soft-reboot-cleanup %{_tmpfilesdir}/soft-reboot-cleanup.conf %config /etc/shells @@ -284,7 +286,8 @@ /usr/lib/base-scripts/backup-rpmdb /usr/lib/base-scripts/backup-sysconfig /usr/lib/base-scripts/check-battery -/usr/lib/systemd/system/[bc]* +/usr/lib/systemd/system/backup-* +/usr/lib/systemd/system/check-* /usr/lib/systemd/system/setup-systemd-proxy-env.* %ghost %dir /var/adm/backup/rpmdb %ghost %dir /var/adm/backup/sysconfig ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.uYd67O/_old 2026-12-04 15:23:15.505235380 +0100 +++ /var/tmp/diff_new_pack.uYd67O/_new 2026-12-04 15:23:15.508235506 +0100 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/aaa_base.git</param> - <param name="changesrevision">144354a1fd1c2826fd5c8b7346f0351826420809</param></service> + <param name="changesrevision">da2d237c9718cdc9657606e9e1375bd7d3ebe0d6</param></service> </servicedata> (No newline at EOF) ++++++ aaa_base-84.87+git20260924.144354a1.tar -> aaa_base-84.87+git20261202.da2d237.tar ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20260924.144354a1/aaa_base-rpmlintrc new/aaa_base-84.87+git20261202.da2d237/aaa_base-rpmlintrc --- old/aaa_base-84.87+git20260924.144354a1/aaa_base-rpmlintrc 2026-09-24 12:59:01.000000000 +0200 +++ new/aaa_base-84.87+git20261202.da2d237/aaa_base-rpmlintrc 2026-12-02 16:18:31.000000000 +0100 @@ -1,9 +1,18 @@ -# confirmed - but standard -addFilter("non-root-group-log-file /var/log/wtmp utmp") +# The %post of the main package backs up /etc/nsswitch.conf with cp before +# patching it in place (usrfiles, bsc#1162916; systemd, bsc#1250513). The +# backup has to happen synchronously in %post, ahead of the edit. +addFilter("dangerous-command-in-%post") -# aaa_base requires net-tools -addFilter("dangling-symlink.*/usr/lib/restricted/bin/hostname.*/bin/hostname") +# /usr/etc/skel/.emacs and /usr/etc/skel/.inputrc are skeleton templates +# for the user dotfiles of the same name; they are hidden by design. +addFilter("hidden-file-or-dir /usr/etc/skel/") -# for /etc/init.d/*.local. To be removed at some point -addFilter(".*suse-deprecated-init-script.*") -addFilter(".*suse-deprecated-boot-script.*") +# /var/adm is the distribution admin directory owned by the filesystem +# package; /var/adm/backup is where the rpmdb/sysconfig backup units +# keep their data. +addFilter("non-standard-dir-in-var adm") + +# /etc/sysconfig/proxy and /etc/sysconfig/backup are the established +# configuration interface for the proxy setup and the backup units, +# written by other tools; fillup is the delivery mechanism for them. +addFilter("sysconfig-fillup-usage") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20260924.144354a1/aaa_base.spec new/aaa_base-84.87+git20261202.da2d237/aaa_base.spec --- old/aaa_base-84.87+git20260924.144354a1/aaa_base.spec 2026-09-24 12:59:01.000000000 +0200 +++ new/aaa_base-84.87+git20261202.da2d237/aaa_base.spec 2026-12-02 16:18:31.000000000 +0100 @@ -37,7 +37,6 @@ Release: 0 Summary: openSUSE Base Package License: GPL-2.0-or-later -Group: System/Fhs URL: https://github.com/openSUSE/aaa_base Source: aaa_base-%{version}.tar Source1: README.packaging.txt @@ -68,26 +67,26 @@ # run osc service mr to recreate %description -This package installs several important configuration files and central scripts. +This package installs several important configuration files and central +scripts. %package extras +BuildArch: noarch Summary: SUSE Linux Base Package (recommended part) -Group: System/Fhs Requires: %{name} = %{version} Requires: /usr/bin/find Requires: /usr/bin/cpio Requires: /usr/bin/gzip Requires: /usr/bin/tar Requires(post): /usr/bin/fillup -Provides: aaa_base:/etc/DIR_COLORS %description extras The parts of aaa_base that should be installed by default but are not strictly required to run a system. (bash completions and convenience hacks). %package malloccheck +BuildArch: noarch Summary: SUSE Linux Base Package (malloc checking) -Group: System/Fhs Requires: %{name} = %{version} %description malloccheck @@ -96,8 +95,8 @@ installed by default as it may degrade performance. %package wsl +BuildArch: noarch Summary: SUSE Linux Base Package (Windows Subsystem for Linux) -Group: System/Fhs Requires: %{name} = %{version} %description wsl @@ -106,12 +105,12 @@ systems. %package yama-enable-ptrace +BuildArch: noarch Summary: Sysctl setting to allow ptrace with the YAMA LSM enabled -Group: System/Fhs Requires: %{name} = %{version} %description yama-enable-ptrace -When the YAMA LSM is enabled, ptrace is restriced by default. On +When the YAMA LSM is enabled, ptrace is restricted by default. On developer systems this has an impact on e.g. strace and gdb. So this package contains a setting that allows ptrace again. @@ -126,14 +125,12 @@ %install %make_install mkdir -p %{buildroot}/etc/sysctl.d +# keep the ghosted /etc/init.d directory present in the buildroot +# so that its recorded permissions are real +mkdir -p %{buildroot}/etc/init.d # # make sure it does not creep in again test -d %{buildroot}/root/.gnupg && exit 1 -# TODO: get rid of that at some point in the future -mkdir -p %{buildroot}/etc/init.d -for i in boot.local after.local ; do - install -m 755 /dev/null %{buildroot}/etc/init.d/$i -done # keep as ghost for migration touch %buildroot/etc/inittab @@ -157,10 +154,10 @@ %endif %pre -%service_add_pre soft-reboot-cleanup.service +%service_add_pre create-import-pubring.path create-import-pubring.service soft-reboot-cleanup.service %preun -%service_del_preun soft-reboot-cleanup.service +%service_del_preun create-import-pubring.path create-import-pubring.service soft-reboot-cleanup.service %post export LC_ALL=C @@ -189,10 +186,10 @@ %{fillup_only -n proxy} %tmpfiles_create soft-reboot-cleanup.conf -%service_add_post soft-reboot-cleanup.service +%service_add_post create-import-pubring.path create-import-pubring.service soft-reboot-cleanup.service %postun -%service_del_postun_without_restart soft-reboot-cleanup.service +%service_del_postun_without_restart create-import-pubring.path create-import-pubring.service 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 setup-systemd-proxy-env.path setup-systemd-proxy-env.service @@ -257,13 +254,13 @@ /usr/etc/profile.d/terminal.csh /usr/etc/security/pam_env.conf.d/xdg.conf /usr/lib/environment.d/50-xdg.conf +/usr/lib/systemd/system/create-import-pubring.* /usr/lib/systemd/system/soft-reboot-cleanup.service +/usr/libexec/create-import-pubring /usr/libexec/soft-reboot-cleanup %{_tmpfilesdir}/soft-reboot-cleanup.conf %config /etc/shells %ghost %dir /etc/init.d -%ghost %config(noreplace) /etc/init.d/boot.local -%ghost %config(noreplace) /etc/init.d/after.local %ghost %config /etc/inittab /usr/bin/get_kernel_version /usr/sbin/service @@ -289,7 +286,8 @@ /usr/lib/base-scripts/backup-rpmdb /usr/lib/base-scripts/backup-sysconfig /usr/lib/base-scripts/check-battery -/usr/lib/systemd/system/[bc]* +/usr/lib/systemd/system/backup-* +/usr/lib/systemd/system/check-* /usr/lib/systemd/system/setup-systemd-proxy-env.* %ghost %dir /var/adm/backup/rpmdb %ghost %dir /var/adm/backup/sysconfig diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20260924.144354a1/files/usr/lib/systemd/system/create-import-pubring.path new/aaa_base-84.87+git20261202.da2d237/files/usr/lib/systemd/system/create-import-pubring.path --- old/aaa_base-84.87+git20260924.144354a1/files/usr/lib/systemd/system/create-import-pubring.path 1970-01-01 01:00:00.000000000 +0100 +++ new/aaa_base-84.87+git20261202.da2d237/files/usr/lib/systemd/system/create-import-pubring.path 2026-12-02 16:18:31.000000000 +0100 @@ -0,0 +1,10 @@ +[Unit] +Description=Watch RPM database and drop-in directories for OpenPGP key changes + +[Path] +PathChanged=/usr/lib/sysimage/rpm/Packages.db +PathChanged=/usr/lib/systemd/import-pubring.pgp.d +PathChanged=/etc/systemd/import-pubring.pgp.d + +[Install] +WantedBy=paths.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20260924.144354a1/files/usr/lib/systemd/system/create-import-pubring.service new/aaa_base-84.87+git20261202.da2d237/files/usr/lib/systemd/system/create-import-pubring.service --- old/aaa_base-84.87+git20260924.144354a1/files/usr/lib/systemd/system/create-import-pubring.service 1970-01-01 01:00:00.000000000 +0100 +++ new/aaa_base-84.87+git20261202.da2d237/files/usr/lib/systemd/system/create-import-pubring.service 2026-12-02 16:18:31.000000000 +0100 @@ -0,0 +1,13 @@ +[Unit] +Description=Rebuild /etc/systemd/import-pubring.pgp from rpmdb and drop-in keys +DefaultDependencies=no +After=local-fs.target +Before=systemd-importd.service systemd-sysupdate.service + +[Service] +Type=oneshot +ExecStart=/usr/libexec/create-import-pubring + +[Install] +# Run during boot and by .path unit +WantedBy=multi-user.target diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aaa_base-84.87+git20260924.144354a1/files/usr/libexec/create-import-pubring new/aaa_base-84.87+git20261202.da2d237/files/usr/libexec/create-import-pubring --- old/aaa_base-84.87+git20260924.144354a1/files/usr/libexec/create-import-pubring 1970-01-01 01:00:00.000000000 +0100 +++ new/aaa_base-84.87+git20261202.da2d237/files/usr/libexec/create-import-pubring 2026-12-02 16:18:31.000000000 +0100 @@ -0,0 +1,49 @@ +#!/bin/bash +set -euo pipefail + +# This script builds /etc/systemd/import-pubring.pgp by keys from +# RPM keyring and drop-in keys placed in +# /usr/lib/systemd/import-pubring.pgp.d and +# /etc/systemd/import-pubring.pgp.d +# Keys from /usr can be disabled by creating a symlink with that name +# pointing to /dev/null in /etc/systemd/import-pubring.pgp.d + +if [ ! -x /usr/bin/gpg ] || [ ! -x /usr/bin/rpm ] || [ ! -x /usr/bin/rpmkeys ]; then + echo "Not all required tools installed (gpg, rpm, rpmkeys), skipping" + exit 0 +fi + +TARGET="/etc/systemd/import-pubring.pgp" +TMPFILE="$(mktemp /etc/systemd/.import-pubring.pgp.XXXXXX)" +trap 'rm -f "$TMPFILE"' EXIT + +# Export all current keys from RPM keyring. RPM 4.20 has no rpmkeys --export +if rpmkeys --help 2>&1 | grep -q -- '--export'; then + rpmkeys --export | gpg --dearmor >> "$TMPFILE" +else + if rpm -q gpg-pubkey >/dev/null 2>&1; then + rpm -qa 'gpg-pubkey*' --qf '%{DESCRIPTION}\n' | gpg --dearmor >> "$TMPFILE" + fi +fi + +# Merge drop-in keys +declare -A KEYFILES +for dir in /usr/lib/systemd/import-pubring.pgp.d /etc/systemd/import-pubring.pgp.d; do + [[ -d "$dir" ]] || continue + for f in "$dir"/*.{asc,pgp,gpg}; do + [[ -e "$f" ]] || continue + KEYFILES["${f##*/}"]="$f" + done +done + +for name in $(printf '%s\n' "${!KEYFILES[@]}" | sort); do + f="${KEYFILES[$name]}" + if grep -q "BEGIN PGP PUBLIC KEY BLOCK" "$f"; then + gpg --dearmor < "$f" >> "$TMPFILE" + else + cat "$f" >> "$TMPFILE" + fi +done + +chmod 0644 "$TMPFILE" +mv -f "$TMPFILE" "$TARGET"
