[systemd-devel] Why working this on reboot but not on start up

Lennart Poettering lennart at poettering.net
Thu Oct 2 03:16:49 PDT 2014


On Tue, 30.09.14 13:24, Günther J. Niederwimmer (gjn at gjn.priv.at) wrote:

> Hello,
> 
> I have a problem to run this correct, it is working on a reboot but not on 
> start up.
> 
> Can any help me for this Problem, Thanks.
> 
> I make a new service File for the kerberos initialisation
> 
> this is my construct is any wrong in this files?
> 
> /etc/tmpfiles.d/kinit.conf
> d /run/user/0/krb5cc 1777 root root -

This won't work. We nowadays mount /run/user/$UID as a tmpfs at the
time of first login of a user, and unmount it at time of last
logout. Creating a dir in that directory will hence have little effect
during runtime, as it will be overmounted as you log in.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list