Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package pam_mount for openSUSE:Factory 
checked in at 2025-10-30 17:10:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pam_mount (Old)
 and      /work/SRC/openSUSE:Factory/.pam_mount.new.1980 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pam_mount"

Thu Oct 30 17:10:27 2025 rev:80 rq:1314533 version:2.22

Changes:
--------
--- /work/SRC/openSUSE:Factory/pam_mount/pam_mount.changes      2025-10-07 
18:28:37.706112490 +0200
+++ /work/SRC/openSUSE:Factory/.pam_mount.new.1980/pam_mount.changes    
2025-10-30 17:11:29.814881719 +0100
@@ -1,0 +2,8 @@
+Thu Oct 30 11:06:24 UTC 2025 - Jan Engelhardt <[email protected]>
+
+- Update to release 2.22
+  * Add per-volume "ignoresource" option to pam_mount.conf.xml to
+    ignore the origin device when testing for already-mountedness.
+  * Fix GDM doing nothing after entering the password.
+
+-------------------------------------------------------------------

Old:
----
  pam_mount-2.21.tar.asc
  pam_mount-2.21.tar.zst

New:
----
  pam_mount-2.22.tar.asc
  pam_mount-2.22.tar.zst

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pam_mount.spec ++++++
--- /var/tmp/diff_new_pack.tbPoQw/_old  2025-10-30 17:11:30.422907344 +0100
+++ /var/tmp/diff_new_pack.tbPoQw/_new  2025-10-30 17:11:30.422907344 +0100
@@ -18,7 +18,7 @@
 
 Name:           pam_mount
 %define lname   libcryptmount0
-Version:        2.21
+Version:        2.22
 Release:        0
 Summary:        A PAM Module that can Mount Volumes for a User Session
 License:        GPL-2.0-or-later AND LGPL-2.1-or-later

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.tbPoQw/_old  2025-10-30 17:11:30.470909366 +0100
+++ /var/tmp/diff_new_pack.tbPoQw/_new  2025-10-30 17:11:30.474909535 +0100
@@ -1,5 +1,5 @@
-mtime: 1759794491
-commit: 636a9d0a67980eaa331db7da0a09a7af126e15cc8e909f170147baf537f309ba
+mtime: 1761822431
+commit: b8dc293a3c21deb821dc19ab2630b813b103aa58d2d5ae4d90b44ed336294dcf
 url: https://src.opensuse.org/jengelh/pam_mount
 revision: master
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-10-30 12:07:21.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ pam_mount-2.21.tar.zst -> pam_mount-2.22.tar.zst ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/config/pam_mount.conf.xml.dtd 
new/pam_mount-2.22/config/pam_mount.conf.xml.dtd
--- old/pam_mount-2.21/config/pam_mount.conf.xml.dtd    2023-08-17 
15:42:52.871165784 +0200
+++ new/pam_mount-2.22/config/pam_mount.conf.xml.dtd    2025-10-30 
11:58:01.339502930 +0100
@@ -83,6 +83,7 @@
        fskeycipher CDATA #IMPLIED
        fskeyhash CDATA #IMPLIED
        fskeypath CDATA #IMPLIED
+       ignoresource CDATA #IMPLIED
 >
 <!ELEMENT msg-authpw (#PCDATA)>
 <!ELEMENT msg-sessionpw (#PCDATA)>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/configure new/pam_mount-2.22/configure
--- old/pam_mount-2.21/configure        2025-10-07 01:38:28.271738130 +0200
+++ new/pam_mount-2.22/configure        2025-10-30 12:02:54.809955294 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for pam_mount 2.21.
+# Generated by GNU Autoconf 2.72 for pam_mount 2.22.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
@@ -611,8 +611,8 @@
 # Identity of this package.
 PACKAGE_NAME='pam_mount'
 PACKAGE_TARNAME='pam_mount'
-PACKAGE_VERSION='2.21'
-PACKAGE_STRING='pam_mount 2.21'
+PACKAGE_VERSION='2.22'
+PACKAGE_STRING='pam_mount 2.22'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1404,7 +1404,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-'configure' configures pam_mount 2.21 to adapt to many kinds of systems.
+'configure' configures pam_mount 2.22 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1475,7 +1475,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of pam_mount 2.21:";;
+     short | recursive ) echo "Configuration of pam_mount 2.22:";;
    esac
   cat <<\_ACEOF
 
@@ -1619,7 +1619,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-pam_mount configure 2.21
+pam_mount configure 2.22
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -1906,7 +1906,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by pam_mount $as_me 2.21, which was
+It was created by pam_mount $as_me 2.22, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -2679,7 +2679,7 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-PACKAGE_RELDATE="2025-10-07"
+PACKAGE_RELDATE="2025-10-30"
 
 
 ac_config_headers="$ac_config_headers config.h"
@@ -3389,7 +3389,7 @@
 
 # Define the identity of the package.
  PACKAGE='pam_mount'
- VERSION='2.21'
+ VERSION='2.22'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -15498,7 +15498,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by pam_mount $as_me 2.21, which was
+This file was extended by pam_mount $as_me 2.22, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15566,7 +15566,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-pam_mount config.status 2.21
+pam_mount config.status 2.22
 configured by $0, generated by GNU Autoconf 2.72,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/configure.ac 
new/pam_mount-2.22/configure.ac
--- old/pam_mount-2.21/configure.ac     2025-10-07 01:38:25.444088545 +0200
+++ new/pam_mount-2.22/configure.ac     2025-10-30 12:02:26.429903357 +0100
@@ -7,8 +7,8 @@
 #      the Free Software Foundation; either version 2 of the License, or
 #      (at your option) any later version.
 #
-AC_INIT([pam_mount], [2.21])
-PACKAGE_RELDATE="2025-10-07"
+AC_INIT([pam_mount], [2.22])
+PACKAGE_RELDATE="2025-10-30"
 AC_PREREQ([2.59])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([config.h])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/doc/news.rst 
new/pam_mount-2.22/doc/news.rst
--- old/pam_mount-2.21/doc/news.rst     2025-10-07 01:38:25.444088545 +0200
+++ new/pam_mount-2.22/doc/news.rst     2025-10-30 12:02:17.621887537 +0100
@@ -1,3 +1,11 @@
+v2.22 (2025-10-30)
+=================
+
+* Add per-volume "ignoresource" option to pam_mount.conf.xml to ignore
+  the origin device when testing for already-mountedness.
+* Fix GDM doing nothing after entering the password.
+
+
 v2.21 (2025-10-07)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/doc/pam_mount.conf.5.in 
new/pam_mount-2.22/doc/pam_mount.conf.5.in
--- old/pam_mount-2.21/doc/pam_mount.conf.5.in  2023-08-17 15:42:52.871165784 
+0200
+++ new/pam_mount-2.22/doc/pam_mount.conf.5.in  2025-10-30 11:58:01.339502930 
+0100
@@ -132,6 +132,12 @@
 .TP
 \fBfskeypath="\fP\fIpath\fP\fB"\fP
 Path to the filesystem key.
+\fBignoresource="1"\fP
+Ignores the source path when checking if the volume was already mounted. This
+is useful in case the source path specified in
+\fBpath\fP is different to the path stored in the kernel. This could be the 
case when using
+\fBby-label\fP devices files or with NFS servers.
+.TP
 .SH Variables
 Within attributes and commands (see later section), specific placeholders or
 variables, identified by \fB%(\fP\fIname\fP\fB)\fP may be used. These are
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/src/mount.c 
new/pam_mount-2.22/src/mount.c
--- old/pam_mount-2.21/src/mount.c      2024-10-05 21:17:16.129440394 +0200
+++ new/pam_mount-2.22/src/mount.c      2025-10-30 11:58:01.340502932 +0100
@@ -131,6 +131,9 @@
                }
        }
 
