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


Channel log from 11 March 2022   (all times are UTC)

00:16Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Remote host closed the connection)
00:17Vercas has joined IRC (Vercas!~Vercas@gateway/tor-sasl/vercas)
01:52Vercas7 has joined IRC (Vercas7!~Vercas@gateway/tor-sasl/vercas)
01:53Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Ping timeout: 240 seconds)
01:53Vercas7 is now known as Vercas
02:08
<map7>
Hi I'm trying to setup LTSP to PXE boot over http to a remote LTSP server (using a chroot image) under Debian Bullseye and I've got a 'mount' issue during boot
02:08
https://ibb.co/pQ86rtG
02:09
That's a picture of the error
02:09
mount: No such file or directory
02:17
When I can /proc/cmdline I can see nfsroot has the wrong IP, how do I set this?
02:34
I added 'set srv [ip address]' to my ltsp.ipxe, but I still have an issue with /scripts/init-bottom/ltsp-initrd-bottom: Permission denied
03:24
I've just setup a new LTSP server on my local network setup with the same proceedure and get the same error. I must be doing something wrong.
03:59vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:20, Quit: leaving)
04:28
<alkisg>
map7: can you upload a screenshot of the new error message?
04:34
<map7>
alkisg: I just got it all working :)
04:34
Just then would you believe it
04:34
<alkisg>
👍
04:35
<map7>
So I can now boot my diskless machines using PXE to a remote server in a VPS
04:35
over http
04:35
Using real thinclients
04:35
(Had to build a custom iPXE file)
04:36
Finally I can get rid of all hardware at work and live the dream!
05:25
<alkisg>
Haha, is it fast enough over VPS?
05:26* alkisg doesn't understand that use case though, an ltsp server is essentially a file server, it's much faster and cheaper to have a local file server than a remote one...
05:54quinox has left IRC (quinox!~quinox@ghost.qtea.nl, Quit: WeeChat 3.4)
05:57quinox has joined IRC (quinox!~quinox@ghost.qtea.nl)
06:30ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
08:07shored1 has left IRC (shored1!~shored@user/shored, Ping timeout: 252 seconds)
08:31shored has joined IRC (shored!~shored@user/shored)
08:34shored has left IRC (shored!~shored@user/shored, Client Quit)
08:35shored has joined IRC (shored!~shored@user/shored)
08:37nikoh77[m] has joined IRC (nikoh77[m]!~nikoh77ma@2001:470:69fc:105::1:d7f7)
08:40
<nikoh77[m]>
hello, good morning, I would like to use the directive "POST_INIT_SERVICE" (actually alkisg suggested it to me) to start a service only on clients; the question is: on the server can I "disable" it or just stop it?
08:42antaresgades has joined IRC (antaresgades!~antaresga@ieocadiz.cd.ieo.es)
08:45
<alkisg>
nikoh77: on the server you can either disable it or stop it, whatever you prefer
08:57
<nikoh77[m]>
<alkisg> "nikoh77: on the server you can..." <- on client booting...: "LTSP command failed: eval systemctl restart my.service aborting ltsp"
08:57
<alkisg>
Boot the client normally. Then run `sudo systemctl restart my.service`. Does that succeed?
08:58
If not, you'll need to troubleshoot why the service doesn't start
08:58
E.g. maybe it relies on stuff that you have on your server, that are not published in the image?
08:58
<nikoh77[m]>
must I rebulid image after disabled the service on server?
09:01
<alkisg>
You shouldn't need to; systemctl restart service works whether it's initially disabled or enabled
09:04
<nikoh77[m]>
<alkisg> "Boot the client normally. Then..." <- in my service there is "After = network.target", could it be that the post_init_service loading happens too soon?
09:05
<alkisg>
Did I write POST_INIT_SERVICE? I meant POST_SERVICE_X="..."
09:05
POST_SERVICE runs when systemd etc is up; POST_INIT_x runs before it's up
09:06
You can also enable it like this:
09:07
POST_INIT_ENABLE_MY_SERVICE="systemctl enable --quiet --root=/ --no-reload my.service"
09:07
This tells systemd to enable that service very early on boot, even before systemd is loaded, and later on, when it's loaded, it'll start it
09:12
<nikoh77[m]>
ok so i try with POST_SERVICE_X
09:12
just one doubt: X do I have to replace it with something or do I leave it like this?
09:12
<alkisg>
You replace it with a name. Try POST_INIT_ENABLE_MY_SERVICE instead, it's better.
09:13
As it takes effect even before systemd loads
09:30
<nikoh77[m]>
YEAH it work, thanks a lot ;-)
10:39Vercas7 has joined IRC (Vercas7!~Vercas@gateway/tor-sasl/vercas)
10:39Vercas has left IRC (Vercas!~Vercas@gateway/tor-sasl/vercas, Ping timeout: 240 seconds)
10:39Vercas7 is now known as Vercas
11:57shored has left IRC (shored!~shored@user/shored, Ping timeout: 250 seconds)
11:57lucascastro has left IRC (lucascastro!~lucascast@192-140-51-239.static.oncabo.net.br, Remote host closed the connection)
11:59lucascastro has joined IRC (lucascastro!~lucascast@192-140-51-239.static.oncabo.net.br)
12:01lucascastro has left IRC (lucascastro!~lucascast@192-140-51-239.static.oncabo.net.br, Remote host closed the connection)
12:02lucascastro has joined IRC (lucascastro!~lucascast@192-140-51-239.static.oncabo.net.br)
12:06shored has joined IRC (shored!~shored@user/shored)
13:09
<antaresgades>
Hello. Regarding to administrative raspberry pi's... It is supposed to be sufficient to put inside ltsp.conf the MAC of the PI in ADMINISTRATIVE_CLIENT=[MAC] and then initrd and reboot client, isn't it?
13:51
Well, I finally managed to fix it (just messing with the wrong ltsp.conf file). But I have an issue. I am able to login with he pi user but even with sudo I cant apt-get or whatever (permission denied). I created a new LTSP installation and copied a raspios chroot from another machine. Clients work ok, but I am not able to apt-get, etc
13:51
even with the administrative cliente
13:52
in fact with sudo su I see root@raspberry but it says "Unable to acquire the dpkg frontend, are you root?
15:21antaresgades has left IRC (antaresgades!~antaresga@ieocadiz.cd.ieo.es, Quit: Client closed)
16:25
<alkisg>
antaresgades: what's the output of this command? cat /proc/cmdline /proc/mounts | nc termbin.com 9999
17:36
<MUHWALT>
Hey everyone. Maybe this is premature, but what is the 22.04 situation looking like with LTSP? Has there been any pre-release testing?
17:37
<alkisg>
Hi MUHWALT, as usual I tested everything and released a new 22.01 LTSP in January
17:37
It went to Debian and from there to Ubuntu 22.04 and I've been using it since, with no known issues
17:37
If you see any issues, ping...
17:37
<MUHWALT>
Fantastic, thanks! I finally hired a minion, which is freeing up my time for these larger projects :D
17:37
such as finally getting rid of LTSP5
17:37* alkisg wish he had a million minions :D
18:13vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100b)
18:17woernie has joined IRC (woernie!~werner@dynamic-089-204-139-187.89.204.139.pool.telefonica.de)
18:35lucascastro has left IRC (lucascastro!~lucascast@192-140-51-239.static.oncabo.net.br, Remote host closed the connection)
18:40woernie has left IRC (woernie!~werner@dynamic-089-204-139-187.89.204.139.pool.telefonica.de, Ping timeout: 250 seconds)
18:49woernie has joined IRC (woernie!~werner@dynamic-089-204-139-187.89.204.139.pool.telefonica.de)
19:08lucascastro has joined IRC (lucascastro!~lucascast@45-167-143-10.netfacil.inf.br)
19:15lucascastro has left IRC (lucascastro!~lucascast@45-167-143-10.netfacil.inf.br, Remote host closed the connection)
20:41woernie has left IRC (woernie!~werner@dynamic-089-204-139-187.89.204.139.pool.telefonica.de, Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
21:14ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:31map7` has joined IRC (map7`!~user@103.232.216.31)
22:37lucascastro has joined IRC (lucascastro!~lucascast@192-140-51-239.static.oncabo.net.br)
22:39map7 has left IRC (map7!~user@103.232.216.31, *.net *.split)
22:39book` has left IRC (book`!~book`@static.38.6.217.95.clients.your-server.de, *.net *.split)
22:39Hyperbyte has left IRC (Hyperbyte!~jan@middelkoop.cc, *.net *.split)
22:45book` has joined IRC (book`!~book`@static.38.6.217.95.clients.your-server.de)
22:45Hyperbyte has joined IRC (Hyperbyte!~jan@middelkoop.cc)