Page MenuHomeFreeBSD

pam: Always use pam_xdg for session and xdm
ClosedPublic

Authored by manu on Feb 21 2024, 2:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 14, 9:19 PM
Unknown Object (File)
Oct 18 2024, 10:50 AM
Unknown Object (File)
Oct 18 2024, 10:50 AM
Unknown Object (File)
Oct 18 2024, 10:50 AM
Unknown Object (File)
Oct 18 2024, 10:50 AM
Unknown Object (File)
Oct 18 2024, 8:53 AM
Unknown Object (File)
Oct 10 2024, 9:45 PM
Unknown Object (File)
Sep 28 2024, 9:26 PM
Subscribers

Details

Summary

This ensure that the XDG_RUNTIME_DIR is always created and the environment
variable is present which is a must for any wayland user (at least).
The only "cost" of it is a directory is created and unused.

Sponsored by: Beckhoff Automation GmbH & Co. KG

Test Plan

Tested with x11/ly (wayland and x11), x11/sddm (wayland and x11), x11/xdm and login on the console.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 56167
Build 53055: arc lint + arc unit

Event Timeline

manu requested review of this revision.Feb 21 2024, 2:58 PM
manu retitled this revision from pam: Always use pam_xdg for session to pam: Always use pam_xdg for session and xdm.Feb 22 2024, 6:07 AM
This revision is now accepted and ready to land.Feb 22 2024, 6:15 PM
This revision was automatically updated to reflect the committed changes.

Was that change adequately tested?

It did it break LightDM with a ghome-keyring.

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279669.

That also breaks the GhostBSD gnome-keyring setup.