|00:23||ben_roose has left IRC (email@example.com, Remote host closed the connection)|
|00:33||vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)|
|01:02||mmarconm has left IRC (firstname.lastname@example.org, Ping timeout: 248 seconds)|
|01:50||adrianor1 has joined IRC (email@example.com)|
|01:53||adrianorg has left IRC (firstname.lastname@example.org, Ping timeout: 248 seconds)|
|02:27||dgroos has joined IRC (email@example.com)|
Hi! Continuing working on solving AD issue with the pbis-open software (used to be called “likewise-open”)
The people at pbis have been giving ideas… This morning they mentioned that:
“PBIS needs to be in the pam configuration to handle authentication. Sounds like they are conflicting pam configuration.”
(‘they’ being the client in ltsp-pnp and pbis)
Where would be the “pam configurations” on the client? Using ltsp-pnp 16.04.3 fat ubuntu clients.
|02:52||dgroos_ has joined IRC (firstname.lastname@example.org)|
|02:54||dgroos has left IRC (email@example.com, Ping timeout: 240 seconds)|
|02:54||dgroos_ is now known as dgroos|
|03:00||dgroos has left IRC (firstname.lastname@example.org, Quit: dgroos)|
|04:52||Statler has joined IRC (Statler!~Georg@p579FE005.dip0.t-ipconnect.de)|
|05:55||ricotz has joined IRC (ricotz!~ricotz@ubuntu/member/ricotz)|
|06:05||fnurl has left IRC (email@example.com, Read error: Connection reset by peer)|
|06:05||fnurl has joined IRC (firstname.lastname@example.org)|
|06:36||mikkel has joined IRC (email@example.com)|
|07:17||Statler has left IRC (Statler!~Georg@p579FE005.dip0.t-ipconnect.de, Remote host closed the connection)|
|07:37||markit has joined IRC (firstname.lastname@example.org)|
|07:42||Statler has joined IRC (Statler!~Georg@p579FF4E1.dip0.t-ipconnect.de)|
|09:54||ricotz_ has joined IRC (ricotz_!~ricotz@p5B2A9A59.dip0.t-ipconnect.de)|
|09:54||ricotz_ has joined IRC (ricotz_!~ricotz@ubuntu/member/ricotz)|
|09:54||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Ping timeout: 248 seconds)|
|13:34||eu^851015366dyna has joined IRC (eu^851015366dyna!55653542@gateway/web/freenode/ip.188.8.131.52)|
|13:35||eu^851015366dyna has left IRC (eu^851015366dyna!55653542@gateway/web/freenode/ip.184.108.40.206, Client Quit)|
|13:41||lucascastro has joined IRC (email@example.com)|
|14:21||mikkel has left IRC (firstname.lastname@example.org, Quit: Leaving)|
|15:17||ricotz_ is now known as ricotz|
alkisg: From yesterday, couldn't log into thin clients because of some home directory problem, and you suggested pastebin of /proc/mounts:
Indeed, mount of home directory isn't present...where do I look next?
Is that mount done in a script on the client? If you can point me to the script doing the mount, I can debug from there.
|15:41||lucascastro has left IRC (email@example.com, Remote host closed the connection)|
|15:51||markit has left IRC (firstname.lastname@example.org, Quit: Konversation terminated!)|
sutula: first thing i'd check is logs on the server to see if it's denying them
||cw: Thanks, the odd thing is that it's not likely a server config thing because reverting back to the prior client image makes everything work again. Either something odd changed, or... That's why it might be good for me to execute the commands on the client manually and see what is failing.
sure, but it might give a clue about what the client is asking for that it doens't like
ty, will see what I can dig up
|16:31||vagrantc has joined IRC (vagrantc!~vagrant@unaffiliated/vagrantc)|
sutula: are you sure you didn't change something in lts.conf, like LOCALAPPS=False?
Also, is that pastebin *after* you logged in with the xterm session?
alkisg: Looking, and pastebin is *after* xterm session
sutula: ok, run `getltscfg -a` from epoptes root console for that client
getltscfg -a | nc termbin.com 9999
This puts it to pastebin...
(don't do that if you have sensitive data like LDM_PASSWORD...)
Also, you can try to manually mount sshfs /home to see if you get any error messages
Looking at lts.conf, my only additions are:
LDM_PASSWORD_HASH=True (put there because of problem unlocking fat clients)
LDM_THEME= (some path that seems to be working)
RM_SYSTEM_SERVICES="...bunch of stuff..."
|17:01||asd__ has joined IRC (asd__!96a5a212@gateway/web/freenode/ip.220.127.116.11)|
sutula: do you have access to the client via epoptes?
All the above used to be working...no lts.conf changes afaict
alkisg: Not immediately...need to rebuild non-working image and deploy before I can test, unless there's a quick way to use the image I built before the revert.
Yes, ltsp-update-image -r /
This reverts to the previous version
(only the working and the previous versions are kept; none before the previous one)
OK, will come back
Anyway, if you can get access ping me to check this remotely, I think it'll be 10 times faster that way
|17:08||asd__ has left IRC (asd__!96a5a212@gateway/web/freenode/ip.18.104.22.168, Ping timeout: 260 seconds)|
fwiw, the RM_SYSTEM_SERVICES of minetestserver doesn't work :-( but that's a little problem for me to understand later
|17:20||* sutula figures out that "minetestserver" --> "minetest-server", probably, based on what's listed in the services subdirectory...will change that later|
|17:23||lucascastro has joined IRC (email@example.com)|
sutula: lts.conf seems ok
alkisg: Is there a mount command I can try to get some diagnostics?
sutula: you can manually test sshfs, yes, it's easy to google for a command if you don't know how
sshfs username@server: /home/localdir or something
alkisg: So for example, sshfs sutula@server:/home/sutula /tmp/sutula does mount fine. It prompts for a password.
alkisg: I think I have a mess on my hands that may be of my own making, but thought it was working. It has to do with where the home directories are located on my filesystems.
On the thin client even without the sshfs mount, I am seeing the symlink from /home to the actual disk where the home directories are located.
Of course, the client doesn't have that filesystem mounted.
our homedir mounting is rather simplistic
Still, sshfs should be able to work (and probably was working) but maybe now the ltsp-manager is getting confused about what to mount.
but the symlink is kind of messy
ltsp-manager doesn't handle the mounting ... does it?
it's just basically a frontend to ltsp-update-image and adduser type stuff
What's the "most supportable way" to handle the case where /home --> /somewhere else?
I'm guessing I could add a manual mount to lts.conf
/home is a symlink?
or /home/user is a symlink?
The first, /home is a symlink
huh ... would think that would work...
since you're mounting /home/user
...and it was :)
vagrantc: Symptom right now is that after rebuilding a new image, either the user's home fails to mount via sshfs or maybe it's not even trying to mount...not sure yet
Does the client log it's actions somewhere?
mount -o loop /opt/ltsp/amd64.img /mnt .... ls -l /mnt/home
sutula: i'm guessing this is an issue during image creation
but it could also be during boot ...
|17:42||* vagrantc wonders if bind-mounting /home rather than symlinking it would work better|
you still might end up with the homedirs copied into the image in the other location, though
vagrantc: I could exclude them both...have already added some exclusions
The bind-mounting is an interesting idea and would cut through one layer of OS redirection.
at any rate, identifing what the problem really is before changing things would be good. :)
|17:44||taterme has joined IRC (taterme!~ident@2602:30a:c067:8a30:214:d1ff:fe3a:f0ac)|
vagrantc: Can you point me to the code that's getting executed on the client at boot time, so I can dig in and see what's happening?
would give a slight performance boost, probably ... as it would entirely remove resolving the symlink
sutula: i'm more interested in looking at what's in the image's /home
oh I see, per your prior comment. Now I understand what you meant.
but, dpkg -S localapps ... look for something in ldm rc.d or something
that should tell you the code to look in
dpkg -S X01-localapps
vagrantc: OK, I can see the difference between working and nonworking.
The working image has /home as an empty directory
the non-working one has copied the symlink
which is going to break, obviously, when it tries to sshfs mount the home of the user being logged in.
as long as /home points to another directory in the image, it should be fine
bind-mounting should work around it anyways
Right, but it points to a subdirectory that's not mounted on the client.
I'll try the bind-mount...thanks for the idea!
an empty subdirectory on the client should be fine
INIT_COMMAND_CREATE_HOME="mkdir -p /actual/home/dir"
This should help in quickly un-breaking the symlink
i bet you'll get slightly better performance with bind-mounts ... but maybe not enough to warrant anything
alkisg, as usual, has an elegant workaround :)
I like the bind-mount because it will also avoid similar problems to the above, in other subsystems.
OK, anyway, thanks very much guys!!!
Just include the dir in the original file system
|17:52||* vagrantc wonders what changed that made it break|
As long as an empty dir of the symlink target is there, it should work
vagrantc: I'm guessing I built an image, then did all the moving around of the home directories as I was working on the disk config.
sutula: new OS version or something? or just one day it stopped working?
The next build after that never worked.
that makes sense
Again, thanks. You guys are awesome.
We're using mkdir -p to create the home dir
If that's inside a broken symlink, it doesn't work
It's a user error, it's too much to recursively remove broken symlinks...
Of course better error messages would help :)
alkisg: I also never tried epoptes (didn't get that far before) and am truly amazed with the functionality.
Eh, just the basic tasks a teacher and a sysadmin need from the computer lab :)
alkisg: don't know if you saw or much care, but i converted ltspfs to python3 :)
alkisg: it was pretty trivial ... just running 2to3 on them ...
alkisg: i'm thinking i'd like to work on a new ltsp and/or ldm upload soonish ...
vagrantc: sound nice! Did you test ltspfs to see if it still works?
alkisg: yes, i even tested it. :)
alkisg: i'm fairly sure it would actualyl work with either python 2 or python3, technically, but i "forced" the issue with /usr/bin/python3
i suppose upstream would be better to not force it that way
since there are some distros where bin/python >= 3
Nah I'm very fine with dropping support for anything pre-16.04 or pre-stretch :)
pre systemd etc etc
Eh ok now I got it, but i'm still ok with it :D
you don't really use ltspfs, anyways
but i'd like to try and do the same for ldm ... not sure if there's any python in ltsp
I think some things for cluster? Or those are not upstream?
That too, right
I do not know about 'print', but I do know about these similar topics: 'fatclient-printers', 'printer'
printer: Quick how-to: RCFILE_01="/usr/sbin/jetpipe /dev/usb/lp0 9100 &" in lts.conf, reboot client, then go to server's add printer dialog, and specify network printer → jetdirect → ltsp123.local
jetpipe: (#1) Jetpipe -script has founded to be unstable in some cases. You can try C written (but limited) Jetpipe from GitHub https://github.com/bilange/jetpipe or switch it to USB/IP and use these scripts http://pastebin.com/Ltdi2TCL Support AIO devices as well., or (#2) jetpipe has a bug in some Ubuntu versions, to manually start it, put something like this in lts.conf: RCFILE_01="/usr/sbin/jetpipe /dev/usb/lp0 9100 &"
What was the other one called... that is packaged for debian... p<somenumber...>
i think they all lack some feature the others support, of course :)
wouldn't cups work out of the box for most usb printers?
It's hard to install drivers on fat clients
It's more convenient to forward the printers to the server and share them from there
Doesn't happen by default so maybe add a note in the wiki to share out the cups printers (based on my recent experience).
well, i think cups is prevented from starting on clients by default
ltsp doesn't modify the server. ltsp-manager should run cupsctl _share_printers=1 on initial-setup...
|19:52||lucascastro has left IRC (firstname.lastname@example.org, Remote host closed the connection)|
|19:52||Statler has left IRC (Statler!~Georg@p579FF4E1.dip0.t-ipconnect.de, Remote host closed the connection)|
|20:39||ricotz has left IRC (ricotz!~ricotz@ubuntu/member/ricotz, Quit: Leaving)|
|20:48||bella^Gestor has joined IRC (bella^Gestor!bf36169f@gateway/web/freenode/ip.22.214.171.124)|
I'm running Ubuntu 17.04. I installed ltsp-manager from the greek schools repo (16.04 package). No joy. I've even installed virtualbox on the same machine to try to boot via ipxe. I saw the <next-server> value, which should be the tftp server, hasn't been specified. Any suggestions? How can I confirm that my LTSP server setup is running correctly?
BTW, I must use a non-modifiable DHCP server running on an ISP-provided router.
|21:53||lucascastro has joined IRC (email@example.com)|
|22:14||Freejack has left IRC (Freejack!~quassel@unaffiliated/freejack, Ping timeout: 264 seconds)|
|22:18||Freejack has joined IRC (Freejack!~quassel@unaffiliated/freejack)|
|22:20||alazyworkaholic has joined IRC (firstname.lastname@example.org)|
bella^Gestor: it fails to boot at all?
|22:25||ogra_ has left IRC (email@example.com, Ping timeout: 246 seconds)|
|22:26||ogra_ has joined IRC (firstname.lastname@example.org)|
vagrantc: Hi, I'm the same person as bella^gestor - different location now, trying to set it up with a different machine. No, it doesn't even boot. On a real machine on the same lan, I am not sure the DHCP gets assigned at all. With iPXE via virtualbox, I confirmed that at least it gets a DHCP address from the router.
alazyworkaholic: is dnsmasq running? did it configure anything in /etc/dnsmasq.d/ltsp* ?
vagrantc: I'm starting over just now on another computer. I think dnsmasq may have been the problem, but I'm not sure. During ltsp-manager installation I saw there was a part where a file related to dnsmasq or dhcp was configured, but errors occured. (not sure exactly which file, I may see it again as I progress here now). Nonetheless, the file, which specified dhcp address ranges / proxy among other things, was created & looked ok to a la
|22:39||taterme has left IRC (taterme!~ident@2602:30a:c067:8a30:214:d1ff:fe3a:f0ac, Remote host closed the connection)|
vagrantc: I have (and would rather not mess with too much) a consumer-grade router that is the LAN's DHCP server. How can I confirm whether dnsmasq is running correctly?
Earlier I tried to set it up following a mismatched bundle of tutorials, forum posts, etc. I'm starting over now. I've added the ts.sch.gr ppa, which gives me ltsp-manager. I'll just install that now.
If you have any other advice for a fresh setup, please tell.
So far I have installed ltsp-manager with all its dependencies & ran its initial setup via the GUI. I also just ran #~ ltsp-config dnsmasq, which created /etc/dnsmasq.d/ltsp-server-dnsmasq.conf. I commented out this line of the file, under # IP ranges to hand out. dhcp-range=192.168.67.20,192.168.67.250,8h. I then ran #~ /etc/init.d/dnsmasq stop (then start).
My iPXE boot client now gets as far as seeing that the Next server = 192.168.1.100, which is the server (so it's correct).
The next line is Filename: /ltsp/amd64/pxelinux.0, but that file doesn't exist.
I've also just Disabled the DNS server functionality of dnsmasq by uncommenting the line port=0 in the /etc/dnsmasq.d/ltsp-server-dnsmasq.conf file.
alazyworkaholic: sorry, was away a bit
and need to leave soon
vagrantc: No problem. It's not terribly urgent. Could you can come back within the next days and look at the IRC log? I'll keep posting my attempts.
alazyworkaholic: ltsp-manager should have run ltsp-config for you ... and the dhcp-range stuff shouldn't need to be commented out, unless you're actually running something in the 192.168.67.* range
alazyworkaholic: the whole point of ltsp-manager is so you don't have to run anything manually :)
alazyworkaholic: so if you need to do manual steps, please report bugs :)
alazyworkaholic: alkisg is more familiar with ltsp-manager ... but i need to bring myself up to speed on it
vagrantc: Ok, I'll try to document my steps and report anything that doesn't seem to be my fault.
alkisg: reminds me, do you have anything you'd like to include in a new upload of ltsp-manager yet?
alkisg: it's still sitting in NEW for review ... would be good to get another version in soonish
|23:52||* vagrantc waves|
|23:52||vagrantc has left IRC (vagrantc!~vagrant@unaffiliated/vagrantc, Quit: leaving)|