Summary: |
ltsp-update-sshkeys doesn't update ssh_known_hosts on symlinked /opt/ltsp |
Product: |
LTSP
|
Reporter: |
alban <alban.bernard> |
Component: |
Installer | Assignee: |
Jim McQuillan <jam> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
minor
|
|
|
Priority: |
low
|
Keywords: |
janitor |
Version: |
unspecified | |
|
Hardware: |
x86 (IA32) | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Hi, When you customize ltsp by symlinking /opt/ltsp to another dir (i.e. ln -s /srv/ltsp /opt/ltsp), the command ltsp-update-sshkeys doesn't find arch root directories. As administrator would potentially change ltsp root directory by using symbolic links, I think that a good practice would be to terminate all searched directories in find command by a "/" to be sure it will follows symlinks (the patch below). diff /usr/sbin/ltsp-update-sshkeys ltsp-update-sshkeys 3c3 < clients=$(find /opt/ltsp -mindepth 1 -maxdepth 1 -type d -printf '%f\n') --- > clients=$(find /opt/ltsp/ -mindepth 1 -maxdepth 1 -type d -printf '%f\n') Regards. Alban.