On Mon, Jan 28, 2013 at 09:34:07AM +0100, RalfGesellensetter wrote: > please, find below an original posting from a primary school at Halle > (Saale). > > They run a small skolelinux network offline. Everything works fine > when using the LTSP profile (including mail clients), but as it comes > to diskless workstations, imap doesn't work anymore from client side > (kmail). This seems to be a bug. As a workaround for running systema this might work:
Save the following script as edu-diskless-ws-fix. ----------------------- #!/bin/sh ### BEGIN INIT INFO # Provides: edu-diskless-ws-fix # Required-Start: $remote_fs $all # Required-Stop: $remote_fs $all # Should-Start: # Default-Start: 3 # Default-Stop: # Short-Description: Fix diskless workstation LTSP server name. # Description: By default the line '$SERVER server' is appended # to /etc/hosts. If $SERVER is 10.0.2.2, Kerberos # fails granting service tickets due to the false # hostname. This script should fix it. ### END INIT INFO case "$1" in start) ;; *) exit 0 ;; esac if [ "$(runlevel | cut -d" " -f2)" = "3" -a "$(grep 10.0.2.2 /etc/hosts)" != "" ]; then sed -i s/server/tjener.intern\ tjener/ /etc/hosts; fi exit 0 --------------------- Execute these commands as root on tjener (combined server): cp edu-diskless-ws-fix /opt/ltsp/i386/etc/init.d chown root:root /opt/ltsp/i386/etc/init.d/edu-diskless-ws-fix chmod 755 /opt/ltsp/i386/etc/init.d/edu-diskless-ws-fix # Make sure that no line break is in between: ltsp-chroot -a i386 sh -c "cd /etc/rc3.d && ln -s ../init.d/edu-diskless-ws-fix S99edu-diskless-ws-fix" # Same applies here (warnings can be ignored): ltsp-chroot -a i386 sh -c "update-rc.d edu-diskless-ws-fix defaults" ------------------------------ Someone with proper coding skills should check script and commands. Wolfgang
signature.asc
Description: Digital signature