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


Channel log from 16 November 2010   (all times are UTC)

00:22sutula has quit IRC
00:23sutula has joined #ltsp
00:30alkisg has quit IRC
00:33F-GT has quit IRC
00:40alexqwesa_ has quit IRC
00:40alexqwesa_ has joined #ltsp
00:41vagrantc has quit IRC
00:49F-GT has joined #ltsp
00:55zz_evil_root is now known as evil_root
01:12evil_root is now known as zz_evil_root
01:14ogra_ac has quit IRC
01:27Nehromhntoiyaz has joined #ltsp
01:50alkisg has joined #ltsp
02:09gnunux has joined #ltsp
02:25Mava has quit IRC
02:27
<gnunux>
hi
02:33Da-Geek has joined #ltsp
02:38dlezcano has quit IRC
02:55Trixboxer has joined #ltsp
03:12gorkhaan_ has joined #ltsp
03:18dobber has joined #ltsp
03:36mikkel has joined #ltsp
03:38litlebuda has joined #ltsp
03:53gorkhaan_ has quit IRC
04:01dlezcano has joined #ltsp
04:04daya has quit IRC
04:16daya has joined #ltsp
04:32bobby_C has joined #ltsp
04:46otavio has joined #ltsp
05:10alkisg has quit IRC
05:15daya has quit IRC
05:15ogra_ac has joined #ltsp
05:37
<muppis>
Problem playing DVD in thin. Locally runned VLC says it can't open /dev/dvd
05:58F-GT has quit IRC
06:01
<Trixboxer>
muppis: Is it running on fat-client ?
06:15F-GT has joined #ltsp
06:19alkisg has joined #ltsp
06:27F-GT has quit IRC
06:42F-GT has joined #ltsp
06:47mistik1 has quit IRC
06:48mistik1 has joined #ltsp
06:54
<muppis>
Trixboxer, in thin. Solved. Nautilus passes /media/$USER/cdrom as path to DVD, which not accessible from thin as being serverside mount, so I wrote little bash script for checking and replacing it with /dev/dvd.
06:56
So it actual runs script in thin and script launches actual vlc.
06:59
Script itself ain't bullet proof. Checks only first parameter, but works from Nautilus.
07:14robehend1 has joined #ltsp
07:20
<Trixboxer>
muppis: Good job :)
07:24
<muppis>
http://ltsp.pastebin.com/ZgwDvn5v
07:27
If someone got extra time, feel free loop whole $@ thru if there some other params passed to vlc and /media/$USER/cdrom ain't first one.
07:28
Trixboxer, thanks.
07:28
<alkisg>
muppis: /usr/bin/vlc.orig "$@"
07:28
Without the quotes it won't work with filenames that contain spaces
07:28
<muppis>
alkisg, thanks. Didn't notice that.
07:32
http://ltsp.pastebin.com/Gsq09EdJ Why Pastebin doesn't show if newer post exists?
07:44mgariepy has joined #ltsp
07:44mgariepy has joined #ltsp
07:46
<AndyGraybeal>
hi Trixboxer, muppis, alkisg :)
07:46
<Trixboxer>
o/
07:47
<AndyGraybeal>
:)
07:47
hows your NFS going Trixboxer ?
07:48
<Trixboxer>
AndyGraybeal: Its great.. and stable
07:48
Chrome works :)
07:48
<AndyGraybeal>
so you are booting your clients off a NFS folder with their home directories?
07:48mgariepy has quit IRC
07:49
<AndyGraybeal>
do their permissions on the client look like 'nobody' 'nogroup' ?
07:49
<Trixboxer>
yes
07:49
NFS_HOME=/home
07:49
no
07:49
its 700
07:50
<AndyGraybeal>
so 700 is the mask? is the actual user the owner?
07:53
ah nevermind, it takes me forever to figure this stuff out.
07:53
in 7 minutes i'm going to go buy a cellular modem, so i can get highspeed internet at home; instead of dial-up modem.
08:02
<robehend1>
AndyGraybeal: Such a nice upgrade, that
08:02Gadi has joined #ltsp
08:08
<Trixboxer>
AndyGraybeal: Yes
08:08
the actual user is the owner of that folder
08:08
I wonder why the GID UID dint messed up
08:08
still, things are fine till now
08:11
AndyGraybeal: Do you really get over 56kbps on a cellular modem ?
08:22ogra has quit IRC
08:23ogra has joined #ltsp
08:25[GuS] has joined #ltsp
08:25[GuS] has joined #ltsp
08:33
<robehend1>
Ok guys, need some suggestions. I've got my big parent-teacher conferences tonight, and the board has asked me to showcase LTSP a bit. Whats something that I can really WoW'em with?
08:35alexqwesa_ is now known as alexqwesa
08:38
<stgraber>
robehend1: what kind of hardware and version of the distro is that ?
08:39
<robehend1>
stgraber: hardware is going to be some pent D with 2 gb of ram, running off an dual xeon server with 16 gb of ram. Distro is ubuntu
08:39
<stgraber>
robehend1: do you have compiz working on these clients ? if so, running firefox as a localapp + some education softwares and playing with wobbly windows + compiz cube is usually impressive enough :)
08:40
<robehend1>
stgraber: i dont at the moment, but I could give it a shot. I had figured on some Firefox localapps with flash games, was just wondering if there was any other "wow" i can provide. This is for parents, so we're trying to show that Linux is a good choice for their children
08:40alkisg has quit IRC
08:43
<AndyGraybeal>
Trixboxer: so i got the cellular modem! Trixboxer: yes, i got solid 40KB/s at home with my friends verizon cellular phone. so this should pull the same KB's. my dial-up modem gets about 3-4KB/s. it will be grand.
08:44
<highvoltage>
robehend1: tuxpaint is simple but ime really effective. showing what the technology is capable using some games like nexuiz or openarena helps a lot for the 'wow' factor
08:44
<Trixboxer>
yes 1000% speed growth :P
08:44
AndyGraybeal: yes 1000% speed growth :P
08:44
<AndyGraybeal>
robehend1: i don't know what to say, but i love stellarium :) if i had that when i was a kid.. omg !!
08:44
<robehend1>
highvoltage: Never thought of doing games. Do they run decently in an LTSP setup, or do I need to run them as local apps.
08:45
AndyGraybeal: oo, another good choice. I've got Kstars on there, but I like stellarium better.
08:45
<AndyGraybeal>
kstars is more scientific for sure :)
08:45
<robehend1>
AndyGraybeal: Screw science, we're after "OMG SHINY" tonight
08:45
<AndyGraybeal>
:)
08:46
do you get parents asking why their kids are using openoffice, when they should be using microsoft office?
08:46
<robehend1>
Many, many times
08:46
<highvoltage>
robehend1: for best performance I'd suggest it as a local app
08:46
<robehend1>
Trixboxer: Change your dns from what the modem is giving you. My verizon card's dns sucks. I prefer OpenDNS or Google dns. Sped me up another 12% or more
08:46
<AndyGraybeal>
robehend1: ho do you deal with that?
08:47
*how (my w key wants to not work)
08:47
<Trixboxer>
robehend1: Why me? Im already on 8.8.8.8
08:47
<robehend1>
highvoltage: Hmm, ok. Is openarena violent? It's an elementary school, afterall.
08:47
<Trixboxer>
:)
08:47
<robehend1>
Trixboxer: Ah, nice. Just a suggestion
08:47
AndyGraybeal: It's a case by case. usually, after explaining to the parent what OpenOffice, now LibreOffice stands for, and how it's used, they're fine
08:47
<Trixboxer>
I was confused.. you selected me :).. thanks
08:48
<robehend1>
AndyGraybeal: The hardcore "USE MS NOW" parents are nearly impossible to win with, however
08:48
Trixboxer: only becuase I have a verizon modem, and it kept trying to use a dns in Florida..while I'm in minnesota..
08:48
<AndyGraybeal>
robehend1: *nods* ... i can't beleive they exists, but i mean.. i do believe it.
08:49
<robehend1>
AndyGraybeal: What's worse is the parents who, themselves, work in IT in some form.
08:49
<Trixboxer>
oh.. np
08:49
<robehend1>
AndyGraybeal: Just becuase they work on the "IT Innovation" team for Bank of America means that they must be correct over the lowly Tech. coordinator for a rural K-12!
08:49
<highvoltage>
robehend1: hmm, it is somewhat
08:49
<AndyGraybeal>
robehend1: obviously!
08:49
:)
08:50
<robehend1>
highvoltage: Age levels you'd recommend? Last thing I need is some freaked out parent from when a penguin explodes.
08:50
<highvoltage>
robehend1: extremetuxracer will probably be better then :)
08:50
<robehend1>
highvoltage: Works for me, thanks.
08:51
AndyGraybeal: had one parent, who runs a local computer repair shop, tell me what Linux was not stable enough for deployment. His reasoning is that "when I ran it, I'd update, and my keyboard quit working! So it must be a crap peice of software!"
08:51
<AndyGraybeal>
omg.. crazy, obviously he's correct.
08:52
yea, i'm glad your board is letting you present.
08:52
as long as the board supports what you do, i hope that the rest is smooth for you.
08:53
<robehend1>
me too. It's an election year though, so who knows. Boards tend to flip/flop a bit when it comes to them
08:54
I sorta sneaked getting approval for LTSP under their noses anyways. I setup an LTSP box, booted 10 clients into it. I had configured Gnome to look nearly identical to Windows 7, except with a Tux logo instead of the Windows one on the start button. Had the board use the system, they liked it, said it was fast..then I showed them it was linux.
08:54
Figured that if they themselves couldn't tell the difference, they couldnt complain to much about students. being confused.
08:54
<AndyGraybeal>
amazing.
08:54
did you explain the clutches that you have escaped by choosing linux?
08:55
<robehend1>
Yep. as well as the lovely "here's how much money we save" graph
08:55
it helped, of course, after I told them that 90% of our servers were Linux already
08:55mgariepy has joined #ltsp
08:56mgariepy has joined #ltsp
08:59robehend1 has left #ltsp
09:03mikkel has quit IRC
09:38
<AndyGraybeal>
okay, it looks like i have to initialize the modem on a windows computer.
09:39Da-Geek has quit IRC
09:43bobby_C has quit IRC
09:58alkisg has joined #ltsp
10:11dlezcano has quit IRC
10:16staffencasa has joined #ltsp
10:18zz_evil_root is now known as evil_root
10:30gnunux has quit IRC
10:41
<crazed>
what would you guys do for like a distributed file system
10:41
each office (hong kong, san jose, and new jersey for example), has 2 ltsp servers and 1 nfs server
10:42
the nfs server gives the home directories
10:42
how would you handle replication across each nfs server
10:51ogra_ac has quit IRC
10:52dobber has quit IRC
10:56ogra_ac has joined #ltsp
11:10chupacabra has quit IRC
11:11elias_a has quit IRC
11:13chupacabra has joined #ltsp
11:28Mava has joined #ltsp
11:28komunista has joined #ltsp
11:34Lifeboy has joined #ltsp
11:35
<Lifeboy>
Does anyone here how how to troubleshoot jetpipe?
11:35[GuS] has quit IRC
11:36
<Lifeboy>
eh, I meant "... know how to troubleshoot jetpipe"
11:38
<Gadi>
Lifeboy: whats the problem?
11:47mikkel has joined #ltsp
11:48
<Lifeboy>
Jetpipe just doesn't start when a usb printer is plugged into the thin client. - It's set in ltsp.conf and if I run it manually it starts.
11:52
<Gadi>
what entry do you have in lts.conf?
11:52
also, if you have a shell on the client, run:
11:52
. /usr/share/ltsp/ltsp_config
11:52elias_a has joined #ltsp
11:53
<Gadi>
env|grep PRINTER
11:53
and make sure your printer setting from lts.conf is there
11:59
<sbalneav>
Anyone have any thoughts on the patch I proposed to -develop?
12:00
<alkisg>
sbalneav: looks fine, go ahead
12:00
No need to rewrite daemon stuff if it's in a python lib
12:00
Simpler etc, go for it
12:00
<sbalneav>
That was my thought.
12:00
ok, I'll update later this-afternoon.
12:02
<ogra>
sbalneav, did you talk to stgraber ? he needs to promote python-daemon to main in ubuntu
12:02
the patch looks great btw
12:02[GuS] has joined #ltsp
12:02[GuS] has joined #ltsp
12:04
<Lifeboy>
@Gadi: Unfortunately it seems that the guy who's got the printer on his client device has gone home and turned off his device, so I cannot check is remotely now. I will have to wait till he's back in the morning (he's in another town)
12:06
Does "env|grep PRINTER" mean that the settings in lts.conf are actually exported to the client chroot environment on startup?
12:08
I've got the following in lts.conf:
12:08
[44:4D:50:02:ED:EE]
12:08
LOCALDEV = true
12:08
PRINTER_0_DEVICE = /dev/usblp0
12:08
PRINTER_0_TYPE = U
12:16Lifeboy has left #ltsp
12:16Lifeboy has joined #ltsp
12:17
<Lifeboy>
@Gadi: I managed to clear my screen by accident, what was die command to check the tlsp-config again?
12:24
I just tried another client. I firstly changed the lts.conf to make the settings that I had for one specific mac address the setting for all clients. Then I rebooted the client. Here are the env results:
12:24
TERM=xterm
12:24
SHELL=/bin/bash
12:24
SSH_CLIENT=192.168.8.100 43271 22
12:24
SSH_TTY=/dev/pts/0
12:24
USER=roland
12:24
LS_COLORS=rs=0:d<cut>
12:24
MAIL=/var/mail/roland
12:24
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
12:24
PWD=/home/roland
12:24
LANG=en_ZA.UTF-8
12:24
SHLVL=1
12:24
HOME=/home/roland
12:24
LOGNAME=roland
12:24
SSH_CONNECTION=192.168.8.100 43271 192.168.8.104 22
12:24
LESSOPEN=| /usr/bin/lesspipe %s
12:24
LESSCLOSE=/usr/bin/lesspipe %s %s
12:24
_=/usr/bin/env
12:28
Ok, I found ". /usr/share/ltsp/ltsp_config" in the logs, but it gives not results. What should I except to get?
12:29RiXtEr has quit IRC
12:29otavio has quit IRC
12:29RiXtEr has joined #ltsp
12:32dlezcano has joined #ltsp
12:36otavio has joined #ltsp
12:36otavio has joined #ltsp
12:41
<Lifeboy>
So, the settings in the default section of lts.conf are not exported. Should they be? How to proceed to troubleshoot this?
12:43
<alkisg>
Lifeboy: if `getltscfg -a` gives you the settings in lts.conf, then it's ok, they don't need to be exported
12:44
<Lifeboy>
'getltscfg -a' gives no output
12:44
<alkisg>
Is that from a *local* terminal on the client?
12:45robehend1 has joined #ltsp
12:45
<Lifeboy>
That is when I log into the shell of the client with ssh, ie the thin client, not the user's session on the server
12:46
<robehend1>
has anyone ever used a VOIP terminal over LTSP successfully? Like a softphone?
12:46
<alkisg>
Lifeboy: distro/version? Where did you put lts.conf? And what are its exact contents?
12:46
<Lifeboy>
@robehend1: yes, in a callcentre. worked well on Ubuntu Intrepid.
12:47
<robehend1>
Lifeboy: You basically just set up the softphone software as a local app, and then it worked?
12:50
<Lifeboy>
alkisg: Ubuntu Server 10.10 LTSP 5.2.4-0ubuntu6. /var/lib/tftpboot/ltsp/i386/lts.conf contains
12:50
[default]
12:50
LDM_DIRECTX = True
12:50
LOCALDEV = true
12:50
PRINTER_0_DEVICE = /dev/usblp0
12:50
PRINTER_0_TYPE = U
12:50
<alkisg>
Lifeboy: hmmm that doesn't sound right then, getltscfg -a giving you nothing
12:51
!localxterrm
12:51
<ltspbot>
alkisg: Error: "localxterrm" is not a valid command.
12:51
<alkisg>
Can you retry it from a localxterm? Or are you not near the clients?
12:51
<Lifeboy>
robehend1: Yes, the tricky part was getting the sound to work on the hardware we used. We started with Hardy and then moved the clients to intrepid to get the proper sound support. But essentially it the sound works fine if you boot from a flashdrive with the client os on, then LTSP will work fine as well.
12:51
<highvoltage>
Lifeboy: where's your lts.conf file?
12:52
(ah, you did say, nm)
12:52
<Lifeboy>
I can reach a client via ssh from the server?
12:55
alkish: I'm not sure what you mean by a localxterm? I'm doing these command in a shell on the OS that boots the thin client. Should I do it on the client session (that runs on the server)? Surely not?
12:55
(I added a user to the chroot so I can login to the client to troubleshoot this issue)
12:57
<robehend1>
Lifeboy: Nice, thanks Lifeboy. I want my kids to learn a bit of business phone, this seemed like a good setup
12:58
<Lifeboy>
alkish & highvoltage: There are two locations on the server for LTSP. /srv/ltsp and /opt/ltsp. Since dhcp3 in Maveric (Ubuntu 10.10) set the next server to /srv/ltsp, I assumed that is the correct one. I compared the files in both and it seems when I build the image both get updated anyway
12:59
<highvoltage>
Lifeboy: hmm, by default it uses /opt/ltsp in 10.10 still
12:59
<Lifeboy>
Also, the server is 64bit, the client i386
12:59Mava has quit IRC
12:59
<Lifeboy>
Any idea where /srv/ltsp comes from?
13:00
<highvoltage>
I think some distributions use that
13:00
<Lifeboy>
Let me change the dhcp & tftp server to use /opt/ltsp and lets see what happens.
13:01
Maybe /srv/ltsp never reads the correct lts.conf file!
13:01
<alkisg>
Lifeboy: that's for tftp
13:01
see the path in /etc/default/tftpd-hpa
13:01
<Lifeboy>
But that tells the client where the boot image is, right?
13:01
<alkisg>
Maybe you're putting lts.conf in the wrong location. Did you do a clean installation or an upgrade?
13:01
<Lifeboy>
upgrade
13:01
<alkisg>
I think that's a known bug
13:02
<Lifeboy>
what is?
13:02
<alkisg>
I think still /var/lib/tftpboot is used for tftp on clean installations, but on upgrades somehow that breaks and /srv is used
13:02
<highvoltage>
alkisg: I believe stgraber fixed that
13:02
<sbalneav>
ogra: Thanks, I'll ping him first then.
13:02
<alkisg>
So in your case now you'd have to put lts.conf in /srv/ltsp/i386/lts.conf
13:02
highvoltage: I don't think so
13:03
<highvoltage>
hmm, that bug broke ltsp in edubuntu, and I didn't have to fix it later on
13:03
<Lifeboy>
I
13:03
<ogra_ac>
sbalneav, well, add your patch to upstream ;) just make sure he knows about the extra dep ;)
13:03
<alkisg>
highvoltage: I only see it on upgrades now
13:03
<Lifeboy>
'I'd rather put it where is should be and fix the tftp parh
13:03
path
13:03
<alkisg>
Lifeboy: see the notes about the uppgrade bug in https://help.ubuntu.com/community/UbuntuLTSP/Troubleshooting/TFTP
13:04
<Lifeboy>
Ok, lemme check that...
13:04
<alkisg>
(and the correct /etc/default/tftpd-hpa there)
13:05
<Lifeboy>
I was bragging to my peers that the upgrade from Hardy to Karmic and then the Lucid and then Maverick went well without major hickups! It's just the local printer that trips me up.
13:05
<sbalneav>
ogra_ac: Well, no, I'd rather wait until he's got his ducks in a row, I hate to cause him more work.
13:06Mava has joined #ltsp
13:06
<ogra_ac>
he has to do the work anyway
13:08
<Lifeboy>
Is it safe to remove /srv/ltsp after upgrading then?
13:08
<sbalneav>
Well, I don't want to cause him work before he's ready for it then. :)
13:09
Just me being my usual considerate self :)
13:12
So, if people have a few moments, I'd like to seek some input on the pam_sshlib module.
13:13
I'm getting close to having something we can actually start to play with, but I'm wondering how "LTSP" specific we can/should make it.
13:13litlebuda has joined #ltsp
13:13
<sbalneav>
i.e. having it look for env variables like LDM_ and write sockets automatically like /var/run/ldm_socket...
13:13
<alkisg>
Lifeboy: if you moved it's contents to /var/lib/tftpboot (if needed), and fixed the configuration file, then yes, it's safe to delete it
13:14
<sbalneav>
As it may be useful for people in environments outside of LTSP.
13:14
so, here's my thoughts:
13:14
<Lifeboy>
alkisg: And if I re-run ltsp-build-client? Will the file go to /srv/tftp/ltsp/i386/ again?
13:15
<sbalneav>
What we do is, through a combination of pam command line options, and PAM_SSHLIB_* environment variables, the module's configured.
13:15
So, for instance, the socket prefix could be set with: (in a pam.d file)
13:16
auth required pam_sshlib.o socket_prefix=/var/lib/ldm_socket_
13:16
<Lifeboy>
Ah, "fixed the configuration files" means that /srv/tftp is not in there anymore, so it doesn't write there anymore... I get it.
13:16
<sbalneav>
and with the setup parts of environment variables, we just need a few extra lines of shell code, to wit:
13:16
PAM_SSHLIB_HOST=${LDM_SERVER}
13:17
<alkisg>
Lifeboy: right
13:17
<sbalneav>
PAM_SSHLIB_PORT=${LDM_SSHPORT}
13:17
etc.
13:18
it means a few extra lines of code for us, but then other projects that may want to make use of pam_sshlib don't need to have esoteric paths and env variables that are LTSP related.
13:18
Does that make sense?
13:21[GuS] has quit IRC
13:22elias_a has quit IRC
13:22elias_a has joined #ltsp
13:23
<alkisg>
sbalneav: how would the library be used in a non-ltsp environment?
13:23
E.g. could it be used with gdm/
13:23
?
13:24
<sbalneav>
Yes, in theory
13:24
Keep in mind that the second piece of the puzzle, once the pam bit's completed
13:24
is an nss module, that uses the socket created by the pam module to do info lookups.
13:25
*IN THEORY*, you could actually use pam_sshlib and nss_sshlib to run a full desktop instead of, say, LDAP.
13:27
Just have one box that you add regular users to, then so long as it's running an ssh server, boom, it's your "enterprise database"
13:27
handling groups, users and passwords.
13:27
I'm thinking one of the other thin client solutions out there may find it useful,
13:28
Or perhaps some other use I haven't thought of.
13:29
<ogra_ac>
well, the plan was to use the lib with light dm
13:29
so with modifications to gdm it should be possible to use it there too
13:30
<alkisg>
It sounds very powerful and useful indeed. It can be used to provide an easy to setup school-server, while still using users-admin etc
13:31Gadi has left #ltsp
13:33
<Lifeboy>
Thanks alkisg, I made all the changes and rebooted a client and getltspcfg -a showed the exact entries in lts.conf
13:34
I will test the printer tomorrow once the client is powered on again, but I think it should work now.
13:34Lns has joined #ltsp
13:35
<sbalneav>
So, then it makes sense to make it a "project" on it's own, with it's own env vars, etc., and less "LTSP" specific.
13:35Lifeboy has left #ltsp
13:36
<alkisg>
Yup, it makes sense
13:37Lifeboy has joined #ltsp
13:37Lifeboy has left #ltsp
13:44
<sbalneav>
OK, that's the way I'll proceed!
13:49
If you'd all like to see the work that's been done...
13:49
http://bazaar.launchpad.net/~sbalneav/ltsp/libpam-sshauth/changes/20?start_revid=20
14:04Trixboxer has quit IRC
14:06sweetpi has joined #ltsp
14:10dobber_ has joined #ltsp
14:10vagrantc has joined #ltsp
14:29Lns has quit IRC
14:36* Kyle__ shrugs
14:38
<evil_root>
http://bit.ly/d7Ha15
14:41Remaille has joined #ltsp
14:42dobber_ has quit IRC
14:45dobber_ has joined #ltsp
14:47lippo has joined #ltsp
15:05bobby_C has joined #ltsp
15:15
<staffencasa>
Could someone help me out? I installed Ubuntu 10.10 on a new server and installed LTSP, then I copied over /opt/ltsp/i386 from an existing server and tried to chroot in and get "/bin/bash: 1: Syntax error: "(" unexpected. Any suggestions?
15:15
<abeehc>
build a clean chroot
15:15
<staffencasa>
After i installed LTSP, i ran a "sudo ltsp-build-client" then removed it and put in my copy from the other server. Is that not okay to do?
15:16
<abeehc>
nope, not a good idea
15:16
at least, i assume your old chroot is from and older ubuntu dist
15:16
<staffencasa>
no, same
15:16
<abeehc>
in any case, not such a good plan I don't think
15:16
<staffencasa>
I put a lot of work into it, is there no way to use it?
15:22
<alkisg>
staffencasa: ltsp-build-client builds a chroot. You also copied a chroot. Which of the two you now have, and which one do you want to use?
15:23
<staffencasa>
I created the server, built a client, but then backed that up and copied over one I had created on another server. So now I'm trying to use the one I copied over
15:23
it works great on another system and I wanted to use it on a new server
15:23
<alkisg>
OK. Is that copied chroot from a 10.10 server? And, the same arch? (i386)?
15:23
<staffencasa>
yes
15:23
and yes
15:24
<alkisg>
OK. And sudo chroot /opt/ltsp/i386 tells you the problem about bash?
15:24
<staffencasa>
yep.
15:24
<alkisg>
How did you copy the chroot?
15:25
<staffencasa>
I tar'd it up sans the proc, media, mnt, and dev folders
15:25
those folders I just created new empty ones
15:25
<alkisg>
Did you also copy the /opt/ltsp/images/i386.img?
15:25
<staffencasa>
no
15:26
<alkisg>
what does this tell you? sudo chroot /opt/ltsp/i386 ls
15:26
<staffencasa>
it shows me the folders in /opt/ltsp/i386
15:27
<alkisg>
and this gets you a shell? sudo chroot /opt/ltsp/i386 /bin/bash
15:28
<staffencasa>
no, I get the /bin/bash error again
15:28
<alkisg>
what about this? sudo chroot /opt/ltsp/i386 /bin/sh
15:28
<staffencasa>
I get a shell there
15:29
'(# Blinking cursor)
15:29
<alkisg>
OK, exit the shell.
15:29
(ctrl+d)
15:29
<staffencasa>
k
15:29
<alkisg>
ls -lha /opt/ltsp/i386/bin/bash
15:29lippo has quit IRC
15:29
<alkisg>
Is that a normal executable about 800k in size?
15:30
<staffencasa>
I get /opt/ltsp/i386/bin/bash with root:root: and -rwxr-xr-x
15:30
4.5 MB
15:30
<alkisg>
4.5 MB is too large
15:30
There's something wrong with it
15:31
Try `vi /opt/ltsp/i386/bin/bash` or `strings /opt/ltsp/i386/bin/bash` or `file /opt/ltsp/i386/bin/bash` etc to see what it is
15:31
(erm I have lucid, but I don't suppose it's 4.5 in maverick...)
15:31
(check your /bin/bash outside of your chroot to verify)
15:32
<staffencasa>
I looked at the client it originally built and that file is 784K
15:32
<alkisg>
So it's probably an error in copying
15:32
<staffencasa>
I'll try replacing that file
15:32
<alkisg>
You may also have other broken files though
15:32
Check again your transferring method
15:33
<staffencasa>
replacing that from the old one worked
15:33
<alkisg>
Right, but I'd try to find out *why* it was broken, before putting that chroot to production :)
15:34
<staffencasa>
yeah
15:34
is that typically a link?
15:35
it's not a link, so I guess no
15:35
<alkisg>
No
15:38
<staffencasa>
thanks a ton alkisg!
15:38
<alkisg>
You're welcome
15:43mgariepy has quit IRC
15:50
<staffencasa>
alkisg, I think I know what I did wrong, when I tar'd it up, I think i reversed the source/destination fields
15:51
it failed, so I went back and looked at the syntax and corrected it
15:51
<vagrantc>
ouch
15:51
<staffencasa>
tell me about it
15:52
<vagrantc>
that could potentially damage the system it was run on...
15:52* vagrantc has botched that a couple times
15:53
<staffencasa>
so far all I can tell is that one file was wacky
15:53
we actually were able to figure it out because we could untar /bin/bash
15:54
and it extracted my /bin folder
16:02barbosa has joined #ltsp
16:02barbosa has quit IRC
16:03
<Kyle__>
Ugh. I can't believe I just lost 4 hours of work via scp typo.
16:07
<sbalneav>
Well, at least it wasn't sudo rm -rf /
16:07
That would likely be more work.
16:07
<Kyle__>
sbalneav: Nope, but it was a presentation I'm supposed to give in two hours.
16:08
<sbalneav>
That's a problem.
16:09
<Kyle__>
Yea. It's for a grad class. More or less a short talk on web-crawlers.
16:20Remaille has quit IRC
16:20vagrantc has quit IRC
16:21vagrantc has joined #ltsp
16:21mikkel has quit IRC
16:37ogra_ac has quit IRC
16:42gorkhaan has quit IRC
16:42alkisg has quit IRC
16:45litlebuda has quit IRC
16:45litlebuda has joined #ltsp
16:51ogra_ac has joined #ltsp
17:11komunista has quit IRC
17:17gorkhaan has joined #ltsp
17:25johnny has left #ltsp
17:29johnny has joined #ltsp
17:31bobby_C has quit IRC
17:34MorningSon has joined #ltsp
17:35dobber_ has quit IRC
17:41vagrantc has quit IRC
17:45bobby_C has joined #ltsp
18:00sweetpi has quit IRC
18:02litlebuda has quit IRC
18:02litlebuda has joined #ltsp
18:21shawnp0wers has joined #ltsp
18:24adrianorg has joined #ltsp
18:57staffencasa has quit IRC
19:15RiXtEr has quit IRC
19:15RiXtEr has joined #ltsp
19:16
<sbalneav>
Whoohoo.
19:16
sbalneav@feniks:~/Source/bzr/libpam-sshauth/src$ ./pamtest flarp sbalneav
19:16
Trying to authenticate <sbalneav> for service <flarp>.
19:16
Server is unknown. Do you trust this host key?
19:16
Type 'yes' to continue: yes
19:16
Do you want to save this new key in known_hosts?
19:16
Type 'yes' to continue: yes
19:16
Password:
19:16
Authentication successful.
19:16
open session successful.
19:16
Env PAM_SSHLIB_SOCKET = /tmp/pam_sshlib_9824_oin.ath.cx
19:16
Press any key to continue
19:16
Exit request sent.
19:16
close session successful.
19:16
Press any key to continue
19:16
The part where it's asking about the host key?
19:17
That's done via pam prompts and responses.
19:17
So, if you were in gdm, the message under the prompt would say:
19:17
Server is unknown. Do you trust this host key?
19:17
and the thing that normally says "Login:" or "Password:" beside the input box would say:
19:17
Type 'yes' to continue: yes
19:18
err, well minus the last yes
19:18
that was me typing it.
19:25evil_root is now known as zz_evil_root
19:34shawnp0wers has quit IRC
19:41bobby_C has quit IRC
19:51
<highvoltage>
sbalneav: \o/
19:52
sbalneav: so next is "Swipe finger to log on"? :p
19:59
<sbalneav>
Well, that's the whole point with pamifying things.
20:00
If we get ourselves authing via pam, smart cards, finger swipes, etc. all become, in theory, possible.
20:00
The pam module's getting big. I'm up over 900 lines of code.
20:01
I expect it to double by the time I get all the features in that we want.
20:13zz_evil_root is now known as evil_root
20:39adrianorg has quit IRC
20:43
<chupacabra>
scotty hogging the bw?
20:52johnny has left #ltsp
20:57alexqwesa has quit IRC
21:02alexqwesa has joined #ltsp
21:02vagrantc has joined #ltsp
21:16vagrantc has quit IRC
21:42MorningSon has quit IRC
21:46otavio has quit IRC
21:51shawnp0wers has joined #ltsp
22:13johnny has joined #ltsp
22:17litlebuda has quit IRC
22:39shawnp0wers has quit IRC
23:13sweetpi has joined #ltsp
23:25Nehromhntoiyaz has left #ltsp
23:37daya has joined #ltsp
23:46alexqwesa has quit IRC
23:47alexqwesa has joined #ltsp
23:56alkisg has joined #ltsp