[Bug 294003] libpam/modules/pam_xdg: #define BASE_RUNTIME_DIR_PREFIX "/var/run/xdg" add trailing slash ("/")?
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 294003] libpam/modules/pam_xdg: #define BASE_RUNTIME_DIR_PREFIX "/var/run/xdg" add trailing slash ("/")?"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 294003] libpam/modules/pam_xdg: #define BASE_RUNTIME_DIR_PREFIX "/var/run/xdg" add trailing slash ("/")?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 23 Mar 2026 17:55:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294003
Bug ID: 294003
Summary: libpam/modules/pam_xdg: #define
BASE_RUNTIME_DIR_PREFIX "/var/run/xdg" add trailing
slash ("/")?
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: bugs@FreeBSD.org
Reporter: ohartmann@walstatt.org
Just testing some issues of x11/xdm with security/sssd2 by using
security/pamtester.
I get bitten by an error in "open_session":
[ohartmann]: pamtester -v xdm ohartmann open_session
pamtester: invoking pam_start(xdm, ohartmann, ...)
pamtester: performing operation - open_session
Can't mkdir /var/run/xdgpamtester: Session failure
There is a "/" missing between xdg and pamtester.
This can be mitigated by add to /etc/pam.d/xdm:
[...]
session required pam_xdg.so
runtime_dir_prefix=/var/run/xdg/
But it also can be mitigated by using in
/usr/src/lib/libpam/modules/pam_xdg/pam_xdg.c
[...]
#define BASE_RUNTIME_DIR_PREFIX "/var/run/xdg/"
--
You are receiving this mail because:
You are the assignee for the bug.