RFE: kwallet-pam should use XDG_RUNTIME_DIR instead of /tmp for the socketPath

Review Request #129526 - Created Nov. 21, 2016 and submitted

Information
Damjan Georgievski
kwallet-pam
master
365722
Reviewers
kdeframeworks
Most recent Linux distributions setup a per-user XDG_RUNTIME_DIR as a tmpfs, which is also tied to their session lifecycle. Typically this is in /run/user/1000/.

My suggestion is to use $XDG_RUNTIME_DIR/kwallet5.socket if XDG_RUNTIME_DIR exists, or fallback to /tmp/kwallet5_${username}.socket if it doesn't.

Reproducible: Always

  

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Damjan Georgievski
David Faure
Damjan Georgievski
David Faure
Damjan Georgievski
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit d396744cc15b489e7cc74c30e9995423f17871a6 by Albert Astals Cid on behalf of Damjan Georgievski to branch Plasma/5.9.
Loading...