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

Wheezy ltsp chroot



According to jenkins.debian.net/view/edu the combi-server installation 
seems to fail cause the chroot can't be set up.

Installation of squeeze-test-combi-server seems to be broken as well -- 
due to the same reason?

As far as Wheezy is concerned I managed to install the chroot (image as 
of feb 07, doing some steps by hand after broken installation) using an 
ugly workaround in debian-edu-ltsp -- see below.  This worked cause the 
only reason for failing is IMO the problem with dictionaries and ispell 
packages. There seems to be an empty entry in debconf for choosing the 
ispell variant, but loads of packages are available.  Fixing the debconf 
database seems to solve the problem.

BTW this multitude of language related packages is sort of strange. Is 
it really required to install loads of l10n packages (among others for 
iceweasel, kde, LibeOffice) if only one language is chosen?  Wouldn't 
d-i install the right ones nowadays by using the provided 
language/country choice?

(Will report other ltsp related problems separatly.)

---------------------------------------------------------------------
--- a/debian-edu-ltsp	2013-02-26 20:39:14.000000000 +0100
+++ b/debian-edu-ltsp	2013-02-27 11:22:03.000000000 +0100
@@ -36,7 +36,7 @@
 export LC_ALL
 
 test "$base" || base=/opt/ltsp
-test "$dist" || dist=squeeze
+test "$dist" || dist=wheezy
 
 if [ -d $base/$ARCH ] ; then
     echo "error: $base/$ARCH already exist.  Remove it before running $0"
@@ -91,13 +91,18 @@
 fi
 
 # Build LTSP chroot, fetch packages from default APT sources
-ltsp-build-client \
+if ltsp-build-client \
   $ltspopts \
   --mirror $mirror \
   --dist $dist \
   --components "$components" \
   --security-mirror "$securitymirror" \
-  --extra-mirror "$extramirror"
+  --extra-mirror "$extramirror" ; then
+  :
+  else
+  ltsp-chroot /usr/share/debconf/fix_db.pl
+  ltsp-chroot dpkg --configure -a
+fi
 
 #populate /var/lib/tftpboot with kernel images and pxelinux configuration
 if [ -f /usr/sbin/ltsp-update-kernels ] ; then

---------------------------------------------------------------------

As the modified debian-edu-ltsp script was executed _after_ a broken 
installation, all configuration steps normally done inside the ltsp 
chroot during finish-install are missing -- which would of course be 
different if the modified version of debian-edu-install would be in the 
d-e-c package.

After running the script _manually_ this is the output of 
/usr/lib/debian-edu-config/testsuite/ltsp:

---------------------------------------------------------------------
error: /usr/lib/debian-edu-config/testsuite/ltsp: LTSP chroot is missing in /opt/ltsp/i386/
success: /usr/lib/debian-edu-config/testsuite/ltsp: package acpi-support-base is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package alsa-base is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package alsa-utils is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package debian-edu-archive-keyring is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package debian-edu-artwork is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package education-thin-client is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package ltsp-client is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package sitesummary-client is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: package education-workstation is installed in LTSP chroot
success: /usr/lib/debian-edu-config/testsuite/ltsp: PROFILE=Workstation is set in /opt/ltsp/i386/etc/debian-edu/config.
error: /usr/lib/debian-edu-config/testsuite/ltsp: /etc/ldap/ssl/ldap-server-pubkey.pem differ inside and outside LTSP
error: /usr/lib/debian-edu-config/testsuite/ltsp: /etc/iceweasel/profile/cert_override.txt differ inside and outside LTSP
success: /usr/lib/debian-edu-config/testsuite/ltsp: resolv.conf is identical inside and outside LTSP
success: /usr/lib/debian-edu-config/testsuite/ltsp: IPv4 forwarding is enabled
success: /usr/lib/debian-edu-config/testsuite/ltsp: found LTSP default settings in LDAP
success: /usr/lib/debian-edu-config/testsuite/ltsp: able to connect to ldinfod
success: /usr/lib/debian-edu-config/testsuite/ltsp: mounting tjener.intern:/opt/ltsp/i386 succeeded
----------------------------------------------------------------------

(Actually, there are much more config issues -- reason see above.)

Could someone confirm this?  Other ideas? 

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: