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


Channel log from 7 November 2021   (all times are UTC)

03:06ltsp_n00b has joined IRC (ltsp_n00b!~ltsp_n00b@184-155-24-145.cpe.sparklight.net)
03:06ltsp_n00b has joined IRC (ltsp_n00b!~ltsp_n00b@184-155-24-145.cpe.sparklight.net)
03:11
<ltsp_n00b>
Good Evening All!  I am getting some errors on my first LTSP install when I run "ltsp image imagename". I've poked around on the git and also through the manuals over the last day or two.  My errors are related to pwmerge.  Is this the right place to ask for help with this?
03:12
<alkisg>
ltsp_n00b: hi, yes this is the correct place
03:14
<ltsp_n00b>
alkisg:  Ah, great!  Thank you.  The error I am getting is:  LTSP command failed: /usr/share/ltsp/client/login/pwmerge --ltsp --quiet /tmp/tmp.nDrenPXVmN/root/tmp/pwempty /tmp/tmp.nDrenPXVmN/root/etc /tmp/tmp.nDrenPXVmN/root/tmp/pwmerged
03:15
<alkisg>
Run sudo pwck, inside the image
03:11
<ltsp_n00b>
Good Evening All!  I am getting some errors on my first LTSP install when I run "ltsp image imagename". I've poked around on the git and also through the manuals over the last day or two.  My errors are related to pwmerge.  Is this the right place to ask for help with this?
03:12
<alkisg>
ltsp_n00b: hi, yes this is the correct place
03:14
<ltsp_n00b>
alkisg:  Ah, great!  Thank you.  The error I am getting is:  LTSP command failed: /usr/share/ltsp/client/login/pwmerge --ltsp --quiet /tmp/tmp.nDrenPXVmN/root/tmp/pwempty /tmp/tmp.nDrenPXVmN/root/etc /tmp/tmp.nDrenPXVmN/root/tmp/pwmerged
03:15
<alkisg>
Run sudo pwck, inside the image
03:15
You have edited passwd manually and it has syntax errors
03:15
You have edited passwd manually and it has syntax errors
03:19
<ltsp_n00b>
Forgive me, It is a virtualbox image.  I did run the virtualbox instance, get a terminal and ran sudo pwck.  It outputted no changes as the last line.  I then went back to the server and tried to ltsp image imagename and get the same error.  Is that the correct process?
03:19
Forgive me, It is a virtualbox image.  I did run the virtualbox instance, get a terminal and ran sudo pwck.  It outputted no changes as the last line.  I then went back to the server and tried to ltsp image imagename and get the same error.  Is that the correct process?
03:20
<alkisg>
Yes it is correct. Try also sudo grpck
03:20
Yes it is correct. Try also sudo grpck
03:22
<ltsp_n00b>
Same Error.   I am also seeing: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp.5sUlgGw36e/root/etc/passwd'
03:23
<alkisg>
Ah also try pwck outside the vm
03:22
<ltsp_n00b>
Same Error.   I am also seeing: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp.5sUlgGw36e/root/etc/passwd'
03:23
<alkisg>
Ah also try pwck outside the vm
03:25
<ltsp_n00b>
root@ltsp-server-demo:/home/rogersadmin/VirtualBox VMs/DW Client 2# sudo pwck
03:25
user 'lp': directory '/var/spool/lpd' does not exist
03:25
user 'news': directory '/var/spool/news' does not exist
03:25
user 'uucp': directory '/var/spool/uucp' does not exist
03:25
user 'www-data': directory '/var/www' does not exist
03:25
user 'list': directory '/var/list' does not exist
03:25
user 'irc': directory '/var/run/ircd' does not exist
03:25
user 'gnats': directory '/var/lib/gnats' does not exist
03:25
user 'nobody': directory '/nonexistent' does not exist
03:25
pwck: no changes
03:26
<alkisg>
ltsp_n00b: no issues there
03:25
<ltsp_n00b>
root@ltsp-server-demo:/home/rogersadmin/VirtualBox VMs/DW Client 2# sudo pwck
03:25
user 'lp': directory '/var/spool/lpd' does not exist
03:25
user 'news': directory '/var/spool/news' does not exist
03:25
user 'uucp': directory '/var/spool/uucp' does not exist
03:25
user 'www-data': directory '/var/www' does not exist
03:25
user 'list': directory '/var/list' does not exist
03:25
user 'irc': directory '/var/run/ircd' does not exist
03:25
user 'gnats': directory '/var/lib/gnats' does not exist
03:25
user 'nobody': directory '/nonexistent' does not exist
03:25
pwck: no changes
03:26
<alkisg>
ltsp_n00b: no issues there
03:26
<ltsp_n00b>
It still fails when I run the ltsp image imagename command.
03:26
<alkisg>
ltsp_n00b: do you mind if I see over VNC? It's a bit early here and I won't ...be properly online until 2 hour later
03:26
!vnc-dide
03:26
<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.
03:26
<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.
03:26
<ltsp_n00b>
It still fails when I run the ltsp image imagename command.
03:26
<alkisg>
ltsp_n00b: do you mind if I see over VNC? It's a bit early here and I won't ...be properly online until 2 hour later
03:26
!vnc-dide
03:26
<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.
03:26
<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.
03:31
<alkisg>
ltsp_n00b: ok the problem is that you're using lvm
03:32
So ltsp can only see your /boot partition, which has no passwd etc
03:32
You need to repartition your image so that it's ideally: mbr, single ext4 partition
03:32
<ltsp_n00b>
Ok.  Well, that makes sense.  I read where it needed the fixed disk size in the VMDK format but must have missed that part of the manual.
03:33
<alkisg>
It's possible that this note isn't there in the manual :D
03:33
If so, I should really add it
03:33
The code needs to be simple because these images can also be directly booted by ltsp,
03:33
so they're mounted from busybox, which doesn't have many tools available
03:34
Although it might be possible to support lvm; it's not as difficult as e.g. supporting .vdi images which would need "guestfish" inside the initramfs...
03:35
<ltsp_n00b>
Well, it make sense to me that lvm wouldnt be supported if the disk needed to be fixed.  I apologize for bothering you with that issue.  I knew it had to be something simple that I was doing wrong.
03:31
<alkisg>
ltsp_n00b: ok the problem is that you're using lvm
03:32
So ltsp can only see your /boot partition, which has no passwd etc
03:32
You need to repartition your image so that it's ideally: mbr, single ext4 partition
03:32
<ltsp_n00b>
Ok.  Well, that makes sense.  I read where it needed the fixed disk size in the VMDK format but must have missed that part of the manual.
03:33
<alkisg>
It's possible that this note isn't there in the manual :D
03:33
If so, I should really add it
03:33
The code needs to be simple because these images can also be directly booted by ltsp,
03:33
so they're mounted from busybox, which doesn't have many tools available
03:34
Although it might be possible to support lvm; it's not as difficult as e.g. supporting .vdi images which would need "guestfish" inside the initramfs...
03:35
<ltsp_n00b>
Well, it make sense to me that lvm wouldnt be supported if the disk needed to be fixed.  I apologize for bothering you with that issue.  I knew it had to be something simple that I was doing wrong.
03:35
I do not have a need for lvm, just probably didnt think long enough about that choice when I did the install.
03:35
I do not have a need for lvm, just probably didnt think long enough about that choice when I did the install.
03:36
Thank you very much for the help with it.  Its my first IRC too.  Lol.
03:38
<alkisg>
Haha, very well done in both accounts (ltsp usage and irc)
03:38
You're probably experienced in other areas! :)
03:38
Cheers, back in 2 hours if you need anything
03:39
<ltsp_n00b>
Thank you!
03:36
Thank you very much for the help with it.  Its my first IRC too.  Lol.
03:38
<alkisg>
Haha, very well done in both accounts (ltsp usage and irc)
03:38
You're probably experienced in other areas! :)
03:38
Cheers, back in 2 hours if you need anything
03:39
<ltsp_n00b>
Thank you!
04:01ltsp_n00b has left IRC (ltsp_n00b!~ltsp_n00b@184-155-24-145.cpe.sparklight.net, Quit: Client closed)
04:01ltsp_n00b has left IRC (ltsp_n00b!~ltsp_n00b@184-155-24-145.cpe.sparklight.net, Quit: Client closed)
07:53ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
07:53ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)
16:41lucascastro has joined IRC (lucascastro!~lucascast@177-185-133-154.dynamic.isotelco.net.br)
16:41lucascastro has joined IRC (lucascastro!~lucascast@177-185-133-154.dynamic.isotelco.net.br)
16:44lucas_ has left IRC (lucas_!~lucascast@177-185-133-154.dynamic.isotelco.net.br, Ping timeout: 268 seconds)
16:44lucas_ has left IRC (lucas_!~lucascast@177-185-133-154.dynamic.isotelco.net.br, Ping timeout: 268 seconds)
22:13emsfree[m] has joined IRC (emsfree[m]!~emsfreema@2001:470:69fc:105::1:2e35)
22:13emsfree[m] has joined IRC (emsfree[m]!~emsfreema@2001:470:69fc:105::1:2e35)
22:15emsfree[m] has left IRC (emsfree[m]!~emsfreema@2001:470:69fc:105::1:2e35)
22:15emsfree[m] has left IRC (emsfree[m]!~emsfreema@2001:470:69fc:105::1:2e35)
22:35ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)
22:35ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)