https://bugs.kde.org/show_bug.cgi?id=365722

Albert Astals Cid <aa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwa
                   |                            |llet-pam/d396744cc15b489e7c
                   |                            |c74c30e9995423f17871a6
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #2 from Albert Astals Cid <aa...@kde.org> ---
Git commit d396744cc15b489e7cc74c30e9995423f17871a6 by Albert Astals Cid, on
behalf of Damjan Georgievski.
Committed on 21/01/2017 at 00:11.
Pushed by aacid into branch 'Plasma/5.9'.

use XDG_RUNTIME_DIR instead of /tmp for the socketPath

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.

REVIEW: 129526

M  +21   -11   pam_kwallet.c

https://commits.kde.org/kwallet-pam/d396744cc15b489e7cc74c30e9995423f17871a6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to