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


Channel log from 16 September 2021   (all times are UTC)

04:11vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100b, Quit: leaving)
05:47alkisg_web has joined IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr)
05:57ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:03alkisg_web has left IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr, Ping timeout: 256 seconds)
07:04alkisg_web has joined IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr)
07:09woernie has joined IRC (woernie!~werner@2001:9e8:e242:7e00:9133:21d1:14f1:1214)
07:15woernie has left IRC (woernie!~werner@2001:9e8:e242:7e00:9133:21d1:14f1:1214, Ping timeout: 252 seconds)
07:15woernie has joined IRC (woernie!~werner@p200300e3bf2fdd73913321d114f11214.dip0.t-ipconnect.de)
07:23woernie has left IRC (woernie!~werner@p200300e3bf2fdd73913321d114f11214.dip0.t-ipconnect.de, Ping timeout: 252 seconds)
07:23woernie has joined IRC (woernie!~werner@p200300e3bf2fdd31913321d114f11214.dip0.t-ipconnect.de)
07:59alkisg_web has left IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr, Ping timeout: 256 seconds)
08:06alkisg_web has joined IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr)
08:32alkisg_web has left IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr, Quit: Ping timeout (120 seconds))
08:32alkisg_web has joined IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr)
09:49alkisg_web has left IRC (alkisg_web!~alkisg_we@srv1-dide.ioa.sch.gr, Quit: Client closed)
15:02woernie has left IRC (woernie!~werner@p200300e3bf2fdd31913321d114f11214.dip0.t-ipconnect.de, Remote host closed the connection)
15:04woernie has joined IRC (woernie!~werner@2001:9e8:e242:7e00:4c5d:f54:98e6:c5d4)
16:42vagrantc has joined IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100b)
17:28lucascastro has left IRC (lucascastro!~lucascast@177-185-139-46.dynamic.isotelco.net.br, Quit: Leaving)
18:19
<vagrantc>
hrm.
18:19fottsia[m] has joined IRC (fottsia[m]!~fottsiama@2001:470:69fc:105::48bb)
18:20
<vagrantc>
so ... ltsp initrd includes /etc/ltsp/* ... but then it's copied into the clients /etc/ltsp/ ... if you want to copy whole directory trees into the booted system, do you have to set up a POST_INIT_ABCDE='cp /etc/ltsp/ABCDE /ABCDE' or something?
18:21
well, cp -r
18:22woernie has left IRC (woernie!~werner@2001:9e8:e242:7e00:4c5d:f54:98e6:c5d4, Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
18:22
<alkisg>
vagrantc: exactly! :)
18:22
(or symlink it)
18:23* alkisg is glad to see vagrantc using ltsp once more!
18:23
<vagrantc>
no more straightforward way to just drop files into place?
18:23
<alkisg>
Well, ltsp image...
18:23
<vagrantc>
heh. yeah, nice to be back :)
18:24
for files you might want to edit regularly, though, the initrd + POST_INIT* is pretty much the way to go
18:24
any reason you don't compress ltsp.img ?
18:24
<alkisg>
Yeah, it's much faster
18:24
(for the previous remark)....
18:24
...for the compression =>
18:24
uncompressed, it works anywhere,
18:25
while compressed, it needs to exactly match the existing initrd
18:25
compression
18:25
So e.g. uncompressed + bz2 works, while gzip + bz2 doesn't
18:25
So we'd have to use a different ltsp.img for each chroot/compression/etc
18:27
<vagrantc>
ah
18:27
makes sense
18:27
so, if you're using large files, you'll want those in the squashfs
18:28
and have to run 'ltsp image' when they change
18:28
oh, another question ... i've been building the squashfs image without using 'ltsp image' ... seems like the only gotcha i found was i need to include the ltsp package in the image ... any other likely surprises?
18:29
mmdebstrap supports building a squashfs out of the box without root privledges, so i've been experimenting with that a bit
18:40
!shell
18:40
<ltspbot>
I do not know about 'shell', but I do know about these similar topics: 'gnome-shell', 'shell-screen'
18:40
<vagrantc>
!shell-screen
18:40
<ltspbot>
shell-screen: (#1) One way to get local root access to troubleshoot a thin client is to use a shell SCREEN: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using%20a%20shell%20SCREEN, or (#2) to enable a root debug shell, add SCREEN_02=shell and SCREEN_07=ldm to lts.conf
18:41
<vagrantc>
i'm guessing SCREEN_XX don't work anymore?
19:16
<alkisg>
back, reading...
19:16
so, if you're using large files, you'll want those in the squashfs ==> yup
19:17
i need to include the ltsp package in the image ==> you shouldn't even need that; it's injected into the initramfs and rootfs
19:17
mmdebstrap supports building a squashfs ==> ooh cool, let's make a wiki page about that when we get some time
19:18
!learn screen-scripts as https://github.com/ltsp/ltsp/discussions/514#discussioncomment-1258238
19:18
<ltspbot>
The operation succeeded.
19:18
<alkisg>
vagrantc: ^
19:25
!hash
19:25
<ltspbot>
I do not know about 'hash', but I do know about these similar topics: 'LDM_PASSWORD_HASH', 'ROOT_PASSWORD_HASH'
19:26
<alkisg>
!ROOT_PASSWORD_HASH
19:26
<ltspbot>
ROOT_PASSWORD_HASH: To be able to login as root in vt1, with password "qwer1234", put this in lts.conf: INIT_COMMAND_ROOT_HASH="sed 's!^root:[^:]*:!root:\$6\$p2LdWE6j\$PDd1TUzGvvIkj9SE8wbw1gA/MD66tHHlStqi1.qyv860oK47UnKcafSKqGp7cbgZUPlgyPv6giCVyCSCdJt1b0:!' -i /etc/shadow"
19:26
<alkisg>
While for a simple root login, this ^ is fine
19:47
<vagrantc>
that works
19:47
although i just ended up adding an /etc/sudoers.d/ appropriate for the configuration
19:48
alkisg: curious ... maybe the ltsp package is pulling in some other implicit dependency then?
20:08
<alkisg>
sshfs and the squashfs module
20:08
What error message do you get?
20:16ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:25
<vagrantc>
failed to mount rootfs
23:38vagrantc has left IRC (vagrantc!~vagrant@2600:3c01:e000:21:21:21:0:100b, Quit: leaving)