IRC chat logs for #ltsp on irc.libera.chat (webchat)


Channel log from 20 July 2019   (all times are UTC)

00:17ogra has left IRC (ogra!~ogra_@ubuntu/member/ogra, Ping timeout: 258 seconds)
00:18ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
01:07vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
01:58jgee has left IRC (jgee!~jgee@190.159.118.121, Remote host closed the connection)
02:05jgee has joined IRC (jgee!~jgee@190.159.118.121)
04:09vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
07:21statler has joined IRC (statler!~Georg@p54897D17.dip0.t-ipconnect.de)
08:03ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 245 seconds)
08:03ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
08:10ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 245 seconds)
08:13ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
08:23ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Remote host closed the connection)
08:23ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
08:33ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Remote host closed the connection)
08:33ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
08:43ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Remote host closed the connection)
08:43ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
08:50ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de, Ping timeout: 245 seconds)
10:12ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
10:13ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
10:14ogra has joined IRC (ogra!~ogra_@ubuntu/member/ogra)
10:18ogra has left IRC (ogra!~ogra_@ubuntu/member/ogra, Max SendQ exceeded)
10:18ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
10:19ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
10:20ogra has joined IRC (ogra!~ogra_@ubuntu/member/ogra)
10:25ogra has left IRC (ogra!~ogra_@ubuntu/member/ogra, Max SendQ exceeded)
10:25ogra_ has joined IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
11:17ogra_ has left IRC (ogra_!~ogra_@p5098ed03.dip0.t-ipconnect.de)
11:17ogra has joined IRC (ogra!~ogra_@ubuntu/member/ogra)
12:32vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
12:47vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Ping timeout: 250 seconds)
12:48vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
14:30
<alkisg>
I'm reading that nfs4 uses a single export tree; now that we're using nfs instead of nbd, would it make sense to put the tree in /srv/nfs/ltsp instead of /srv/ltsp, so that users can use /srv/nfs as the tree base?
14:31
<vagrantc>
oh...
14:31
that seems ... rather limited
14:31
if they want it in something other than /srv/nfs ...
14:31
<alkisg>
They propose bind-mounts to put submounts under the tree
14:32
So some fhs-aware guides use /srv/nfs, other use /exports,
14:32
and all of them then bind-mount whatever else they need under that tree
14:32
<vagrantc>
huh
14:32
<alkisg>
So one could e.g. bind-mount /home to /srv/nfs/home
14:32
(instead of /exports/home; no other option)
14:32
(the bind-mount is necessary)
14:33
of course our paths are configurable from /etc/ltsp/ltsp.conf; it's about what makes more sense to have as the default
14:34
<vagrantc>
sure
14:35
NFSv4 requires kerberos and all that, no?
14:35
<alkisg>
(these things take the most time, a looot more than the coding time :D)
14:35
Well, unencrypted nfs4 works without kerberos
14:35
AFAIK it's just as safe as nfs3, i.e. not at all
14:36
And one can have both nfs4 and nfs3 exports in his /etc/exports at the same time
14:36
<vagrantc>
oh, i didn't know nfs4 worked at all without kerberos
14:36
<alkisg>
(our configuration file is /etc/exports.d/ltsp-nfs.exports)
14:36
I haven't really done my homework though; I did see "mount | grep nfs" reporting nfs4, and I haven't installed kerberos, so I'm guessing my test was ok
14:39
An additional thing is that I'd like tftp to be accessible over nfs as well; e.g. to fetch lts.conf (now ltsp.img) or to fetch a kernel to update the local copy, when booting without pxe capabilities,...
14:40
So i'm thinking the kernels dir should be inside the nfs ltsp dir; and we can use a symlink from /srv/tftp to that if needed
14:42
<vagrantc>
or more bind mounts! :)
14:42
<alkisg>
Right
14:42
And, a great way to expose a VM for netbooting, is to bind-mount /home/alkisg/vm.raw to /srv/ltsp/images/vm.img, and run ltsp-update-kernels vm... more bind mounts there!
14:43
(as symlinking won't work with nfs)
14:43
(hardlinking might work, if they're in the same partition)
14:43
<vagrantc>
there used to be issues with bind-mounts and NFS ...
14:43
<alkisg>
crossmnt works fine, afaik
14:43
<vagrantc>
but honestly haven't checked recently, or it required some specific options
14:44
<alkisg>
It requires nohide or better crossmnt on /etc/exports, but I don't know of any other issues than that
14:44
/srv/ltsp *(ro,async,crossmnt,no_subtree_check,no_root_squash)
14:44
#/home *(rw,async,no_subtree_check)
14:45
That's our current defaults
14:57
Example test: /srv/ltsp *(fsid=0,ro,async,crossmnt,no_subtree_check,no_root_squash)
14:57
mount localhost:/srv/ltsp /mnt ==> gives nfs3
14:58
mount localhost:/ /mnt ==> gives nfs4
14:58
as / is only accessible over nfs4, i.e. the root of the exported tree
14:59
And of course initramfs-tools and klibc only support nfs3: /usr/lib/klibc/bin/nfsmount 127.0.0.1:/ /mnt ==> access denied
15:05vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
15:11GodFather has joined IRC (GodFather!~rcc@2600:1007:b00e:cf:811e:ac05:a525:6b27)
16:02woernie has joined IRC (woernie!~werner@p57A0EC92.dip0.t-ipconnect.de)
16:12GodFather has left IRC (GodFather!~rcc@2600:1007:b00e:cf:811e:ac05:a525:6b27, Read error: No route to host)
16:55ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
17:00pppingme has left IRC (pppingme!~pppingme@unaffiliated/pppingme, Ping timeout: 258 seconds)
18:20woernie has left IRC (woernie!~werner@p57A0EC92.dip0.t-ipconnect.de, Remote host closed the connection)
19:58ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
20:29GodFather has joined IRC (GodFather!~rcc@2600:1007:b01e:5d9:811e:ac05:a525:6b27)
22:18statler has left IRC (statler!~Georg@p54897D17.dip0.t-ipconnect.de, Remote host closed the connection)
22:27vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
23:05spaced0ut has left IRC (spaced0ut!~spaced0ut@unaffiliated/spaced0ut, Ping timeout: 258 seconds)