Hello,
I'm trying to configure LTSP to use NFS on Ubuntu 16.04 (it uses NBD by
default).
First, I added to /etc/exports:
##
/opt/ltsp/i386_xenial *(ro,no_root_squash,async,no_subtree_check)
##
Then I created PXE config file
/var/lib/tftpboot/ltsp/i386_xenial/pxelinux.cfg/default:
##
default ltsp-NFS
ontimeout ltsp-NFS
label ltsp-NFS
menu label LTSP, using NFS
kernel vmlinuz
append ro initrd=initrd.img init=/sbin/init-ltsp forcepae root=/dev/nfs
ip=dhcp boot=nfs rootpath=/opt/ltsp/i386_xenial
ipappend 2
##
The client succesfully booted but I couldn't log in. After some search I
discovered that all system files are not writeable by root though they have
644 permissions. However, they can be made writeable with chmod:
##
root@vma-test:~# ls -l /etc/environment
-rw-r--r-- 1 root root 96 окт 3 14:07 /etc/environment
root@vma-test:~# echo '#test' >> /etc/environment
-bash: /etc/environment: Permission denied
root@vma-test:~# chmod 644 /etc/environment
root@vma-test:~# ls -l /etc/environment
-rw-r--r-- 1 root root 96 окт 3 14:07 /etc/environment
root@vma-test:~# echo '#test' >> /etc/environment
root@vma-test:~# cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game
s:/usr/local/games"
#test
root@vma-test:~#
##
NBD works ok so I guess there's something wrong with my NFS configarion.
Thanks in advance.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net