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

Günther J. Niederwimmer gjn at gjn.priv.at
Thu Oct 2 03:34:52 PDT 2014


Hello Profis.

Thank's for the answer.

Am Donnerstag, 2. Oktober 2014, 12:16:49 schrieb Lennart Poettering:
> 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.

Is it possible to test if the file / link exist ("/run/user/0/krb5cc/tkt") with 
systemd and restart when not.

now I found a way to start kinit on the KVM Clients but not on the Host :(.

google don't help	
-- 
mit freundlichen Grüßen / best Regards,

  Günther J. Niederwimmer


More information about the systemd-devel mailing list