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


Channel log from 2 October 2020   (all times are UTC)

00:05spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
03:21spectra has left IRC (spectra!~spectra@debian/developer/spectra, *.net *.split)
03:49spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
03:56
<alkisg>
Aison0: indeed; yet it's initramfs-tools that needs v3, not ltsp
03:56
Fedora/dracut support nfs4 booting, but not debian/initramfs-tools
06:06RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
08:52
<Aison0>
alkisg, ok, ubuntu should support dracut
08:52
but I need to now how to setup it
08:53
I already use nfs4 with a "virtual fs" under /srv/nfs4/
08:54
but ltsp installs its nfs share under /srv/ltsp
08:54
I wounder if that's working
09:02adrianorg has joined IRC (adrianorg!~adrianorg@179.187.30.169.dynamic.adsl.gvt.net.br)
09:04adrianor1 has left IRC (adrianor1!~adrianorg@177.134.59.106, Ping timeout: 240 seconds)
09:34
<alkisg>
Aison0: ubuntu doesn't support dracut well, no. You can set BASE=/srv/nfs4/ltsp in ltsp.conf if you wish, it should mostly work...
09:34
Or you can just allow nfs3 as well, it's not a security issue for read only roots...
09:38
<Aison0>
ok, nice :)
09:38
i'm not sure how to enable nfsv3 :( and I guess its a pain for the firewall rules? because there is no fixed port
09:41
<alkisg>
Isn't it 2049? Dunno I'm not using a firewall
09:41
<Aison0>
oh, I do not have an /etc/ltsp/ltsp.conf ^^
09:41
2049 is nfsv4
09:41
<alkisg>
!ltsp.conf
09:41
<ltspbot>
ltsp.conf: Configuration file for LTSP: https://ltsp.org/man/ltsp.conf/
09:41
<alkisg>
Read the man page, first paragraph says how to create
09:42
<Aison0>
reading now https://ltsp.org/man/ltsp.conf/
09:42
;)
09:43
<alkisg>
Fixing Ports Used by NFSv3 Server https://www.systutorials.com/fixing-ports-used-by-nfs-server/
09:43
nfsd listens on TCP and UDP port 2049. It is also the default port number and it doesn’t require special configuration.
09:45
<Aison0>
BASE= is not mentioned on the man page ^^
09:46
<alkisg>
Aison0: https://ltsp.org/man/ltsp/
09:46
It's in the ltsp man page, not in the ltsp.conf man page
09:46
Command line parameters can also go in ltsp.conf, but they're mainly documented as command line parameters
10:14
Aison0: so it's actually BASE_DIR, not BASE, I got confused from the older LTSP name there :)
12:01
<Aison0>
with root-path can I set the default image?
12:02
eg. if my image is called foobar.img, I can set root-path=foobar.img in my dhcp server?
12:21
ok, found it myself ;)
12:22RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)
12:37
<Aison0>
do I need squashfs support in the client image?
12:45
<alkisg>
Aison0: install the ltsp package in the client image; this will put squashfs in its initramfs
12:46
<Aison0>
now with nfs3 initramfs starts loading, but then systemd hangs waiting for serveral service
12:46
<alkisg>
Can you upload a screenshot?
12:46
It sounds like networking gets broken; the client isn't supposed to get a new ip after boot
12:47
<Aison0>
for a very short time it claims something about ip address 192.168.... but I do not use these. I'm in a 10.0.0.0/16 subnet
12:48
and the client ip is 10.0.5.3, the gateway is 10.0.0.1, the nfs and tftp server 10.0.0.2
12:48
<alkisg>
dnsmasq is configured as dhcp server in 192.168.67.x; you didn't set that ip to the ltsp server, did you?
12:51
<Aison0>
I do not use dnsmasq ;)
12:52
<alkisg>
Yes, I'm just saying in case you forgot to uninstall it
12:52
<Aison0>
im using isc-dhcp-server, but there i'm not 100% sure if I configured it right for ipxe
12:53
but ipxe at least starts right and it also shows me the ltsp generated menu
12:54
<alkisg>
(03:46:34 PM) alkisg: Can you upload a screenshot?
12:54
Also: https://ltsp.org/advanced/isc-dhcp-server/
12:59
<Aison0>
alkisg, yes, i'm trying to make a screenshot ;)
13:21
alkisg, https://people.alvhaus.ch/~ivost/ltsp/test.webm
13:21
I created a virtualbox that boots from pxe and recorded the screen
13:21
same error as with the "real" box
13:25
brb, i'm away for 90min
13:37
<alkisg>
"Could not parse output of: ip - o route get 192.168.67.2"
13:37
Paste the output of that, to see what's going wrong there
13:38
And yes, at the point where it stops, it most probably means that the kodi image decided to get a new IP
13:39
Maybe you've configured netplan or systemd-networkd there? LTSP configures the ...semi-static IP in /etc/network/interfaces and in network manager
13:40
You may put POST_INIT_DEBUG_SHELL="debug_shell" in ltsp.conf, and run `ltsp initrd`, to get a shell early in the boot process
14:40spectra has left IRC (spectra!~spectra@debian/developer/spectra, *.net *.split)
14:40spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
15:12
<Aison0>
alkisg, back
15:13
192.168.67.2 via 10.0.0.1 dev enp0s3 src 10.0.255.210 uid 0
15:13
that's ip -o route ...
15:13
what's 192.168.67.2?
15:41
POST_INIT_DEBUG_SHELL= goes into [default] section?!?
15:46vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
16:02enaut[m] has left IRC (enaut[m]!enautmozil@gateway/shell/matrix.org/x-hpbvxhyhfhqmgwom)
16:07spectra has left IRC (spectra!~spectra@debian/developer/spectra, Ping timeout: 244 seconds)
16:27spectra has joined IRC (spectra!~spectra@debian/developer/spectra)
16:28Faith has joined IRC (Faith!~paty_@unaffiliated/faith)
16:34vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)
16:46
<alkisg>
Aison0: 192.168.67.2 gives the route to the ltsp server, strange as it sounds. It's related to the 2-nic setup of ltsp, where the internal nic is 192.168.67.1, so that we'd want to get that internal nic of the ltsp server... anyway ignore that part
16:47
post_init goes under [clients]; there's no [default] in the new ltsp
16:55RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
16:57
<alkisg>
(06:13:14 PM) Aison0: 192.168.67.2 via 10.0.0.1 dev enp0s3 src 10.0.255.210 uid 0 ==> is that from the client post_init or from the server?
17:06GodFather has left IRC (GodFather!~rcc@d53-64-7-141.nap.wideopenwest.com, Remote host closed the connection)
17:06
<Aison0>
it is from the client
17:07
since 192.168.67.2 does not exist in this network, it is routed over default gateway 10.0.0.1
17:10Faith has left IRC (Faith!~paty_@unaffiliated/faith, Quit: Leaving)
17:21
<alkisg>
Aison0: ok, it's the correct gateway, the problem isn't there; can you `cat /etc/network/interfaces` at that point?
17:21
Does it have the correct values there?
17:22
Also, you didn't answer about netplan / systemd-networkd, are you using these?
17:56
<Aison0>
alkisg, netplan is not installed
17:56
alkisg, systemd-networkd was enabled, yes
17:57
<alkisg>
Maybe that's what's interfering
17:57
I could take a quick look with your vbox client if you want
17:57
(via reverse vnc)
17:57
!vnc-dide
17:57
<ltspbot>
vnc-dide: To share your screen with me, run this: sudo apt-get --yes install x11vnc; x11vnc -connect srv1-dide.ioa.sch.gr - this is a reverse connection, it doesn't need port forwarding etc.
18:06
<Aison0>
thx ;) maybe we can do it tomorrow? because I have to switch to my workstation, currently i'm online with me notebook with bad connection.
18:06
or another day of course
18:10
<alkisg>
Sure, np
19:08Aison0 has left IRC (Aison0!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399, Ping timeout: 260 seconds)
19:26Aison0 has joined IRC (Aison0!~Asion0@2a02:168:200f:110:1dfa:baf4:9142:6399)
19:50
<Aison0>
can I continue booting from debug shell?
19:57RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Excess Flood)
19:58RaphGro has joined IRC (RaphGro!~raphgro@fedora/raphgro)
21:21RaphGro has left IRC (RaphGro!~raphgro@fedora/raphgro, Quit: Please remember your own message. It'll be read as soon as possible.)