[debian-lan-devel] [debian-lan] 01/02: Fix diskless clients.

Andreas B. Mundt andi at moszumanska.debian.org
Fri Aug 12 07:52:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

andi pushed a commit to branch master
in repository debian-lan.

commit 3a3ed56545927433c34a4ccace9fa184466f6daf
Author: Andreas B. Mundt <andi at debian.org>
Date:   Thu Aug 11 14:09:48 2016 +0200

    Fix diskless clients.
    
    Make sure that rpc.gssd runs with option '-n' and missing krb5.keytab file.
    This is needed to use the user's kerberos key for mounting the home
    directory with autofs.
---
 fai/config/package_config/DISKLESS_CLIENT       | 1 +
 fai/config/scripts/DISKLESS_CLIENT/30-nfs4_krb5 | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/fai/config/package_config/DISKLESS_CLIENT b/fai/config/package_config/DISKLESS_CLIENT
index e9cf9b1..13654fa 100644
--- a/fai/config/package_config/DISKLESS_CLIENT
+++ b/fai/config/package_config/DISKLESS_CLIENT
@@ -55,6 +55,7 @@ procinfo
 eject
 locales
 console-setup
+console-common
 pciutils usbutils
 #heirloom-mailx
 mutt
diff --git a/fai/config/scripts/DISKLESS_CLIENT/30-nfs4_krb5 b/fai/config/scripts/DISKLESS_CLIENT/30-nfs4_krb5
index 0bf17dc..72c034e 100755
--- a/fai/config/scripts/DISKLESS_CLIENT/30-nfs4_krb5
+++ b/fai/config/scripts/DISKLESS_CLIENT/30-nfs4_krb5
@@ -6,4 +6,7 @@ if ! ifclass SSHFS_CLIENT ; then
     ainsl /etc/default/nfs-common 'RPCGSSDOPTS="-n"'
     ainsl /etc/pam.d/common-auth  'auth    optional  pam_script.so'
     fcopy -m root,root,0755 /usr/share/libpam-script/pam_script_ses_open
+    cp ${target}/lib/systemd/system/rpc-gssd.service ${target}/etc/systemd/system/
+    sed -i -e "s/GSSDARGS/GSSDARGS -n/" -e "s/^\(ConditionPathExists.*\)/#\1/" \
+        ${target}/etc/systemd/system/rpc-gssd.service
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/debian-lan.git



More information about the debian-lan-devel mailing list