Bug 11534 - Change default ccache name to DIR:/run/user/%{uid}/krb5cc
Summary: Change default ccache name to DIR:/run/user/%{uid}/krb5cc
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Guillaume Rousse
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, Triaged
Depends on:
Blocks:
 
Reported: 2013-10-24 20:51 CEST by Hartmut Goebel
Modified: 2016-02-09 09:47 CET (History)
1 user (show)

See Also:
Source RPM: krb5-1.11.1-1.2.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Hartmut Goebel 2013-10-24 20:51:54 CEST
This is what Fedora >18 does. See .spec-file in ftp://ftp.icm.edu.pl/vol/rzm2/linux-fedora-secondary/updates/testing/19/SRPMS/krb5-1.11.3-1.fc19.src.rpm

Storing the credential-cache in /run/user has the benefit, that /tmp will not be cluttered with user-related files. Further this seams to be the place to store ephemeral user data.

From fedoras .spec-file:
....8<---
%if 0%{?fedora} > 18 || 0%{?rhel} > 6
DEFCCNAME=DIR:/run/user/%%{uid}/krb5cc; export DEFCCNAME
%endif
[...]
* Fri Apr 12 2013 Nalin Dahyabhai <nalin@redhat.com> 1.11.1-9
- move the compiled-in default ccache location from the previous default of
  FILE:/tmp/krb5cc_%%{uid} to DIR:/run/user/%%{uid}/krb5cc (part of #949588)
....8<---
Manuel Hiebel 2013-10-24 22:58:04 CEST

Keywords: (none) => Triaged
Assignee: bugsquad => guillomovitch

Comment 1 Guillaume Rousse 2013-10-30 23:29:56 CET
This does change both the location and the type of the default credential cache, for reasons explained here:
http://fedoraproject.org/wiki/Features/KRB5DirCache
http://fedoraproject.org/wiki/Features/KRB5CacheMove

Moreover, that's for fedora 18 and 19 only, fedora 20 seems to use kernel keyring directly, backported from incoming 1.12 release:
http://pkgs.fedoraproject.org/cgit/krb5.git/tree/krb5.spec
http://k5wiki.kerberos.org/wiki/Projects/Keyring_collection_cache

That's a bit more invasive than I'm willing to test right now...
Comment 2 Samuel Verschelde 2015-04-23 14:22:48 CEST
What's the status in current cauldron?

Keywords: Junior_job => NEEDINFO
Target Milestone: Mageia 4 => ---
Severity: minor => enhancement

Comment 3 Guillaume Rousse 2015-05-13 23:45:17 CEST
The lack of comment since 2013 is quite explicit: no change ever occurred.
Comment 4 Nic Baxter 2016-02-09 09:47:36 CET
No further comment so closed

Status: NEW => RESOLVED
CC: (none) => nic
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.