IRC chat logs for #ltsp on (webchat)

Channel log from 6 July 2023   (all times are UTC)

05:04ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
05:20wyre is back
06:12wyre is now away: Auto away at Thu Jul 6 06:10:30 2023 UTC
08:34wyre is back
10:04wyre is now away: Auto away at Thu Jul 6 10:02:24 2023 UTC
The client init scripts like use custom functions like re, rw and warn. The functions are defined in ltsp/ltsp. However, with my horrible shell programming skills I can't determine where exactly is everything necessary included so that the client init scripts could be executed. Do they go through a wrapper of some kind or what?
To avoid namespace pollution, we ship a single command, /usr/sbin/ltsp. This one in tern sources all the rest.
10:55wyre is back
If I understand this correctly, initramfs-tools runs /usr/sbin/ltsp during early user space when booting the terminal. But how does initramfs-tools know what script to run after that so that for example gets executed?
The following ltsp applets are defined
ltsp inird-bottom
LTSP clients also have some additional applets, like initrd-bottom, init and login, but they're not runnable by the user.
So it's these applets that source all the scripts that you mention
11:20wyre is now away: Auto away at Thu Jul 6 11:18:15 2023 UTC
11:24ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Ping timeout: 250 seconds)
Ok, the initrd-bottom applet you mention seems to be if I'm correct
There seems to be some checks for dracut already. But it seems that none of these client init scripts are actually executed in dracut.
Did you use something in initramfs-tools to verify which script was executed and which was not?
11:36ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
This is the hook that activates the initrd bottom applet:
I suggest that you start by reading about dracut hooks and scripts. After 2-3 weeks of getting experience there, then you can involve the ltsp code
Ok, I'll see what I can break
11:55wyre is back
12:09wyre is now away: Auto away at Thu Jul 6 12:07:29 2023 UTC
13:17wyre is back
13:50wyre is now away: Auto away at Thu Jul 6 13:44:58 2023 UTC
15:22vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:7:77:0:50)
15:24ogra is now away: currently disconnected
15:24ogra is back
17:15woernie has joined IRC (woernie!
17:55anavari[m] has joined IRC (anavari[m]!~anavarima@2001:470:69fc:105::3:7deb)
hi I am sorry if this one is off topic. my ltsp server is up and running on ubuntu 22.04. Now I want to add a virtualbox image of ubuntu 20.04. I installed it in virtualbox. When I look for a ubuntu-flat.vmdk file it is missing. I see only a vdi and vdi file. How do i make a vmdk file from them.
anavari: the normal method is to select "vmdk, fixed size" when you create the VM
It should also be possible to use vboxmanage to convert from one format into the other
ok let me search
anavari: ah it can be done from the GUI too, from the virtual media manager
If you go to the virtual media manager and right-click on the disk , you should see a menu with the first entry saying either "copy" or "clone" (not sure, my UI is in Greek)
Then you select vmdk, click next, then [v] preallocate full size, and that way you'll get the vm-flat.vmdk
At that point delete the .vdi and mount the .vmdk to the VM. And ltsp image will be able to read it.
It is copy in virtual media manager
18:50wyre is back
19:03ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
21:04woernie has left IRC (woernie!, Remote host closed the connection)
23:09wyre is now away: Auto away at Thu Jul 6 23:07:29 2023 UTC