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


Channel log from 28 January 2013   (all times are UTC)

00:42adrianorg__ has left IRC (adrianorg__!~adrianorg@177.156.59.129, Ping timeout: 276 seconds)
00:45F-GTSC is now known as F-GT
00:49FGXR6 has joined IRC (FGXR6!~phantom@ppp121-44-136-46.lns20.syd7.internode.on.net)
00:51F-GT has left IRC (F-GT!~phantom@ppp121-44-181-102.lns20.syd7.internode.on.net, Ping timeout: 252 seconds)
01:00andygraybeal_ has left IRC (andygraybeal_!~andy@h191.205.130.174.dynamic.ip.windstream.net, Ping timeout: 260 seconds)
01:01PhoenixSTF has left IRC (PhoenixSTF!~rudi@78.29.134.164, Remote host closed the connection)
01:43vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
02:39Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
02:41andygraybeal_ has joined IRC (andygraybeal_!~andy@h191.205.130.174.dynamic.ip.windstream.net)
03:05|Paradox| has left IRC (|Paradox|!~iamparado@c-71-206-132-62.hsd1.va.comcast.net, Ping timeout: 255 seconds)
03:12|Paradox| has joined IRC (|Paradox|!~iamparado@c-71-206-132-62.hsd1.va.comcast.net)
03:13andygraybeal_ has left IRC (andygraybeal_!~andy@h191.205.130.174.dynamic.ip.windstream.net, Ping timeout: 260 seconds)
03:23Parker955 is now known as Parker955_Away
04:40Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas, Ping timeout: 245 seconds)
04:55sha_ has joined IRC (sha_!~sha@e177118016.adsl.alicedsl.de)
04:58sha has left IRC (sha!~sha@e177160037.adsl.alicedsl.de, Ping timeout: 252 seconds)
05:19telex has left IRC (telex!~telex@freeshell.de, Read error: Connection reset by peer)
05:21telex has joined IRC (telex!~telex@freeshell.de)
05:29telex has left IRC (telex!~telex@freeshell.de, Ping timeout: 244 seconds)
05:38telex has joined IRC (telex!~telex@94.247.40.146)
06:32monteslu__ has joined IRC (monteslu__!~monteslu@ip68-109-174-213.ph.ph.cox.net)
06:36monteslu_ has left IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 252 seconds)
06:41bauerski has joined IRC (bauerski!~witekb@frodo.psp.opole.pl)
07:47dievel has joined IRC (dievel!~dievel@2-229-104-66.ip196.fastwebnet.it)
08:10sep has joined IRC (sep!~sep@40.211.jostedal.no)
08:17khildin has joined IRC (khildin!~khildin@ip-80-236-227-45.dsl.scarlet.be)
08:31bobby_C has joined IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at)
09:08davidstrauss has left IRC (davidstrauss!~quassel@wikimedia/davidstrauss, Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
09:09davidstrauss has joined IRC (davidstrauss!~quassel@wikimedia/davidstrauss)
09:31dobber has joined IRC (dobber!~dobber@213.169.45.222)
09:37davidstrauss has left IRC (davidstrauss!~quassel@wikimedia/davidstrauss, Remote host closed the connection)
09:38davidstrauss has joined IRC (davidstrauss!~quassel@198-101-221-207.static.cloud-ips.com)
09:38davidstrauss has joined IRC (davidstrauss!~quassel@wikimedia/davidstrauss)
10:08davidstrauss has left IRC (davidstrauss!~quassel@wikimedia/davidstrauss)
10:28andygraybeal_ has joined IRC (andygraybeal_!~andy@h191.205.130.174.dynamic.ip.windstream.net)
11:08adrianorg__ has joined IRC (adrianorg__!~adrianorg@177.156.56.22)
12:04komunista has joined IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk)
12:23JuJuBee has joined IRC (JuJuBee!~mike_knic@24-148-112-102.ip.mhcable.com)
12:25meamy has joined IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de)
12:27
<meamy>
Hi every one, is there an esay possibility to open a programm on an application server from a FAT Client?
12:29
<JuJuBee>
Hyperbyte: how did the launch go?
12:33
<sep>
meamy, sounds like just regular X to me
12:35
meamy, easiest way is ssh -X remote_host gui_command
12:37
meamy, if you want to learn how to do it outside of ssh , read http://beginlinux.wordpress.com/2009/01/05/remote-display-of-the-x-protocol/
12:38
<ogra_>
meamy, ltsp-remoteapp is the command i think
12:39
(or ltsp-remoteapps)
13:00
<meamy>
ltsp-remoteaps did the job i just forgot to set REMOTE_APP to TRUE at the Conrtol server
13:07Phantomas has joined IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
13:20mgariepy has joined IRC (mgariepy!mgariepy@ubuntu/member/mgariepy)
13:31jammcq has left IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net, Quit: leaving)
13:37bauerski has left IRC (bauerski!~witekb@frodo.psp.opole.pl, Ping timeout: 245 seconds)
13:41bauerski has joined IRC (bauerski!~witekb@frodo.psp.opole.pl)
13:42
<Hyperbyte>
JuJuBee, pretty nice! :)
13:42
Still some problems left and right, but alas
13:42
It's the PR that counts. :P
13:50jammcq has joined IRC (jammcq!~jam@c-69-245-75-255.hsd1.mi.comcast.net)
13:55komunista has left IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk, Ping timeout: 255 seconds)
14:04
<JuJuBee>
Hyperbyte: yes, it is...
14:05
I still am unable to run PacketTracer on my clients... :(
14:06
Also having some difficulty with Unity.... User removes items from Launcher then goes to add one and all the ones he removed come back where the one he just added did not pin
14:07
<Hyperbyte>
I have no idea about Unity
14:08
You ran strace on the PacketTracer, and it said something about wanting to write to /opt/pt533/bin/ (IIRC) before it crashes... what have you done with this info?
14:12
<JuJuBee>
I was unable to find any suggestions...
14:13
I am seeing other strange behavior so I am wondering if I should start over...
14:13
I installed gnome classic and kubuntu-desktop in the image and one user can select either and another can only load unity...
14:21bauerski has left IRC (bauerski!~witekb@frodo.psp.opole.pl, Ping timeout: 256 seconds)
14:26bauerski has joined IRC (bauerski!~witekb@frodo.psp.opole.pl)
14:40
<Hyperbyte>
JuJuBee, probably to do with .dmrc files in the users' home directories
14:41alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
14:42
<Hyperbyte>
JuJuBee, try alkisg - he's the LTSP oracle. He knows everything. :)
14:42
<alkisg>
Haha! Hi Hyperbyte, hi all :P)
14:46
<Hyperbyte>
:)
14:47
<JuJuBee>
OK Thanks will do....
14:47
<alkisg>
JuJuBee: I haven't seen the "question" though... is that about session selection?
14:49
<JuJuBee>
alkisg: yes, I installed kubuntu-desktop and gnome classic... along with unity. One student can log in using all three DE's another can only use Unity.
14:49
<alkisg>
JuJuBee: thins or fat clients?
14:49
<JuJuBee>
The one that can only use unity is a new yser
14:49
Fat
14:50
<alkisg>
Did you install those in the chroot? And then run ltsp-update-image?
14:50
<JuJuBee>
yes
14:51
<alkisg>
On a fat client, what's the output of `hostname; ls /usr/share/xsessions`?
14:52
<JuJuBee>
While user that cannot log in to anything but unity?
14:52
or other user?
14:53
<alkisg>
Both, they should be the same
14:53
Also post their .dmrc
14:53
<JuJuBee>
ok, this might take a bit, I have to log into that computer and get the output... brb
14:56dead_inside has joined IRC (dead_inside!~dead_insi@76.75.3.174)
15:00
<JuJuBee>
OK, I think I just figured it out... I forgot I am using fstab in /opt/ltsp/amd64/etc/lts.conf to mount homes from original server and uid don't match... my bad. Need to correct that.
15:00
Let me do that and come back...
15:09leio_ is now known as leio
15:17
<JuJuBee>
Yep, that waas the problem...
15:17
So now back to my original problem of not being able to run PacketTracer on clients...
15:19
Actually one more question for you alkisg... will I gain or lose anything by leaving the users home dirs on my original server and using nfs to mount them via FSTAB_0 in the image? vs. copying them to the new server and using default sshfs?
15:21
<Hyperbyte>
sshfs = slower, more secure
15:21
nfs = faster, less secure
15:22
Plus, currently, using NFS overcomes some bugs in LTSP fat clients where sometimes files are not properly saved on the server.
15:22
<JuJuBee>
So what about using different server then? I currently use nfs and nis in my lab, and might keep a local OS installed on HD until all of this is working the way I need to (ltsp)
15:23
I see, so I will use nfs then. I am on my own network at school so only my computers anyway, so security less of an issue...
15:25
Hyperbyte: so any chance you can take a look and see if you see why PacketTracer is not running on client?
15:27
<alkisg>
JuJuBee: also, NFS on different servers can possibly speed up things. E.g. 10 gigabit clients reading from an NBD+NFS server can read up to 1 gbps, while from 2 separate NBD, NFS servers up to 2 gbps
15:27
That can be solved with an additional pci-e card too though :)
15:28
<JuJuBee>
OK, I guess for now I will leave as is. I just need to get this program running on my clients.
15:29
<alkisg>
And where are you having a problem with that?
15:30staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
15:33
<JuJuBee>
I installed a program called PacketTracer (Cisco network simulator). It runs on the server fine (installed to test) but will not open on client.
15:34
<alkisg>
You installed it in the chroot? Any errors while installing it or while running it from the console?
15:35
<JuJuBee>
No errors, it installed fine
15:35
<alkisg>
And no errors while running it either? Then you'd need to contact cisco for support...
15:36
<JuJuBee>
It seems to just copy files from a self contained archive so I also tried copying them from the server. This works on windows...
15:36
<alkisg>
Might be some missing dependency or something related to modules... but you need feedback from the program to debug it
15:36
Another thing to try is to install it on a running client (i.e. temporarily)
15:37
<JuJuBee>
I need to do this as a sudo user?
15:37
<alkisg>
Yes
15:37
<JuJuBee>
Ok, let me try that
15:37
<alkisg>
Finally, an `strace -e trace=file program` will tell you which files a program tries to access
15:39
<Hyperbyte>
alkisg, that'd be /opt/pt533/bin
15:44
<JuJuBee>
I tried strace but am getting an error about strace: exec: no such file or directory I am using absolute pathing to strace as well as output file and packettracer binary...
15:44
<Hyperbyte>
Did you use absolute path for 'program' ?
15:44Enslaver has joined IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net)
15:44
<Hyperbyte>
Hi Joshua. :)
15:44
<Enslaver>
Hey there Hyperbyte :)
15:45
I've come with good news :)
15:45* Hyperbyte is curious now!
15:45
<Enslaver>
my RHEL6 integration is almost complete using LTSP 5.4.4
15:45
<JuJuBee>
Yes, I did. I am also not able to log into client as a user that has sudo rights..
15:45
<Hyperbyte>
Oh wow. You move fast!
15:45
<JuJuBee>
I have same username on both servers with same uid...
15:46
<Enslaver>
I am building the i386 client first and then i'll be doing the 64 bit
15:46
I dont sleep
15:46
<Hyperbyte>
Heheh, well, that helps.
15:46
<Enslaver>
I am running into one issue that maybe someone could help with
15:47
The client boots up but gets hung up after one of the init scripts, trying to get an idea of an easy way to debug that
15:47
I might have it traced down to a pulse audio issue, thats the last log entries in the remote syslog anyway
15:48
<meamy>
anyone there who is familiar with the ltstp-genmenu script? there is some bash voodoo in it that is not working and i guess it is bug but maybe i just dont understand something
15:48
<Enslaver>
meamy: whats the issue?
15:49
you're referring i guess to it building the menu for localapps?
15:49
<meamy>
I am trying to use the REMOTE_APPS_MENU_ITEMS value but it is not working
15:50
<alkisg>
JuJuBee: the user passwords are not transferred to fat clients, so you need to run `passwd` before you can use sudo on a fat client
15:51alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
15:52
<meamy>
Enslaver the line i dont understand: elif [ -d "/usr/share/applications/${i%-*}" ] && [ -e "/usr/share/applications/${i%-*}/${i##*-}.desktop" ]; then what the hack means "${i%-*}/${i##*-}.desktop"
15:52
<JuJuBee>
alkisg: so I tried to unpack the tar.gz file to install and it took like 4 miutes.
15:53
Usually takes about 20 seconds.
15:53
The installer same thing...
15:54
<Enslaver>
meamy: I actually have the same issue, i have it running under red hat and there isn't a /usr/share/applications
15:54
That is actually LDM related i believe
15:54
Are you looking at a file called like 01-remoteapps in the ldm/scripts.d directory?
15:55
something like that, i don't have my vm booted
15:57
<meamy>
Enslaver yes LDM calls this script (usr/share/ldm/rc.d/X02-genmenu) i working with ubuntu 12.04
15:58
<JuJuBee>
Hyperbyte: when I tried to run passwd it asked for current password and I entered it but tells me it is incorrect.
15:58
<Enslaver>
basically the way i understood that file is it re-writes the .desktop files to use ltsp-open to open the binaries versus the remote system. Then it stores them in a temporary directory and add's them to the xdg mime type associations
16:00
<Hyperbyte>
JuJuBee, you should really ask alkisg this kind of stuff.
16:00
<JuJuBee>
OK, he left
16:01
<Hyperbyte>
Ah
16:01
He'll be back. ;-)
16:01
Oh
16:01
You could probably set the password from:
16:01
!screen_02
16:01
<ltsp>
screen_02: To get a root shell on an Ubuntu thin client: https://help.ubuntu.com/community/UbuntuLTSP/ClientTroubleshooting#Using_a_shell_SCREEN
16:02
<Enslaver>
You can change the root password in the chroot or by manually editing the shadow file in /etc in the chroot
16:02
<meamy>
Enslaver yes this elif shut check if this dektop file is there localy and store that in the Value DESKTOP_FILES but since "${i%-*}/${i##*-}.desktop" does not trigger anything it is not working i guess i have a patch for that but i wonder what this code was for even google dont knows it
16:03
<Enslaver>
JuJuBee: but it sounds like your running into an ssh key issue
16:03
JuJu: Try running ltsp-update-sshkeys
16:04
Meamy: Thats a regex expression, i'm not the best with regex but you can start by grabbing a cheat sheet on it and decyphering
16:05
<Hyperbyte>
Enslaver, nah, JuJuBee can login fine. He's trying to sudo with a user account on a fat client, but since users on fat clients don't have passwords this is problematic.
16:05
<Enslaver>
what does his /etc/sudoers file look like on the client?
16:06
crap afk a sec
16:13
<JuJuBee>
What file was it that I need to edit so /home/user doesn't appear on desktop?
16:26
<meamy>
Enslaver are you sure that this are regex any way i am afk will look on it tomorow again
16:26meamy has left IRC (meamy!~hannes@pd95cdee4.dip0.t-ipconnect.de, Remote host closed the connection)
16:32mikkel has joined IRC (mikkel!~mikkel@80-71-132-15.u.parknet.dk)
16:41dobber has left IRC (dobber!~dobber@213.169.45.222, Remote host closed the connection)
16:41dievel has left IRC (dievel!~dievel@2-229-104-66.ip196.fastwebnet.it, Quit: Leaving)
16:59komunista has joined IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk)
17:20vagrantc has joined IRC (vagrantc!~vagrant@c-98-232-129-196.hsd1.or.comcast.net)
17:20vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
17:32JesseCW has left IRC (JesseCW!~JesseCWor@wsip-98-175-20-126.br.br.cox.net, )
17:32JesseC has joined IRC (JesseC!~JesseCWor@wsip-98-175-20-126.br.br.cox.net)
17:41vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Ping timeout: 252 seconds)
18:04alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
18:32monteslu_ has joined IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net)
18:35monteslu__ has left IRC (monteslu__!~monteslu@ip68-109-174-213.ph.ph.cox.net, Read error: Operation timed out)
18:48
<JuJuBee>
alkisg: can you help me get this app working? I am stuck.... (PacketTracer)
18:49
I tried using strace but got an error telling me strace: exec: no such file or directory when I entered "/usr/bin/strace -o ptout.txt /opt/pt533/bin/PacketTracer5"
18:52ball has joined IRC (ball!~ball@client-208-124-120-99.consolidated.net)
18:52
<alkisg>
JuJuBee: that's really not ltsp related...
18:53
ltsp-pnp might suit you better if you're having problems installing apps to a chroot
19:00
<JuJuBee>
alkisg: I don't think it is a probelm installing the app. In the past I have simply copied the entire folder to another computer and it works fine. The app is self contained.
19:01
In theory, I should be able to copy /opt/pt533 from the server to chroot (/opt/ltsp/amd64/opt/pt533) and it should run fine.
19:01
<alkisg>
JuJuBee: one reason could be that the app dependencies are not satisfied in your chroot, while they are in the "other computer" you tried
19:01
It's still not related to ltsp...
19:02
In that case, cisco should be contacted to add the dependencies to its package's "Depends" line
19:08
<otwieracz>
What is the proper manner for unmounting ltspfs (LOCALDEV)?
19:09
<alkisg>
Pull the usb stick
19:09
(after waiting 2 secs)
19:13
<otwieracz>
ltspfs on /tmp/.otwieracz-ltspfs/usbdisk-sdb1 type fuse.ltspfs (rw,nosuid,nodev,user=otwieracz)
19:13
pulled off.
19:14
still mounted.
19:16ball has left IRC (ball!~ball@client-208-124-120-99.consolidated.net, Quit: leaving)
19:20
<Hyperbyte>
JuJuBee, I still say it has to do with the app not being able to write in /opt/pt533/
19:25F-GTSC has joined IRC (F-GTSC!~phantom@ppp121-44-19-105.lns20.syd6.internode.on.net)
19:27FGXR6 has left IRC (FGXR6!~phantom@ppp121-44-136-46.lns20.syd7.internode.on.net, Ping timeout: 245 seconds)
19:28Parker955_Away is now known as Parker955
19:36
<JuJuBee>
Hyperbyte: I think I have it... checking now.
19:37
I think I need the ia32-libs, but... ia32-libs : Depends: ia32-libs-multiarch but it is not installable
19:37FGXR6 has joined IRC (FGXR6!~phantom@ppp121-44-121-227.lns20.syd6.internode.on.net)
19:37F-GTSC has left IRC (F-GTSC!~phantom@ppp121-44-19-105.lns20.syd6.internode.on.net, Ping timeout: 255 seconds)
19:37
<JuJuBee>
I just installed them on another workstation, why can't in install into chroot?
19:40
<otwieracz>
How can change mount options?
19:40
pg: lock not made: link() failed: No such file or directory
19:40
gpg: can't lock `/tmp/.otwieracz-ltspfs/usbdisk-sdb1/.gnupg/pubring.gpg'
19:40
(probably „nolock”)
19:40
<JuJuBee>
alkisg: I believe you were correct about dependencies. I did a diff of what was installe don both and see ia32-libs on server but not in chroot. How can I install into chroot? Getting error ^^
19:41
<alkisg>
JuJuBee: install a template client, then install ltsp-client in it, and finally copy all of its disk to /opt/ltsp/i386
19:41
That should take less than 1 hour...
19:42
...and it will save you all those troubleshooting hours
19:42
template client == a normal one, starting with the ubuntu desktop live cd
19:42
<JuJuBee>
I have a clean 64 bit ubbuntu install willl that work?
19:42
<alkisg>
Sure, if your clients are 64 bit
19:43
<JuJuBee>
So now install ltsp-client onto it?
19:43
<alkisg>
From software center
19:44
<JuJuBee>
in the end, what is this going to do for me? Will my clients be 32bit or 64bit?
19:44
<alkisg>
Your clients will use your chroot arch
19:44
If that's 64 bit, then your clients will get 64 bit too
19:45
<JuJuBee>
I already have /opt/ltsp/amd64 on my server, so should I copy the client / to that instead?
19:46
<alkisg>
sudo mv /opt/ltsp/amd64 /opt/ltsp/amd64.old
19:46
sudo mkdir /opt/ltsp/amd64
19:46
And copy it there
19:46ball has joined IRC (ball!~ball@client-208-124-120-99.consolidated.net)
19:47
<JuJuBee>
OK. And just use scp or something like that to copy from CLI?
19:48
<Hyperbyte>
rsync -a :-)
19:49
<JuJuBee>
right, permissions etc...
19:49
What does the ltsp-client do?
19:50
<Hyperbyte>
LTSP has a server and a client component. Respectively, ltsp-server and ltsp-client packages.
19:50F-GTSC has joined IRC (F-GTSC!~phantom@ppp121-45-179-238.lns20.syd7.internode.on.net)
19:51
<JuJuBee>
should i "Disconnect all NDV devices on stop?" (im installing ltsp-client now)
19:51
*NBD
19:52
<alkisg>
Doesn't matter whatever you select there
19:53FGXR6 has left IRC (FGXR6!~phantom@ppp121-44-121-227.lns20.syd6.internode.on.net, Ping timeout: 256 seconds)
19:54
<JuJuBee>
OK, thanks. I still have to install all software I need, only had a base install with PacketTracer runnning...
20:01
alkisg: when this is finished, I assume I need to ltsp-update-image?
20:07
<Hyperbyte>
JuJuBee, you need to run ltsp-update-image after -any- change you make in /opt/ltsp/amd64
20:18alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
20:32ball has left IRC (ball!~ball@client-208-124-120-99.consolidated.net, Quit: Cake)
20:36
<JuJuBee>
so rsync seems to be taking a while. seems stuck on /proc/kcore examining /proc/kcore using ls -alh says kcore is 128T ?
20:36
strange, hd is only 500G
20:37
<Hyperbyte>
ehm
20:37
Never copy running systems.
20:38
<JuJuBee>
oops...
20:38
I should reboot from live cd then?
20:38
<Hyperbyte>
Things like /dev/urandom are like infinite size. :)000
20:41vagrantc has joined IRC (vagrantc!~vagrant@c-98-232-129-196.hsd1.or.comcast.net)
20:41vagrantc has joined IRC (vagrantc!~vagrant@freegeek/vagrantc)
20:47andygraybeal_ has left IRC (andygraybeal_!~andy@h191.205.130.174.dynamic.ip.windstream.net, Quit: Ex-Chat)
20:52
<JuJuBee>
rsync always messes me up. should I rsync from the client booted with usb to the server? or vice-versa?
20:53
That makes all the files owned by the user on the destination side...
20:54
even though I used rsync -azvv
21:05
<Enslaver>
ok I'm back
21:05
now to figure out why this thin client won't boot :(
21:08
http://snag.gy/i0ZO2.jpg
21:09
I keep getting those errors, its like its not running init-ltsp correctly or something else strange is happening, can't seem to trace it down
21:12
I mean all that stuff happens just after S99local and starts calling rc.sysinit, so what does LTSP do that this os doesn't like :/
21:14
$1 donation to jerry's kids for the correct solution
21:14
<JuJuBee>
How do I copy the client HD to server /opt/ltsp/amd64 ? rsync set the destination owner as the user I used to rsync to... Shouldn't it be root?
21:15vmlintu has left IRC (vmlintu!~vmlintu@nblzone-240-143.nblnetworks.fi, Quit: Lähdössä)
21:15
<Enslaver>
dd and nc?
21:16mikkel has left IRC (mikkel!~mikkel@80-71-132-15.u.parknet.dk, Quit: Leaving)
21:25
<vagrantc>
Enslaver: are you passing init=/sbin/init-ltsp ?
21:25
Enslaver: and does your initramfs respect init= ?
21:26
<JuJuBee>
rsync -azvv --numeric-ids doesn't seem to preserve the uid/gid on files. local owner id = 0 but when rsync to remote ownerid=1000 (the id of the user in rsync command)
21:27
<Enslaver>
vagrantc: I'm passing it but it appears to be ignoring it, I thought init-ltsp was called through something else, like a ltsp-client-launch?
21:28
<jammcq>
JuJuBee: I think you have to run rsync as root if you want to preserve uid/gid
21:28
I don't think a normal user can change ownership of a file to someone else
21:28
<vagrantc>
Enslaver: well, the move to init-ltsp was to essentially hook in as the init process, so in theory it could even be done without an initramfs
21:29
<Enslaver>
so launch it through initscripts?
21:29
<jammcq>
Enslaver: init-ltsp runs before the init scripts
21:29
<vagrantc>
Enslaver: no, it should be launched as PID 1
21:29
<Enslaver>
ah ok
21:29
that makes more sense
21:29
<vagrantc>
Enslaver: either from the initramfs, or from the kernel itself.
21:30
<Enslaver>
This is using dracut to generate the initrd
21:30
<jammcq>
Enslaver: one of the things init-ltsp does is fetch the lts.conf file from the server and fill in any missing config items
21:30
<vagrantc>
init= has been supported by the linux kernel for quite some time
21:30
<Enslaver>
pwd
21:30
<jammcq>
try init=/bin/bash for some real fun :)
21:30
<vagrantc>
right
21:31
<Enslaver>
or init=/sbin/halt?
21:31
<vagrantc>
heh
21:31
<JuJuBee>
jammcq: I am booted from live usb stick... isn't the user "ubuntu" root?
21:31
<Enslaver>
flash
21:31
<jammcq>
JuJuBee: dunno
21:31
<vagrantc>
JuJuBee: you'd probably need to use "sudo" to get root access.
21:32
<jammcq>
JuJuBee: type: id
21:32
see what uid you have
21:32
if it's not 0, it's not root
21:33
<Enslaver>
thats what she said
21:34
<vagrantc>
i should try out dracut on debian, since that's the likely future i'll have to deal with...
21:35
<JuJuBee>
jammcq: I tried that and sudo su does make me root, but "rsync -azvv --numeric-ids / remoteuser@remote.ip.address:/path/to/destination" still makes files owned by remoteuser not root (uid=0). without -azvv it skips everything...
21:35
<Enslaver>
'get' to deal with, think positive :)
21:35
its actually not that bad
21:36
<vagrantc>
Enslaver: it seems to allegedly support init= in the dracut manpage...
21:36
<Enslaver>
via /proc/cmdline?
21:36
or appending?
21:37
::q!
21:37
<vagrantc>
Enslaver: i presume it processes /proc/cmdline, but don't know how exactly it gets arguments.
21:38
it should get them from the bootloader
21:39
i honestly have never really had to troubleshoot something so simple as ignoring boot prompt options... it's always just worked for me for the last 15 years...
21:39
<Enslaver>
what ltsp script generates the mkinitramfs? ltsp-update-kernels?
21:39
<vagrantc>
Enslaver: there's no ltsp-specific script that generates it
21:39
Enslaver: it should be handled by the distribution...
21:39
<Enslaver>
i saw the k12linux people wrote their own
21:40
<knipwim>
Enslaver: on Gentoo I have no trouble generating and booting from a dracut initramfs
21:40* vagrantc shakes head
21:41JuJuBee has left IRC (JuJuBee!~mike_knic@24-148-112-102.ip.mhcable.com)
21:41
<Enslaver>
vagrantc: maybe ubuntu has a gui for it.
21:41* Enslaver laughs.
21:41
<vagrantc>
uh, it's just handled where it belongs, but the initramfs generation package and hooked into the package management system.
21:42
same in debian.
21:42
there shouldn't be anything specific to LTSP...
21:43
both initramfs-tools and dracut have hooks we can drop our customizations into, but it seems silly to have to generate that by hand.
21:45
my goal is to change as little as possible in Debian in order to make it work as an LTSP environment... if there are things needed for Debian's LTSP, and they're generic, i get it fixed in the appropriate place, not hack around it in LTSP-specific hacks.
21:48komunista has left IRC (komunista!~slavko@adsl-195-168-244-224.dynamic.nextra.sk, Quit: Leaving.)
21:49
<Enslaver>
vDEFAULT linux
21:49
LABEL linux
21:49
SAY Booting Enterprise Linux
21:49
KERNEL vmlinuz.ltsp
21:49
APPEND rw initrd=initrd.ltsp init=/sbin/init-ltsp selinux=0 root=dhcp rhgb video=LVDS-1:d rdshell
21:49
:q
21:57Mip5 has joined IRC (Mip5!~chatzilla@208.72.71.69)
22:00
<Mip5>
Hi Folks - ltsp on ubuntu 12.04.1. I need to run firefox for windows on the clients in order to conduct online testing (nwea.org). I tried faking it with a user agent, but couldn't get past test site's compatibility test. It does work when using firefox in wine. What would be the most efficient way for me to make this happen on 35 accounts? TIA
22:00
<Enslaver>
I think the problem is the actual init-ltsp script
22:01
<vagrantc>
Enslaver: it certainly could be ...
22:02
<Enslaver>
:q
22:02
<vagrantc>
Enslaver: i'd put a "set -x" somewhere near the top of it to see if it's running at all...
22:03
<knipwim>
also, you can set break points in the init-ltsp process
22:03
<vagrantc>
presuming it's running at all...
22:03
<Enslaver>
I did notice the debug stuff
22:04
How do i trigger that?
22:04
<knipwim>
for instance: ltsp.break=04-server
22:04
"Breaks LTSP init execution before the specified script in /usr/share/ltsp/init-ltsp.d. It opens a shell and when exiting, it continues with the boot process."
22:05
<Enslaver>
So i can basically step through it like a debuggeR?
22:06
<knipwim>
for one script at a time i think
22:06
<Enslaver>
trying that now, ty
22:17bobby_C has left IRC (bobby_C!~bobby@85-124-22-227.teleworker.xdsl-line.inode.at, Ping timeout: 246 seconds)
22:49dead_inside has left IRC (dead_inside!~dead_insi@76.75.3.174, Quit: Computer has gone to sleep.)
22:51staffencasa has left IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu, Read error: Connection reset by peer)
23:35staffencasa has joined IRC (staffencasa!~staffenca@8-220.ptpg.oregonstate.edu)
23:39shogunx has left IRC (shogunx!~shogunx@rrcs-67-79-182-232.se.biz.rr.com, Ping timeout: 264 seconds)
23:40vagrantc has left IRC (vagrantc!~vagrant@freegeek/vagrantc, Quit: leaving)
23:44shogunx has joined IRC (shogunx!~shogunx@rrcs-67-79-182-232.se.biz.rr.com)
23:45Enslaver has left IRC (Enslaver!~Enslaver@adsl-70-241-84-25.dsl.hstntx.swbell.net, Quit: Leaving)
23:48Phantomas has left IRC (Phantomas!~Phantomas@ubuntu/member/phantomas)
23:55yalu has left IRC (yalu!~yalu@109.134.166.36, Read error: Connection reset by peer)