Mailinglist Archive: opensuse-bugs (4203 mails)

< Previous Next >
[Bug 739221] New: /etc/pam.d/xdm lacks pam_systemd module
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Mon, 2 Jan 2012 21:46:26 +0000
  • Message-id: <>

Summary: /etc/pam.d/xdm lacks pam_systemd module
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: All
OS/Version: SuSE Other
Status: NEW
Severity: Major
Priority: P5 - None
Component: X.Org
AssignedTo: bnc-team-xorg-bugs@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: javier@xxxxxxxxxxxxxxxxx
QAContact: xorg-maintainer-bugs@xxxxxxxxxxxxxxxxxxxxxx
Found By: ---
Blocker: ---

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20100101

In /etc/pam.d/xdm (in openSUSE 12.1) the pam_systemd module is missing by
systemd-uaccess is used to set ACL on device files in some cases (e.g. when a
digital camera is plugged in) and it's not able to get information about the
user owning the session (i.e. /run/systemd/seats/seat0 is not updated by PAM),
as we can see in the following example:

$ cat /run/systemd/seats/seat0
# This is private data. Do not parse.

Putting the pam_systemd module in /etc/pam.d/xdm as follows:

$ cat /etc/pam.d/xdm
auth include common-auth
account include common-account
password include common-password
session required
session required kill-session-processes=1
session include common-session

Makes PAM update the /run/systemd/seats/seat0 correctly, as in the following

$ cat /run/systemd/seats/seat0
# This is private data. Do not parse.

And some devices that didn't work because of wrong permissions, start to work.

Probably, the case where a user boots with old SysV init should be managed too,
but currently without that entry users using systemd may experience problems in
using some devices.

Reproducible: Always

Steps to Reproduce:
1. Plug a device such a digital camera
2. Try using it as the user owning the session (not root)
Actual Results:
There is an error writing to the device

Expected Results:
The user owning the session should be able to write to the device (if writing
is supported)

See OP:

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >