[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#931680: debian-edu-config: wrong LTSP chroot path in /etc/exports file if LTSP server has i386 arch



Package: debian-edu-config
Version: 2.10.65
Severity: important

If an LTSP server is setup using arch i386, the /etc/export file
contains a wrong LTSP chroot path (/opt/ltsp/i686).

This is due to cf3/cf.homes containing a wrong arch 'translation' setting.

The fix is trivial:

diff --git a/cf3/cf.homes b/cf3/cf.homes
index 9e999e35..8c290385 100644
--- a/cf3/cf.homes
+++ b/cf3/cf.homes
@@ -38,7 +38,7 @@ bundle agent editline_homes
 vars:

   "default_arch" string => ifelse("x86_64", "amd64",
-                                      "i386", "i386",
+                                      "i686", "i386",
                                       $(sys.arch));
   "combined"  slist  => { "/srv/nfs4 @ltsp-server-hosts(sec=krb5p:krb5i:krb5:sys,rw,sync,fsid=0,crossmnt,no_subtree_check)
+@workstation-hosts(sec=krb5p:krb5i:krb5:sys,rw,sync,fsid=0,crossmnt,no_subtree_check)
+@server-hosts(sec=krb5p:krb5i:krb5:sys,rw,sync,fsid=0,crossmnt,no_subtree_check)",
                         "/srv/nfs4/home0 @ltsp-server-hosts(sec=krb5p:krb5i:krb5:sys,rw,sync,no_subtree_check)
+@workstation-hosts(sec=krb5p:krb5i:krb5:sys,rw,sync,no_subtree_check) @server-hosts(sec=krb5p:krb5i:krb5:sys,rw,sync,no_subtree_check)",

Wolfgang

Attachment: signature.asc
Description: PGP signature


Reply to: