Package: libpam-mount
Version: 2.19-1
Severity: minor
Tags: patch

Dear Maintainer,

   * What led up to the situation?

Running 'sudo -i' causes 'HXproc_run_async: pmvarrun: No such file or 
directory' to be printed. The sudo call works without problem.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

sudo -i

   * What was the outcome of this action?

'HXproc_run_async: pmvarrun: No such file or directory' was printed

   * What outcome did you expect instead?

Not to see that message

Fix (but I don't know whether this is the best or correct fix):

--- /tmp/pam_mount.conf.xml.original    2023-04-13 09:23:42.587754765 +0100
+++ /etc/security/pam_mount.conf.xml    2023-04-13 09:16:31.053801290 +0100
@@ -38,4 +38,7 @@
 
 <mkmountpoint enable="1" remove="true" />
 
+<!-- https://bugs.gentoo.org/330995 -->
+<pmvarrun>/usr/sbin/pmvarrun -u %(USER)</pmvarrun>
+
 </pam_mount>


-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-security')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-7-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libpam-mount depends on:
ii  libc6            2.36-8
ii  libcryptsetup12  2:2.6.1-3~deb12u1
ii  libhx32          4.10-1
ii  libmount1        2.38.1-5+b1
ii  libpam-runtime   1.5.2-6
ii  libpam0g         1.5.2-6
ii  libpcre2-8-0     10.42-1
ii  libssl3          3.0.8-1
ii  libxml2          2.9.14+dfsg-1.1+b3

Versions of packages libpam-mount recommends:
ii  libpam-mount-bin  2.19-1

Versions of packages libpam-mount suggests:
ii  cifs-utils    2:7.0-2
pn  davfs2        <none>
ii  fuse3 [fuse]  3.14.0-3
pn  hxtools       <none>
ii  lsof          4.95.0-1
ii  openssl       3.0.8-1
ii  psmisc        23.6-1
ii  sshfs         3.7.3-1.1
ii  xfsprogs      6.1.0-1

-- Configuration Files:
/etc/security/pam_mount.conf.xml changed:
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
<!--
        See pam_mount.conf(5) for a description.
-->
<pam_mount>
                <!-- debug should come before everything else,
                since this file is still processed in a single pass
                from top-to-bottom -->
<debug enable="0" />
                <!-- Volume definitions -->
                <!-- pam_mount parameters: General tunables -->
<luserconf name=".pam_mount.conf.xml" />
<!-- Note that commenting out mntoptions will give you the defaults.
     You will need to explicitly initialize it with the empty string
     to reset the defaults to nothing. -->
<mntoptions 
allow="nosuid,nodev,loop,encryption,fsck,nonempty,allow_root,allow_other,credentials,uid,gid"
 />
<!--
<mntoptions deny="suid,dev" />
<mntoptions allow="*" />
<mntoptions deny="*" />
-->
<mntoptions require="nosuid,nodev" />
<!-- requires ofl from hxtools to be present -->
<logout wait="0" hup="no" term="no" kill="no" />
                <!-- pam_mount parameters: Volume-related -->
<mkmountpoint enable="1" remove="true" />
<!-- https://bugs.gentoo.org/330995 -->
<pmvarrun>/usr/sbin/pmvarrun -u %(USER)</pmvarrun>
</pam_mount>


-- no debconf information

Reply via email to