Project

General

Profile

Tâche #21404

Scénario #21239: Fournir un module AmonEcole-Eclair

Probème de montage des répertoires partagés depuis une image FAT

Added by Laurent Flori over 3 years ago. Updated over 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
09/13/2017
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Description

Dans le cas d'une image FAT, les partages du Scribe dans /home/workgroups ne sont pas visibles.

Solution:
  • Dans le script X01-localapps il faut modifier une ligne pour monter le dossier personnel de l'utilisateur. On veut monter /home/<user>/ au lieu de /home/<user>/perso. Les répertoires partagés sont disponibles dans /home/<user>/.ftp
    avant:.
     sshfs -o "${follow_home_symlinks}${disable_hardlink}allow_other,nonempty,ControlPath=$LDM_SOCKET" "$LDM_SERVER:$LDM_HOME" "$LDM_HOME" 
    

    après
    sshfs -o "${follow_home_symlinks}${disable_hardlink}allow_other,nonempty,ControlPath=$LDM_SOCKET" "$LDM_SERVER:${LDM_HOME%/perso}" "${LDM_HOME%/perso}" 
    
  • Ajouter un script ldm X00-mount-workgroups-fatclient dans /usr/share/ldm/rc.d/ (dans le chroot de l'image)
    Attention, il semble que ce script doive passer avant le X01-localapps qui monte le home
    if  boolean_is_true "$LTSP_FATCLIENT";then
        mkdir /home/workgroups
        sshfs -o "${follow_home_symlinks}${disable_hardlink}allow_other,nonempty,ControlPath=$LDM_SOCKET" "$LDM_SERVER:/home/workgroups" "/home/workgroups/" 
    fi
    

montage.png View (73.8 KB) Daniel Dehennin, 09/26/2017 10:10 AM

Associated revisions

Revision af0dcd08 (diff)
Added by Laurent Flori over 3 years ago

Add mount scribe shared dirs up login in fat clients

ref: #21404

eole-gen-ltsp-images generate an ldm login script in fat clients
IMAGE_DIR/usr/share/ldm/rc.d/X00-mount-workgroups-fatclient

  • mount /home/workgroups
  • mount $HOME/../.ftp

Fat clients now have access to scribe shared dirs

History

#1 Updated by Laurent Flori over 3 years ago

  • Description updated (diff)

#2 Updated by Laurent Flori over 3 years ago

  • Description updated (diff)

#3 Updated by Laurent Flori over 3 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Laurent Flori over 3 years ago

  • Remaining (hours) changed from 4.0 to 0.5

#5 Updated by Scrum Master over 3 years ago

  • Status changed from En cours to Résolu

#6 Updated by Daniel Dehennin over 3 years ago

  • % Done changed from 0 to 100

#7 Updated by Daniel Dehennin over 3 years ago

C’est OK pour moi.

#8 Updated by Daniel Dehennin over 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF