Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package account-utils for openSUSE:Factory checked in at 2026-03-03 10:49:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/account-utils (Old) and /work/SRC/openSUSE:Factory/.account-utils.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "account-utils" Tue Mar 3 10:49:02 2026 rev:5 rq: version:1.0.1+git20260121.39eee92 Changes: -------- --- /work/SRC/openSUSE:Factory/account-utils/account-utils.changes 2026-03-02 17:42:09.739916713 +0100 +++ /work/SRC/openSUSE:Factory/.account-utils.new.29461/account-utils.changes 2026-03-03 10:49:03.216099976 +0100 @@ -2,19 +1,0 @@ -Mon Mar 2 13:58:28 UTC 2026 - Thorsten Kukuk <[email protected]> - -- Remove permissions file as entries got removed from permissions - -------------------------------------------------------------------- -Mon Mar 02 11:04:37 UTC 2026 - Thorsten Kukuk <[email protected]> - -- Update to version 1.0.1+git20260128.6a6d00f: - * mkdir_p: return correct error code - * dump-privs: add stdint.h for intmax_t - * Only use getcon if SELinux is available - * pwupdd: remove socket option leftovers - -------------------------------------------------------------------- -Mon Mar 2 11:04:16 UTC 2026 - Thorsten Kukuk <[email protected]> - -- Obsolete shadow-pw-mgmt for easier migration - -------------------------------------------------------------------- Old: ---- account-utils-1.0.1+git20260128.6a6d00f.tar.xz New: ---- account-utils-1.0.1+git20260121.39eee92.tar.xz account-utils.permissions ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ account-utils.spec ++++++ --- /var/tmp/diff_new_pack.gjr7aM/_old 2026-03-03 10:49:03.752122297 +0100 +++ /var/tmp/diff_new_pack.gjr7aM/_new 2026-03-03 10:49:03.756122465 +0100 @@ -17,12 +17,13 @@ %define lname libpwaccess0 Name: account-utils -Version: 1.0.1+git20260128.6a6d00f +Version: 1.0.1+git20260121.39eee92 Release: 0 Summary: Service for authentication and account management License: GPL-2.0-or-later AND BSD-2-Clause AND LGPL-2.1-or-later URL: https://github.com/thkukuk/account-utils Source: %{name}-%{version}.tar.xz +Source1: account-utils.permissions BuildRequires: docbook5-xsl-stylesheets BuildRequires: meson BuildRequires: pkgconfig @@ -34,9 +35,9 @@ BuildRequires: pkgconfig(pam) >= 1.6.0 # For test suite BuildRequires: user(nobody) +Requires(post): permissions Conflicts: shadow-pw-mgmt Conflicts: busybox-adduser -Obsoletes: shadow-pw-mgmt Requires(pre): pam-config Requires(posttrans): pam-config @@ -69,6 +70,8 @@ %install %meson_install +mkdir -p %{buildroot}%{_datadir}/permissions/permissions.d/ +cp %{SOURCE1} %{buildroot}%{_datadir}/permissions/permissions.d/account-utils %check %meson_test @@ -81,6 +84,13 @@ %post %service_add_post pwaccessd.socket pwupdd.socket newidmapd.socket +%set_permissions %{_bindir}/chage +%set_permissions %{_bindir}/chfn +%set_permissions %{_bindir}/chsh +%set_permissions %{_bindir}/expiry +%set_permissions %{_bindir}/newgidmap +%set_permissions %{_bindir}/newuidmap +%set_permissions %{_bindir}/passwd if [ "$1" -eq 1 ]; then pam-config -a --unix_ng || : fi @@ -93,6 +103,14 @@ %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig +%verifyscript +%verify_permissions %{_bindir}/chage +%verify_permissions %{_bindir}/chfn +%verify_permissions %{_bindir}/chsh +%verify_permissions %{_bindir}/expiry +%verify_permissions %{_bindir}/newgidmap +%verify_permissions %{_bindir}/newuidmap +%verify_permissions %{_bindir}/passwd %files %license LICENSE.BSD-2-Clause @@ -131,6 +149,7 @@ %{_mandir}/man8/pam_unix_ng.8%{?ext_man} %{_mandir}/man8/pwaccessd.8%{?ext_man} %{_mandir}/man8/pwupdd.8%{?ext_man} +%{_datadir}/permissions/permissions.d/account-utils %files -n %{lname} %license LICENSE.LGPL2.1 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.gjr7aM/_old 2026-03-03 10:49:03.800124297 +0100 +++ /var/tmp/diff_new_pack.gjr7aM/_new 2026-03-03 10:49:03.804124463 +0100 @@ -5,8 +5,7 @@ <param name="changesgenerate">enable</param> <param name="filename">account-utils</param> <param name="revision">main</param> - <param name="versionformat">@PARENT_TAG@+git%cd.%h</param> - <param name="versionrewrite-pattern">v(.*?)(\+git0)?$</param> + <param name="versionformat">1.0.1+git%cd.%h</param> </service> <service mode="manual" name="recompress"> <param name="file">*.tar</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.gjr7aM/_old 2026-03-03 10:49:03.832125629 +0100 +++ /var/tmp/diff_new_pack.gjr7aM/_new 2026-03-03 10:49:03.840125963 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/thkukuk/account-utils.git</param> -<param name="changesrevision">6a6d00f2bea8ab702fac481e5de35c592f62f533</param></service></servicedata> +<param name="changesrevision">39eee92e62096dc9d2121f1f2c7e7ac343bd0e3b</param></service></servicedata> (No newline at EOF) ++++++ account-utils-1.0.1+git20260128.6a6d00f.tar.xz -> account-utils-1.0.1+git20260121.39eee92.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/account-utils-1.0.1+git20260128.6a6d00f/libcommon/mkdir_p.c new/account-utils-1.0.1+git20260121.39eee92/libcommon/mkdir_p.c --- old/account-utils-1.0.1+git20260128.6a6d00f/libcommon/mkdir_p.c 2026-01-28 12:12:41.000000000 +0100 +++ new/account-utils-1.0.1+git20260121.39eee92/libcommon/mkdir_p.c 2026-01-21 09:34:15.000000000 +0100 @@ -47,9 +47,6 @@ if (r < 0) return r; - if (mkdir(path, mode) == -1) - return -errno; - - return 0; + return mkdir(path, mode); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/account-utils-1.0.1+git20260128.6a6d00f/src/pam_debuginfo.c new/account-utils-1.0.1+git20260121.39eee92/src/pam_debuginfo.c --- old/account-utils-1.0.1+git20260128.6a6d00f/src/pam_debuginfo.c 2026-01-28 12:12:41.000000000 +0100 +++ new/account-utils-1.0.1+git20260121.39eee92/src/pam_debuginfo.c 2026-01-21 09:34:15.000000000 +0100 @@ -70,10 +70,8 @@ const void *tty = NULL; const char *login_name; -#ifdef WITH_SELINUX if (getcon(&secon) < 0) pam_syslog(pamh, LOG_ERR, "getcon() failed: %s", strerror(errno)); -#endif pam_get_item(pamh, PAM_SERVICE, &service); pam_get_item(pamh, PAM_USER, &user); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/account-utils-1.0.1+git20260128.6a6d00f/src/pwupdd.c new/account-utils-1.0.1+git20260121.39eee92/src/pwupdd.c --- old/account-utils-1.0.1+git20260128.6a6d00f/src/pwupdd.c 2026-01-28 12:12:41.000000000 +0100 +++ new/account-utils-1.0.1+git20260121.39eee92/src/pwupdd.c 2026-01-21 09:34:15.000000000 +0100 @@ -1360,6 +1360,7 @@ int option_index = 0; static struct option long_options[] = { + {"socket", no_argument, NULL, 's'}, {"debug", no_argument, NULL, 'd'}, {"verbose", no_argument, NULL, 'v'}, {"version", no_argument, NULL, '\255'}, @@ -1369,7 +1370,7 @@ }; - c = getopt_long (argc, argv, "dvh?", long_options, &option_index); + c = getopt_long (argc, argv, "sdvh?", long_options, &option_index); if (c == (-1)) break; switch (c) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/account-utils-1.0.1+git20260128.6a6d00f/tools/dump-privs.c new/account-utils-1.0.1+git20260121.39eee92/tools/dump-privs.c --- old/account-utils-1.0.1+git20260128.6a6d00f/tools/dump-privs.c 2026-01-28 12:12:41.000000000 +0100 +++ new/account-utils-1.0.1+git20260121.39eee92/tools/dump-privs.c 2026-01-21 09:34:15.000000000 +0100 @@ -3,7 +3,6 @@ #include "config.h" #include <errno.h> -#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -114,9 +113,7 @@ bool printenv = false; int ngids = 0; gid_t *gids = NULL; -#ifdef WITH_SELINUX char *secon = NULL; -#endif char *cwd = NULL; int no_new_privs = prctl(PR_GET_NO_NEW_PRIVS, 0, 0, 0, 0); const char *sestatus = selinux_status(); @@ -188,7 +185,6 @@ } putchar('\n'); printf("SELinux Status: %s\n", sestatus); -#ifdef WITH_SELINUX if (getcon(&secon) == 0) { size_t secon_len = strlen(secon); @@ -200,7 +196,6 @@ } else fprintf(stderr, "SELinux Context: %s\n", strerror(errno)); -#endif printf("NoNewPrivs Status: %s\n", no_new_privs==0?"off":"on"); cwd = get_current_dir_name(); ++++++ account-utils.permissions ++++++ /usr/bin/chage root:root 0755 /usr/bin/chfn root:root 0755 /usr/bin/chsh root:root 0755 /usr/bin/expiry root:root 0755 /usr/bin/newgidmap root:root 0755 /usr/bin/newuidmap root:root 0755 /usr/bin/passwd root:root 0755
