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

Re: Home directories blank in diskless workstations



On 20 February 2015 at 03:42, Wolfgang Schweer <wschweer@arcor.de> wrote:
Hi, thanks for the additional information.

On Thu, Feb 19, 2015 at 07:58:37PM +0530, uday bhatye wrote:
>
> It was so simple, but I couldn't manage to find.
>
> https://wiki.debian.org/DebianEdu/Status/Jessie
> gives the answer
>
> it's saying that
>
> "On LTSP diskless workstations the homedir isn't mounted. This is caused by
> automounter running and blocking /skole as mountpoint for sshfs. As a
> workaround (to be able to test things) set RM_SYSTEM_SERVICES=autofs in
> /opt/ltsp/i386/etc/lts.conf. "
>
> doing that solves the home directories problem.

This was a temporary (iirc systemd related) workaround for the upcoming
Debian Edu Jessie release. I'm wondering why this is needed for Wheezy,
as /usr/share/ltsp/init-ltsp.d/60-edu-diskless-ws (in the LTSP chroot)
should care for disabling autofs. Could you provide the content of
lts.conf?

/usr/share/ltsp/init-ltsp.d/60-edu-diskless-ws is the following

#!/bin/sh
# For Debian Edu diskless workstations (i.e. ltsp fat clients).
if boolean_is_true "$LTSP_FATCLIENT"; then
    if [ -z "$DEFAULT_DISPLAY_MANAGER" ]; then
        # Disable autofs to let sshfs mount home dir (LDM is used).
        update-rc.d autofs disable 2 >/dev/null  2>&1
    else
        # Enable services, just to be sure (kdm, gdm3 or lightdm is used).
        for service in autofs nfs-common nslcd nscd ; do
            update-rc.d $service enable 2 >/dev/null  2>&1
        done
    fi
fi


lts.conf is

[default]
    LTSP_CONFIG=True
    #SOUND=False
    #LOCALDEV=False
    #CONFIGURE_X=False
    RM_SYSTEM_SERVICES=autofs
 
 
> still couldn't get kerberos ticket renewed.

No idea atm, maybe something went wrong during installation? What is the
content of <LTSP-chroot>/etc/ldap/ldap.conf?

Wolfgang


<LTSP-chroot>/etc/ldap/ldap.conf is

TLS_CACERT      /etc/ssl/certs/ca-certificates.crt

HOST ldap.intern
BASE dc=skole,dc=skolelinux,dc=no
sudoers_base ou=sudoers,dc=skole,dc=skolelinux,dc=no
TLS_REQCERT demand
TLS_CACERT /etc/ldap/ssl/ldap-server-pubkey.pem



thanks

Regards,

Uday B Bhatye.

Reply to: