В Sun, 06 Oct 2013 08:40:18 +0200 lynn <lynn@steve-ss.com> пишет:
Hi The users are windows domain users who need their home directories and the other shares automounted from the file server via kerberised cifs using sssd. The kerberos cache must be available for the mount to succeed, otherwise cifs.upcall fails with 'unable to initialise cache'.
systemd creates the /run/user/$UID directory upon login, so it will not be present on a client machine as root will not have logged in; we need that directory to be present _before_ the user hits the file server.
I gave kinit as an example because I didn't think anyone would understand the use case, so thanks for asking.
It seems a real pain to have to use systemd-tmpfiles now in 13.1, when /tmp has served perfectly well to store the root cache in al previous openSUSE versions.
My workaround for the moment is to put the following in /etc/init.d/boot.local: mkdir /run/user/0 && chmod 0700 /run/user/0
Does setting default_ccache_name to old default in krb5.conf work? It is more simple and note that /run/user/$UID is removed when all user sessions are closed.
I'm sure that there is something simple I've overlooked. Thanks for your interest. L x
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org