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-02 17:41:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/account-utils (Old) and /work/SRC/openSUSE:Factory/.account-utils.new.29461 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "account-utils" Mon Mar 2 17:41:50 2026 rev:4 rq:1335831 version:1.0.1+git20260128.6a6d00f Changes: -------- --- /work/SRC/openSUSE:Factory/account-utils/account-utils.changes 2026-01-21 14:19:42.388748440 +0100 +++ /work/SRC/openSUSE:Factory/.account-utils.new.29461/account-utils.changes 2026-03-02 17:42:09.739916713 +0100 @@ -1,0 +2,19 @@ +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+git20260121.39eee92.tar.xz account-utils.permissions New: ---- account-utils-1.0.1+git20260128.6a6d00f.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ account-utils.spec ++++++ --- /var/tmp/diff_new_pack.b8ZZaW/_old 2026-03-02 17:42:10.311940582 +0100 +++ /var/tmp/diff_new_pack.b8ZZaW/_new 2026-03-02 17:42:10.311940582 +0100 @@ -17,13 +17,12 @@ %define lname libpwaccess0 Name: account-utils -Version: 1.0.1+git20260121.39eee92 +Version: 1.0.1+git20260128.6a6d00f 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 @@ -35,9 +34,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 @@ -70,8 +69,6 @@ %install %meson_install -mkdir -p %{buildroot}%{_datadir}/permissions/permissions.d/ -cp %{SOURCE1} %{buildroot}%{_datadir}/permissions/permissions.d/account-utils %check %meson_test @@ -84,13 +81,6 @@ %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 @@ -103,14 +93,6 @@ %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 @@ -149,7 +131,6 @@ %{_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.b8ZZaW/_old 2026-03-02 17:42:10.339941750 +0100 +++ /var/tmp/diff_new_pack.b8ZZaW/_new 2026-03-02 17:42:10.343941917 +0100 @@ -5,7 +5,8 @@ <param name="changesgenerate">enable</param> <param name="filename">account-utils</param> <param name="revision">main</param> - <param name="versionformat">1.0.1+git%cd.%h</param> + <param name="versionformat">@PARENT_TAG@+git%cd.%h</param> + <param name="versionrewrite-pattern">v(.*?)(\+git0)?$</param> </service> <service mode="manual" name="recompress"> <param name="file">*.tar</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.b8ZZaW/_old 2026-03-02 17:42:10.371943085 +0100 +++ /var/tmp/diff_new_pack.b8ZZaW/_new 2026-03-02 17:42:10.375943252 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/thkukuk/account-utils.git</param> -<param name="changesrevision">39eee92e62096dc9d2121f1f2c7e7ac343bd0e3b</param></service></servicedata> +<param name="changesrevision">6a6d00f2bea8ab702fac481e5de35c592f62f533</param></service></servicedata> (No newline at EOF) ++++++ account-utils-1.0.1+git20260121.39eee92.tar.xz -> account-utils-1.0.1+git20260128.6a6d00f.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/account-utils-1.0.1+git20260121.39eee92/libcommon/mkdir_p.c new/account-utils-1.0.1+git20260128.6a6d00f/libcommon/mkdir_p.c --- old/account-utils-1.0.1+git20260121.39eee92/libcommon/mkdir_p.c 2026-01-21 09:34:15.000000000 +0100 +++ new/account-utils-1.0.1+git20260128.6a6d00f/libcommon/mkdir_p.c 2026-01-28 12:12:41.000000000 +0100 @@ -47,6 +47,9 @@ if (r < 0) return r; - return mkdir(path, mode); + if (mkdir(path, mode) == -1) + return -errno; + + return 0; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/account-utils-1.0.1+git20260121.39eee92/src/pam_debuginfo.c new/account-utils-1.0.1+git20260128.6a6d00f/src/pam_debuginfo.c --- old/account-utils-1.0.1+git20260121.39eee92/src/pam_debuginfo.c 2026-01-21 09:34:15.000000000 +0100 +++ new/account-utils-1.0.1+git20260128.6a6d00f/src/pam_debuginfo.c 2026-01-28 12:12:41.000000000 +0100 @@ -70,8 +70,10 @@ 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+git20260121.39eee92/src/pwupdd.c new/account-utils-1.0.1+git20260128.6a6d00f/src/pwupdd.c --- old/account-utils-1.0.1+git20260121.39eee92/src/pwupdd.c 2026-01-21 09:34:15.000000000 +0100 +++ new/account-utils-1.0.1+git20260128.6a6d00f/src/pwupdd.c 2026-01-28 12:12:41.000000000 +0100 @@ -1360,7 +1360,6 @@ 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'}, @@ -1370,7 +1369,7 @@ }; - c = getopt_long (argc, argv, "sdvh?", long_options, &option_index); + c = getopt_long (argc, argv, "dvh?", 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+git20260121.39eee92/tools/dump-privs.c new/account-utils-1.0.1+git20260128.6a6d00f/tools/dump-privs.c --- old/account-utils-1.0.1+git20260121.39eee92/tools/dump-privs.c 2026-01-21 09:34:15.000000000 +0100 +++ new/account-utils-1.0.1+git20260128.6a6d00f/tools/dump-privs.c 2026-01-28 12:12:41.000000000 +0100 @@ -3,6 +3,7 @@ #include "config.h" #include <errno.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -113,7 +114,9 @@ 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(); @@ -185,6 +188,7 @@ } putchar('\n'); printf("SELinux Status: %s\n", sestatus); +#ifdef WITH_SELINUX if (getcon(&secon) == 0) { size_t secon_len = strlen(secon); @@ -196,6 +200,7 @@ } 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();
