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


Channel log from 12 February 2020   (all times are UTC)

00:24
<Sleaker>
oh jees ltsp-chroot was removed? great :-/
00:24
I'll have to update all of my maintenance scripts at some point *again* I guess heh
00:26
did ltsp-update-image get removed then too?
00:29
ah nevermind found the issue page where this is documented
00:54mmarconm has joined IRC (mmarconm!~mmarconm@unaffiliated/mmarconm)
01:02
<mmarconm>
hi all
01:12mmarconm has left IRC (mmarconm!~mmarconm@unaffiliated/mmarconm, Quit: Leaving)
01:42GodFather has left IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net, Ping timeout: 260 seconds)
03:23
<alkisg>
Sleaker: yeah programs started having issues with chroots years ago, and we don't want to be the ones having to send patches everywhere in order for chroots to work well
03:24
Although, booting them with kvm, lxc, nfs-rw etc etc should be easily feasible
05:15vsuojanen has left IRC (vsuojanen!~vsuojanen@cable-hml-58568f-194.dhcp.inet.fi, Ping timeout: 260 seconds)
05:17vsuojanen has joined IRC (vsuojanen!~vsuojanen@cable-hml-58568f-194.dhcp.inet.fi)
06:26zama has left IRC (zama!~zama@unaffiliated/stryx/x-3871776, Ping timeout: 260 seconds)
06:27zama has joined IRC (zama!~zama@unaffiliated/stryx/x-3871776)
06:41kbshk has joined IRC (kbshk!4fc8b0ab@p4FC8B0AB.dip0.t-ipconnect.de)
07:01kbshk has left IRC (kbshk!4fc8b0ab@p4FC8B0AB.dip0.t-ipconnect.de, Remote host closed the connection)
07:04woernie has joined IRC (woernie!~werner@p57A0E378.dip0.t-ipconnect.de)
09:23kbshk has joined IRC (kbshk!4fc8b0ab@p4FC8B0AB.dip0.t-ipconnect.de)
09:29
<kbshk>
Hi everyone, my boot fails on trying to mount the filesystems from the server. Both client and server are Debian 10. I've taken screenshots of a few outputs: https://imgur.com/a/P45MgxV
09:31
<alkisg>
kbshk: do you happen to have virtualbox installed on the server?
09:31
So that I could quickly test things from a virtual client?
09:31
<kbshk>
This is a virtualbox client. Server doesn't have virtualbox.
09:31
<alkisg>
I think the problem is that you're not sending a route to the clients
09:31
Ah ok that's fine
09:31
Do you mind sharing your screen?
09:31
What's the host, windows?
09:32
<kbshk>
Host is macOS
09:32
<alkisg>
Meh you'd need something like x11vnc then, never mind no idea how to share screen from macs
09:32
So:
09:32
<kbshk>
ok
09:32
<alkisg>
3rd screenshot
09:32
"network is unreachable"
09:32
At that shell, try:
09:32
ip - o route get 192.168.67.1
09:33
This is supposed to return an address
09:33
I'm thinking that it fails for you, because your dhcp server did not send a gateway
09:33
Btw, you're using bridged mode in vbox, not nat, right?
09:33
<kbshk>
Yes, local VM is bridged to OpenVPN tap
09:34
And on the server side, LAN interface bridged to OpenVPN as wel..
09:34
<alkisg>
Additionally, also send the output of `ip r`
09:34
<kbshk>
And on the server side, LAN interface bridged to OpenVPN as well.
09:34
<alkisg>
So, the output of those two commands from that shell in the third screenshot
09:34
<kbshk>
Ok, it'll take me a few minutes.
09:35
<alkisg>
I will leave in a bit, but we can continue this asynchronously, or another time, or with another person here
09:35
!irclogs
09:35
<ltspbot>
irclogs: This channel is logged, archives are available at http://irclogs.ltsp.org
09:46
<kbshk>
I've run the commands. Looks like there's no default route: https://imgur.com/6xptJ5F
10:10sebd has joined IRC (sebd!~seb@aditu.ldd.fr)
10:13
<alkisg>
kbshk: right, that's what you need to fix in your dhcp server
10:14
<kbshk>
Yes. I just confirmed this using a packet dump. For some reason my DHCP is spitting out 0.0.0.0 for gateway address. Thank you for the advice.
10:14
<alkisg>
np
10:14
you can also fix it from ltsp.conf
10:14
but it's not worth it
10:21
PRE_INITRD_BOTTOM_ADD_ROUTE="ip r add...."
11:36section1 has joined IRC (section1!~section1@178.33.109.106)
11:49Faith has joined IRC (Faith!~Paty_@unaffiliated/faith)
12:13
<kbshk>
Fixed it: If you're booting a client through a OpenVPN tap tunnel, use "server-bridge nogw" to stop the OpenVPN server from removing the default gateway from the DHCP reply. Without a gateway set, "ip -o route get 192.168.67.1" will fail and boot won't complete.
12:45statler_ has joined IRC (statler_!~Georg@gwrz3.lohn24.de)
13:04
<alkisg>
kbshk: that said, if you think it's a valid use case, I can make the code not fail when a gw isn't set
13:04h_0r3i11y has joined IRC (h_0r3i11y!~chr15t0@96-84-245-217-static.hfc.comcastbusiness.net)
13:04
<alkisg>
I left it that way because I had no valid use case with no gateway
13:04h_0r3i11y has left IRC (h_0r3i11y!~chr15t0@96-84-245-217-static.hfc.comcastbusiness.net, Client Quit)
13:28highvoltage has left IRC (highvoltage!~highvolta@ubuntu/member/highvoltage, Remote host closed the connection)
13:29highvoltage has joined IRC (highvoltage!~highvolta@ubuntu/member/highvoltage)
15:19GodFather has joined IRC (GodFather!~rcc@wsip-66-210-242-210.ph.ph.cox.net)
16:50JuJUBee has left IRC (JuJUBee!~knichel@24.148.115.153, Quit: Leaving)
16:51vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)
19:05
<kbshk>
alkisg No, it's fine the way it is
19:05
I don't have a use case for it, actually
19:06
<alkisg>
kbshk: ok, nice
19:25section1 has left IRC (section1!~section1@178.33.109.106, Quit: Leaving)
19:37kbshk has left IRC (kbshk!4fc8b0ab@p4FC8B0AB.dip0.t-ipconnect.de, Remote host closed the connection)
20:33quinox has left IRC (quinox!~quinox@ghost.qtea.nl, Quit: WeeChat 2.6)
20:33statler_ has left IRC (statler_!~Georg@gwrz3.lohn24.de, Remote host closed the connection)
20:35quinox has joined IRC (quinox!~quinox@ghost.qtea.nl)
20:41quinox has left IRC (quinox!~quinox@ghost.qtea.nl, Quit: WeeChat 2.6)
20:43quinox has joined IRC (quinox!~quinox@ghost.qtea.nl)
20:50woernie has left IRC (woernie!~werner@p57A0E378.dip0.t-ipconnect.de, Remote host closed the connection)
20:55quinox has left IRC (quinox!~quinox@ghost.qtea.nl, Quit: WeeChat 2.6)
20:57quinox has joined IRC (quinox!~quinox@ghost.qtea.nl)
23:21Faith has left IRC (Faith!~Paty_@unaffiliated/faith, Quit: Leaving)