+       if (vpt->ignore_source)
+               result = true;
+
        if (target != NULL)
                result &= strcmp(vpt->mountpoint, target) == 0;
 
@@ -256,14 +259,14 @@
                "Mount info: %s, user=%s <volume fstype=\"%s\" "
                "server=\"%s\" path=\"%s\" "
                "mountpoint=\"%s\" cipher=\"%s\" fskeypath=\"%s\" "
-               "fskeycipher=\"%s\" fskeyhash=\"%s\" header=\"%s\" 
options=\"%s\" /> "
-               "fstab=%u ssh=%u\n",
+               "fskeycipher=\"%s\" fskeyhash=\"%s\" header=\"%s\" 
options=\"%s\" "
+               "fstab=%u ssh=%u ignoresource=%u /> \n",
                vpt->globalconf ? "globalconf" : "luserconf",
                znul(vpt->user), znul(vpt->fstype),
                znul(vpt->server), znul(vpt->volume),
                vpt->mountpoint, znul(vpt->cipher), znul(vpt->fs_key_path),
                znul(vpt->fs_key_cipher), znul(vpt->fs_key_hash), 
znul(vpt->header), options,
-               vpt->use_fstab, vpt->uses_ssh
+               vpt->use_fstab, vpt->uses_ssh, vpt->ignore_source
        );
        HXmc_free(options);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/src/pam_mount.c 
new/pam_mount-2.22/src/pam_mount.c
--- old/pam_mount-2.21/src/pam_mount.c  2024-10-05 21:17:16.129440394 +0200
+++ new/pam_mount-2.22/src/pam_mount.c  2025-10-30 10:56:29.381872261 +0100
@@ -419,8 +419,9 @@
 
        argv = arglist_build(config->command[CMD_PMVARRUN], vinfo);
        memset(&proc, 0, sizeof(proc));
+       proc.p_flags = HXPROC_STDOUT;
        if (config->debug)
-               proc.p_flags = HXPROC_VERBOSE | HXPROC_STDOUT;
+               proc.p_flags |= HXPROC_VERBOSE;
        proc.p_ops   = &pmt_dropprivs_ops;
        if ((ret = pmt_spawn_dq(argv, &proc)) <= 0) {
                l0g("error executing pmvarrun: %s\n", strerror(-ret));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/src/pam_mount.h 
new/pam_mount-2.22/src/pam_mount.h
--- old/pam_mount-2.21/src/pam_mount.h  2023-08-17 15:42:52.871165784 +0200
+++ new/pam_mount-2.22/src/pam_mount.h  2025-10-30 11:58:01.340502932 +0100
@@ -88,6 +88,7 @@
        bool noroot;
        /* try mount even when password is empty */
        bool empty_pass;
+       bool ignore_source;
 };
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pam_mount-2.21/src/rdconf1.c 
new/pam_mount-2.22/src/rdconf1.c
--- old/pam_mount-2.21/src/rdconf1.c    2025-10-06 13:11:50.306920049 +0200
+++ new/pam_mount-2.22/src/rdconf1.c    2025-10-30 11:58:01.340502932 +0100
@@ -1438,6 +1438,9 @@
        if (fstype_nodev(vpt->fstype) == 1 && vpt->volume == NULL)
                vpt->volume = xstrdup("none");
 
+       if ((tmp = xml_getprop(node, "ignoresource")) != NULL)
+               vpt->ignore_source = parse_bool_f(tmp);
+
        return NULL;
 
  out:

Reply via email to