kinit error with systemd

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Oct 5 13:10:52 EDT 2013


On 10/05/2013 12:59 PM, steve wrote:
> When trying to get Kerberos tickets, we get an error that the directory
> does not exist e.g. 
> as root:
>  kinit Administrator
>  kinit: Credential cache directory /run/user/0/krb5cc does not exist
>  while getting default ccache
>  
>  If I now create the directory:
>  /run/user/0
> it works fine. 
> 
> I'm not sure whether this is a kinit problem or a systemd problem as
> the /run/usr/$UID directory is only produced when $UID logs in. 

maybe you need to use systemd's tmpfiles mechanism to pre-create
/run/user/0 before the kinit service gets run?

 http://www.freedesktop.org/software/systemd/man/systemd-tmpfiles.html

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1027 bytes
Desc: OpenPGP digital signature
Url : http://mailman.mit.edu/pipermail/kerberos/attachments/20131005/0e21f2ff/attachment.bin


More information about the Kerberos mailing list