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


Channel log from 28 February 2008   (all times are UTC)

00:06MeBadMagic has joined #ltsp
00:17BadMagic has quit IRC
00:39indradg has quit IRC
01:37cyberorg_ has joined #ltsp
01:38cyberorg has quit IRC
01:38cyberorg_ is now known as cyberorg
01:49moquist has quit IRC
02:08mistik1 has quit IRC
02:08mcfloppy has quit IRC
02:08ccherrett has quit IRC
02:08dubinsky has quit IRC
02:08warren has quit IRC
02:08stgraber has quit IRC
02:08shogunx has quit IRC
02:08gonzaloaf_test has quit IRC
02:08psycodad_ has quit IRC
02:08vlt has quit IRC
02:08jhp has quit IRC
02:08tarzeau has quit IRC
02:08Topslakr has quit IRC
02:08jbrett has quit IRC
02:08mistik1 has joined #ltsp
02:08tarzeau has joined #ltsp
02:08mcfloppy has joined #ltsp
02:08ccherrett has joined #ltsp
02:08Topslakr has joined #ltsp
02:08dubinsky has joined #ltsp
02:08jbrett has joined #ltsp
02:08warren has joined #ltsp
02:08stgraber has joined #ltsp
02:08shogunx has joined #ltsp
02:08jhp has joined #ltsp
02:08psycodad_ has joined #ltsp
02:08vlt has joined #ltsp
02:08gonzaloaf_test has joined #ltsp
02:16cyberorg_ has joined #ltsp
02:24cyberorg has quit IRC
02:24cyberorg_ is now known as cyberorg
02:24Jester45 has quit IRC
02:29Jester45 has joined #ltsp
02:30basanta has quit IRC
02:42indradg has joined #ltsp
02:46Pascal_1 has joined #ltsp
02:46
<Pascal_1>
hello
02:48
<tarzeau>
hello. HELP!
02:48
my screen is rotated but LTSP displays it not rotated
02:48
and i need to add some other extra lines into the xorg.conf, how/where? HELP!
02:48
<Pascal_1>
i come back with the same problems than yesterday
02:48
my ltsp server working fine with local user, now i try to use ldap user, and i've got some problem :
02:48
when i try to connect with an ldap user the login windows come back every time, in auth.log nothing seems to be bad
02:48
what could be the problem ?
02:49
<tarzeau>
Pascal_1: not than, like
02:49
<Pascal_1>
???
02:49
<tarzeau>
09:48 < Pascal_1> i come back with the same problems than yesterday
02:49
<Pascal_1>
yes ?
02:54
anybody for my problem?
03:09
what is the way to make ldap authentication working ?
03:09
i can connect to the ltsp server via ssh with ldap user but not from thin client ?
03:10
<johnny>
there's a howto for that somewhere
03:11
<Pascal_1>
i cant find one which works for me
03:12
i'm lost
03:14
the problem is that my ldap authentication works when i try to connect via ssh with ldap user on the ltsp server, but on a thin client (graphical interface) it doesnt works. nothing in auth.log
03:15
<johnny>
maybe it doesn't know how to connect to ldap from inside the client?
03:19
<Pascal_1>
you mean in the chroot ?
03:19
i thought i dont have to modify the chroot
03:33
<johnny>
i don't know
03:37Patina has quit IRC
03:37Patina has joined #ltsp
03:46
<johnny>
warren, http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2007q3/001623.html
03:51bobby_C has joined #ltsp
04:01
<johnny>
imo that's the only blocker from suggesting the usage of dnsmasq
04:02Pascal_1 has left #ltsp
04:32ogra_cmpc has quit IRC
04:44ogra_cmpc has joined #ltsp
05:11mikkel has joined #ltsp
05:13ogra_cmpc has quit IRC
05:14Pascal_1 has joined #ltsp
05:21ogra_cmpc has joined #ltsp
05:25toscalix has joined #ltsp
05:29ogra_cmpc has quit IRC
05:32cdealer has joined #ltsp
05:33
<cdealer>
hi ... where I found gnome logs for the clients ?
05:35ogra_cmpc has joined #ltsp
05:44
<cdealer>
hi ... where I found gnome logs for the clients ?
05:44
<johnny>
people need to learn some irc ettiquette
05:45
please dont' ask the same question just cuz somebody else joined
05:45
at least not right away
05:45
gnome logs? which gnome logs?
05:50
<cdealer>
johnny, im getting an AIF error on gnome start... I have the option to Delete or not delete, doesnt seen to be a critical error but I want to know what happened
05:53
<johnny>
what's an AIF.
05:53
check ~/.xession-errors
05:53
or ~./gnome-errors (if it exists)
05:53
<cdealer>
ok
05:53
thanks
05:54
<laga>
ogra_cmpc, ogra: i've added a new patch to bug #195943. would be cool if you could commit that to bzr. is there any ETA on a new LTSP upload?
05:54
<ogra_cmpc>
as i said yesyertday already there isnt yet :)
05:54
there will be one before next alpha though
05:55
<laga>
ogra_cmpc: oops, i must have missed that. i'll just tell people to put the updated plugin into /etc. yay for modular architecture
05:56
<ogra_cmpc>
yeah
05:56
that was the purpose
05:56
good to see someone uses it
05:56
<laga>
:)
05:59
it's starting to work really well. i had to add odd little hacks to make network-manager ignore network devices and other things but i'm finally seeing the light
06:00
<cdealer>
johnny, this is the error, is inside xsession-errors: WARNING **: panel-applet-frame.c:1278: failed to load applet OAFIID:Deskbar_Applet:
06:12toscalix has quit IRC
06:20Guaraldo has joined #ltsp
06:24ogra_cmpc has quit IRC
06:24oh207 has quit IRC
06:24sepski has joined #ltsp
06:27oh207 has joined #ltsp
06:30kwak has joined #ltsp
06:31
<kwak>
is there are linux software just works just like adobe audition?
06:31
is there any linux software that works just like adobe audition?
06:34cyberorg has quit IRC
06:38cdealer has quit IRC
06:38Faithful has joined #ltsp
06:40ogra_cmpc has joined #ltsp
06:43cyberorg has joined #ltsp
06:46Dominik has joined #ltsp
06:46
<Dominik>
Hey, hallo allerseits
06:47
ogra_cmpc auch da? :)
06:48
War gestern schon hier, wegen Boot-Problem eines Thinclienst aufgrund TFTP timeout...
06:48
06:48
<laga>
und was ist das problem?
06:49
<Dominik>
also der Client bootet nur wenn ein LTSP-server auch gleichzeitig DHCP macht, wenn der DHCP ausgelagert ist, bootet der client nicht
06:51
06:51
06:52
<laga>
hm, womöglich ein merkwürdiger PXE-stack?
06:52
die anderen clients tun?
06:52
<Dominik>
andere clients tuns
06:53
06:53
PXE Version 2.0 (build 071)
06:54
06:54
<laga>
hast du mal etherboot getestet?
06:55
<Dominik>
ich teste mal
06:56
06:57
haben den "Intel Boot Agent Version 2.6"
06:58
<laga>
Dominik: etherboot ist ein stück software, das quasi einen PXE-stack bereitstellt. kann man auf diskette oder cd-rom tun (oder tausend andere möglichkeiten ;))
06:58
Dominik: www.rom-o-matic.net oder so
06:58
<Dominik>
06:58
problematik: thinclients ohne cd-rom und floppy
06:59
06:59
aber wollen ja auch nicht in 30 clients, ne cd einlegen..... ^^
07:00
07:01
<laga>
Dominik: es geht ja nur um einen test
07:01
es war ja so, dass der client eine adresse kriegt, aber dann per pxe nicht pxelinux lädt, oder?
07:01Jester45 has left #ltsp
07:02mhterres has joined #ltsp
07:04
<Dominik>
genau
07:04
TFTP.......
07:04
PXE-E32: TFTP open tiemout
07:04
<laga>
da das, soweit ich weiß, teil des PXE-stacks ist, wäre es hilfreich, den mal zu tauschen, z.b. mit etherboot.
07:04
<Dominik>
07:05
mit der gleichen config
07:06
ja, etherboot ohne laufwerk, floppy und usb ist glaube ich recht schwierig? irgend eine idee?
07:07
07:07
<laga>
haben die keine IDE-slots?
07:08
Dominik: wg firmware-upgrade: wenn HP sowas anbietet, werden die auch ne möglichkeit haben das zu machen, oder?
07:08
<Dominik>
ja, die haben IDE-Slots.
07:09
07:09
naja, ich mach mich mal an den ausbau
07:09
und einbau
07:10
<laga>
viel glück. ist aber nur ein schuß inds blaue, ob's was bringt weiß ich nicht :)
07:13cdealer has joined #ltsp
07:14
<Dominik>
07:14
<cdealer>
Im with a problem here... our server have 28 users and ~50mb free from its 16GB ... when I was rebooting the server everyday this didnt happen ... now that it stay up each day we have less free memory and the system is very slow ... any idea of whats happen ??
07:18jammcq has quit IRC
07:31K_O-Gnom has joined #ltsp
07:41yyeago has joined #ltsp
07:42slidesinger has joined #ltsp
07:44ogra has quit IRC
07:44vagrantc has joined #ltsp
07:45slidesinger has quit IRC
07:45slidesinger has joined #ltsp
07:47cliebow has joined #ltsp
07:47sepski has quit IRC
07:51ogra has joined #ltsp
07:52
<cliebow>
!seen ogra
07:52
<ltspbot>
cliebow: ogra was last seen in #ltsp 1 day, 3 hours, 57 minutes, and 58 seconds ago: <ogra> warren, still awake ? i'd try: telnet localhost 9571 and see what happens
07:54nicoAMG has joined #ltsp
08:13Dominik has quit IRC
08:19cdealer has quit IRC
08:20
<vagrantc>
warren: i don't think the /usr/lib/ltsp as a symlink will likely work
08:20
warren: especially because someday we may actually need to put things in /usr/lib/ltsp
08:28
<daduke>
vagrantc: hola!
08:28
<vagrantc>
daduke: buenos dias
08:29
<daduke>
vagrantc: this fuse group thingy is a never ending story... our hack from yesterday does work, but for VirtualBox I need another group membership and now I'm back to the drawing board...
08:30
<vagrantc>
daduke: what do you mean you need another group membership for virtualbox?
08:30jammcq has joined #ltsp
08:30
<daduke>
vagrantc: VirtualBox wants $USER to be in vboxusers group.
08:31
<vagrantc>
daduke: and you're using virtualbox for ... ?
08:31
<daduke>
vagrantc: for errrr like virtualization?
08:32
<vagrantc>
daduke: each user needs their own virtual machine?
08:33
daduke: you're setting up an LTSP server where all users need to be able to run virtualbox ... ??
08:33
daduke: i don't understand.
08:33
<daduke>
vagrantc: no they don't but some users want to be able to test some OS or other..
08:33
vagrantc: it's by no means the killer app, but we'd like to provide the service.
08:34
<vagrantc>
daduke: so sounds like you still desire the ability to add users to groups at login ... any help from the debian-edu folks on that?
08:35
daduke: this is an LDAP auth setup, and there's no way to control group access in LDAP ?
08:37
<daduke>
vagrantc: been there, yup. with ogra I figured out that we can use LDM_SESSION = /usr/local/bin/fixgroups; /etc/X11/Xsession to trick it into executing fixgroups to fix the groups, as in the /opt/ltsp/i386/usr/[share|lib]/ldm/rc.d/ scripts $USER is not yet known
08:37
vagrantc: for various reasons we'd like to keep the fuse and vboxusers groups out of LDAP, yes
08:37
<vagrantc>
daduke: what's fixgroups do?
08:38
nice trick, though.
08:38
i think i implemented LDM_SESSION :)
08:39
<daduke>
vagrantc: anyhoo, in fixgroups I call a setuid'd C wrapper around adduser and bingo, $USER is in fuse and vboxusers. But now - where/when to call newgrp??
08:39
vagrantc: why thank you!
08:39* vagrantc turned many a hard-coded value into a configurable variable
08:39
<vagrantc>
daduke: newgrp ?
08:39tux_440volt has joined #ltsp
08:40* vagrantc reads the man page
08:40
<daduke>
vagrantc: ahh while we're at it, offtopic but perhaps useful to others: I enhanced /usr/lib/ltsp/configure-x.sh with X_ROTATE_SCREEN to allow portrait screens...
08:40
<vagrantc>
daduke: maybe call newgrp somewhere early in /etc/X11/Xsession.d ?
08:40
<daduke>
vagrantc: needed to flush group memberships, but it executes in a subshell #@!&*
08:41
<vagrantc>
or call it the same way you call fixgroups ?
08:41
<daduke>
vagrantc: this might be an idea, yeah! problem is the subshell tho.
08:43* vagrantc doesn't know what problems are caused by the subshell
08:43
<vagrantc>
if the problem is the subshell, what are the symptoms? :)
08:46
<daduke>
vagrantc: newgrp executes in a subshell and refreshed group memberships for this subshell and its descendants. But we'd need it higher up in the same shell level *howtoexplainthisbetter*?
08:47
daduke: just tried in /etc/X11//Xsession.d/01newgrp, doesn't help either
08:47mccann has joined #ltsp
08:51
<vagrantc>
daduke: got it
08:52Q-FUNK has joined #ltsp
08:52
<vagrantc>
daduke: so, write a wrapper script that calls newgrp, fixedgroups and then /etc/X11/Xsession
08:53
<warren>
vagrantc, your checkin to ldm was broken =)
08:53
<vagrantc>
warren: only slightly
08:54
<Q-FUNK>
howdy!
08:59
<daduke>
vagrantc: I tried. All sorts of sources and execs n stuff - no way. I'd have to run everything in the process tree of this newgrp subshell somehow - yuck
09:00
vagrantc: and fixgroups has to come first of course (contains the useradd)
09:00Gadi has joined #ltsp
09:01
<warren>
Q-FUNK, x86emu fixes already in F-9, i'm trying to add them to F-8
09:01
Q-FUNK, I look forward to the widescreen patches
09:01
<vagrantc>
daduke: so a script that does fixgroups ; exec newgrp /etc/X11/Xsession.d ... ?
09:02
<daduke>
vagrantc: stand by...
09:02
<vagrantc>
don't really understand how to use newgrp ...
09:04MeBadMagic is now known as BadMagic
09:05
<daduke>
vagrantc: nope. fuse group not active in Xsession
09:07* daduke wonders whether he's the only Unix user in the universe who need to update group memberships w/o loggin out....
09:07
<vagrantc>
daduke: have you asked debian-edu about this? they do this sort of thing.
09:08
<daduke>
vagrantc: well I discussed things with ogra yesterday, but this was before I encountered the subshell issue.
09:08
vagrantc: <h01ger> too
09:09
<vagrantc>
ok, just making sure you're checking in with resources that i know actually do this stuff.
09:10
<daduke>
vagrantc: sure. the skolelinux guys seem to have all user/group info in ldap, hence they don't have this problem
09:10
vagrantc: but I might ask again as soon as ppl are back
09:12* Gadi waves
09:12* daduke waves back
09:12
<Gadi>
hey, folks - jetpipe has no serial printer support atm, right?
09:14
<vagrantc>
definitely not the python version. not sure, but doubtful, on the C version
09:14yyeago has quit IRC
09:17
<Q-FUNK>
warren: lovely!
09:18
warren: sorry for not getting around replying any sooner. I was away on a business trip.
09:18
!g
09:18
<ltspbot>
Q-FUNK: "g" is Gadi!!!!!!!!!!!!!!!!!!!!!!!!
09:19
<rjune>
Gadi !
09:19
http://cdn.theladders.net/static/images/TheLadders/comic/comic_2_28_08_polarized.gif
09:25* Gadi waves again
09:29
<warren>
Gadi, you're like a rock star here.
09:33
<Gadi>
heh
09:33
this is my third shirt of the morning
09:33
and who were those girls in my bed?
09:34
<warren>
Gadi, didn't ancient jews have multiple wives?
09:34
<Gadi>
you and rjune!
09:35
you ask the funniest qu's
09:35
:D
09:35
<warren>
Gadi, hey you made that crack about "taco music"
09:35* warren is still laughing after all this time.
09:35* Gadi nods
09:41
<Q-FUNK>
:D
09:42
<rjune>
Gadi: that's 'cause you jew it up old school yo
09:42
joking aside. I usually ask serious questions about Judaism.
09:53cyberorg has quit IRC
09:58gentgeen__ has joined #ltsp
10:04
<Gadi>
then, be careful who you ask - me loathes putting loking aside :)
10:04
meanwhile, I now have ptp camera support on my thin client :D
10:05
udev makes my head itch sometimes
10:08
<cliebow>
i can believe that
10:09
<Gadi>
I mean really, is an underscore *that* different than a hyphen? ;)
10:13toscalix has joined #ltsp
10:17elisboa has quit IRC
10:17elisboa has joined #ltsp
10:24Pascal_1 has quit IRC
10:31staffencasa has joined #ltsp
10:33spectra has joined #ltsp
10:34Q-FUNK has quit IRC
10:36
<warren>
Gadi, I'm sorry, that earlier comment was a poor attempt of a joke that might have been offensive.
10:39
<Gadi>
heh
10:39
warren - you cant offend me
10:39
well, at least not that easily
10:39
:)
10:39
<rjune>
it would take effort.
10:40
I think you're the type that would require offending with both style *and* substance
10:40
<Gadi>
seriously
10:40cyberorg has joined #ltsp
10:41
<vagrantc>
Gadi: PTP support for usb cameras ? ... is it just a udev rule?
10:41
<Gadi>
well, udev+gphotofs
10:41
<vagrantc>
yay!
10:41
<Gadi>
+ a lil scripting
10:41
+ a lil ltspfs_mount/umouont mod
10:41
<vagrantc>
i'd been meaning to do that for over a year now ...
10:41
<Gadi>
heh
10:41
<warren>
os.mknod("null",0666 | stat.S_IFCHR,os.makedev(1,3))
10:42
<vagrantc>
Gadi: where's the goods?
10:42
<warren>
(python attempt of using mknod)
10:42
<Gadi>
I'll share once I get my house in order a bit
10:42
u know how clean a coder I am
10:42
<warren>
For some reason this line creates a char node of permissions 0644
10:42
<Gadi>
:)
10:42
oh, and I think I may have found a bug in lbmount
10:42
but I cheated and just worked around it
10:42
<vagrantc>
imagine that
10:42
<Gadi>
in an ugly way
10:42
so, I'll have to discuss that at some point
10:42
<vagrantc>
Gadi: lbmount from which version?
10:43
<Gadi>
gutsy
10:43
Im doing everything on gutsy
10:43
<vagrantc>
i did significant rewrites ... don't think it's in gutsy
10:44K_O-Gnom has quit IRC
10:44
<vagrantc>
yeah, definitely not in gutsy
10:45
Gadi: if you can, check if this bug is present in hardy, too.
10:45
<Gadi>
nice
10:45
ok
10:45
well, that will be a while
10:45
<vagrantc>
or debian unstable :)
10:45
<Gadi>
Ive got some hard deadlines in the next few months
10:45
and nothing involves hardy-porting :)
10:46
the bug was one in which the /media mount did not unmount cleanly
10:46
leaving the directory unstat-able
10:46
<vagrantc>
very likely that that's changed
10:47
the code that handles the /media mounting is pretty different
10:47indradg_ has joined #ltsp
10:47
<vagrantc>
not saying it can't still be there
10:47DonSilver has joined #ltsp
10:47
<Gadi>
well, for upstream - it is a server issue anyway
10:48
for my purposes, it affected the client
10:48
so, I wont need to add that code for upstream
10:55kwak has quit IRC
11:05indradg has quit IRC
11:09milesd has joined #ltsp
11:14andarilho has joined #ltsp
11:14Egyptian[Home] has quit IRC
11:16
<andarilho>
hello
11:16Egyptian[Home] has joined #ltsp
11:19Guaraldo has quit IRC
11:22Guaraldo has joined #ltsp
11:26
<andarilho>
vagrantc: my problem continue
11:27
<vagrantc>
andarilho: could you describe your problem? i help many people and can't remeber all of them
11:28
<andarilho>
Sound=false
11:28
In the var/lib/.....
11:28
Disable sound
11:28
In the thin clients
11:28
<vagrantc>
andarilho: try this ...
11:29
andarilho: set SCREEN_07=shell in lts.conf
11:29ogra_cmpc has quit IRC
11:29
<andarilho>
lts.conf in /var or /opt
11:29
<vagrantc>
andarilho: boot a client ... this should prevent the graphical login from showing up ... and then we can check what the SOUND variables are set to...
11:29
andarilho: /var/lib/tftpboot/ltsp/i386/lts.conf
11:30
<andarilho>
allright
11:31Q-FUNK has joined #ltsp
11:32
<andarilho>
vagrantc, one question, in the /var/..../lts.conf is need digite all configuration of the thin clients?
11:33
Or, only [Default] and o Sound=false
11:33
<vagrantc>
andarilho: you need two lines:
11:33
[Default]
11:33
SOUND=false
11:33
andarilho: add one more
11:33
SCREEN_07=shell
11:34
<andarilho>
ok
11:40oh207 has quit IRC
11:40makghosh has joined #ltsp
11:50Q-FUNK has quit IRC
11:54Q-FUNK has joined #ltsp
11:55
<andarilho>
vagrantc: the thin client continue with resource graphical
11:55
<vagrantc>
andarilho: it's not reading your configuration file
11:56
<andarilho>
yes, i think too
11:56DonSilver has quit IRC
11:57
<vagrantc>
ogra: what would cause it to not read the /var/lib/tftpboot/ltsp/i386/lts.conf ?
11:59
<laga>
maybe the clients are booting amd64? though that's unlikely...
12:01K_O-Gnom has joined #ltsp
12:01
<laga>
i wonder if anyone here is doing wireless. it's not too hard if you can load kernel + initramfs from hard disk/another block device
12:02
<Q-FUNK>
laga: we are.
12:03ogra_cmpc has joined #ltsp
12:03
<laga>
cool. are you using a special initramfs script?
12:04
<Q-FUNK>
no, just copying the modules and firmware to initramfs with a small initrramfs-tools hook script.
12:04
<warren>
you can't do network boot from wireless right?
12:04
<ogra_cmpc>
nope
12:04
<warren>
you would need a small flash disk with kernel, initrd and firmware
12:04
<laga>
warren: i've got a prism2 card for which the etherboot guys have a PXE stack.
12:04
<warren>
mm
12:05
but then your wireless network must not be encrypted?
12:05
<Q-FUNK>
warren: we have one
12:05
<laga>
i once had it load a kernel over PXE, it worked.
12:05
warren: yes, must be unencrypted
12:05
Q-FUNK: well, but you have to log into the network?
12:05
eg tell the NIC to connect
12:05
<Q-FUNK>
open network is easy. it finds the first one and connects.
12:06
but WAP is trickier. an awful lot more stuff to copy to initrd and store to flash.
12:06
öö.. WPA
12:06
<laga>
hum
12:06
<ogra_cmpc>
encryption should be trivial with initramfs
12:07
<laga>
you need wpasupplicat and ta config file
12:07
<ogra_cmpc>
just add the key as bootparam
12:07
(indeed its discussable how secure that is *g*)
12:07
<Q-FUNK>
ogra_cmpc: I like our thin can for that: the NAND flash is big enough to store a lot.
12:08
yup
12:08
as is storing any key anywhere but the AES engine's eeprom
12:09
<warren>
here's a fun one
12:09
one of our uses cases has a 70MB initrd file
12:09
that's OK, because this is typically used on a box with 4GB+ RAM =)
12:09
Entire OS in initrd
12:09
gross, I know.
12:10
<Q-FUNK>
you didn't make me say it :)
12:10
<ogra_cmpc>
warren, well, tcos works this way
12:10
<warren>
tcos?
12:11
<ogra_cmpc>
the tcos dev tried hard to convince us to switch ltsp to the same scheme
12:12
<vagrantc>
i think it's a useful model, and wouldn't be too difficult to implement
12:12
<ogra_cmpc>
tcosproject.org
12:14
<Gadi>
what is the benefit?
12:15
<vagrantc>
once booted, it doesn't access the filesystem on the server at all
12:15
<Gadi>
that can be achieved in other ways
12:15
<Q-FUNK>
hm. cnan be usefull to bootstrap net kiosk & the like, I guess.
12:15
<Gadi>
put the squashfs img in the tftpdir and d/l before mounting
12:15
<vagrantc>
Gadi: right.
12:16
<Gadi>
that should be faster than making a bloated initrd
12:16
<vagrantc>
perhaps so ...
12:16
<Gadi>
and more flexible
12:17
<vagrantc>
would be nice if we could exclude certain directories from the squashfs ... like /usr/share/doc /usr/share/man
12:17
<Gadi>
thats easy
12:17
edit ltsp-update-image
12:17
<vagrantc>
doesn't matter a whole lot now, but i think it would be more important later
12:17
<Gadi>
I do that already
12:17
:)
12:17
add a -e to the mksquashfs line
12:17
<vagrantc>
Gadi: well, we could make that configurable :)
12:17
Gadi: so you don't have to edit it anymore :P
12:18
<Gadi>
that would be nice
12:18
:)
12:18
so many conf params - so lil time
12:18
so lil memory
12:25toscalix has quit IRC
12:27ogra_cmpc has quit IRC
12:27sepski has joined #ltsp
12:28ogra_cmpc has joined #ltsp
12:31
<andarilho>
vagrantc: i did
12:31
<vagrantc>
andarilho: you did what?
12:32
<andarilho>
just delete the users of the audio group
12:32
bingo
12:34cdealer has joined #ltsp
12:35
<cdealer>
why is my client getting "the workstation is not authorized to connect to server|" in the login window ... I have already run ltsp-update-sshkeys...
12:36
<andarilho>
vagrantc: just delete the users of the audio group
12:38
<Gadi>
cdealer: did you run ltsp-update-image?
12:38
<cdealer>
Gadi, not realy cause I didnt change anything on the chroot ... but I can run now
12:39
<Gadi>
ltsp-update=sshkeys does change something in the chroot
12:39
I think
12:39
<cdealer>
Gadi, im doing ltsp-update-image right now to see if it works
12:39
<Gadi>
well, actually
12:40
yeah
12:40
it updates the chroot's list of known hosts
12:41
<cdealer>
hmmm I suspected from ssh ... because I changed some ip configs in this server ... Im rebooting the client now
12:49tux_440volt has quit IRC
12:52
<cdealer>
Gadi, worked great ... thanks!
12:53
<Gadi>
np
12:55
<warren>
vagrantc, were you OK with yesterday's changes?
12:55
vagrantc, got my e-mail?
12:55
BTW, everyone saw my mail about ldm causing severe problems on the list?
12:56
anyone seen that kind of behavior before?
12:59K_O-Gnom has quit IRC
12:59cdealer has quit IRC
13:04
<vagrantc>
warren: yeah, they look ok to me.
13:05
warren: i got your email and replied to it ... but haven't sent it ... somewhere along the way it just sat in my drafts folder
13:05
<ogra_cmpc>
warren, have you checked with telneting to localhost
13:05
<vagrantc>
warren: but the basic jist is that i don't seen any way for a symlink to actually work, as replacing a directory with a symlink isn't well supported, i don't think.
13:06
warren: say some other package installs a file in that directory ...
13:06
<ogra_cmpc>
that way you should be able to see where the loop starts
13:07
btw, is there any reason to support non utf8 locales ?
13:07Blinny has joined #ltsp
13:07
<Q-FUNK>
nowadays, probably not. especially now that kernel >= 2.6.24 has unicode everyting by defualt
13:07
<ogra_cmpc>
right
13:08
i was just thinking about warrens locale -a output :)
13:08
<vagrantc>
ogra_cmpc: regarding files that change regularly ... what do you think about making a tarball downloaded by tftp that gets extracted into the unionfs/tmpfs/whatever during the root mounting phase ?
13:08
<Q-FUNK>
us-ask me?
13:09
<ogra_cmpc>
vagrantc, like i do with lts.conf already you mean ?
13:09
<vagrantc>
ogra_cmpc: yes ... just a simple way to ship additional files that get modified often, like the sshkeys, lts.conf, etc.
13:09
<ogra_cmpc>
the only intresting file i could imagine for that would be the known_hosts file
13:10
which i'm not reallys sure i want public via tftp ...
13:10
<vagrantc>
yeah, public via NBD is so much more secure :P
13:10
<ogra_cmpc>
heh
13:10
well
13:10
right
13:10
in that light, lets do it :)
13:10
<Q-FUNK>
rcp
13:10
<ogra_cmpc>
telnet FTW !
13:11
<Q-FUNK>
:D
13:11
<vagrantc>
ogra_cmpc: i'm not sure how to implement exactly ... could have a configurable list of files in the chroot to put into the tarball
13:11
ogra_cmpc: have you gotten your "make the chroot disappear" stuff working well yet ?
13:11
<ogra_cmpc>
we could check if an image exists and copy the files in a special config dir in tftp
13:11
<vagrantc>
with a disappeared chroot, this would be harder
13:12
<ogra_cmpc>
from update-sshkeys
13:12
and have a hook in initramfs that just checks the dir
13:12
<vagrantc>
well, the reason i like the tarball idea, is that it makes it really easy to add arbitrary additional files, if we ever need them.
13:12
<ogra_cmpc>
yeah
13:13
<Q-FUNK>
initramfs hooks work well too
13:13
<ogra_cmpc>
the initramfs is code wise only a small enhancement of the lts.conf loading code
13:13
<vagrantc>
i'm thinking this would be from the initramfs
13:14
<ogra_cmpc>
right
13:14
thats doable with three to five extra lines
13:14
<vagrantc>
i don't know if we'd have to add tar to the initramfs.... or if we could use the tar from the root filesystem ...
13:14
<ogra_cmpc>
the key copying might be a bit bigger
13:14
<stgraber>
can't you simply do another squashfs image which would override the main one ? (some kind of diff)
13:14
<ogra_cmpc>
vagrantc, tar ??
13:14
<Q-FUNK>
ogra_cmpc: btw, if you wanna update your 61, you just need the flashrom currently sitting in Hardy and the new bios blob.
13:14
<ogra_cmpc>
why tar it up ?
13:15
thats just extra slowdown
13:15
<vagrantc>
ogra_cmpc: so we only have a single file to distribute?
13:15
<ogra_cmpc>
i could live with a dir below the tftproot
13:15
<Q-FUNK>
stgraber: that's sort-of what the company started by mandrake's former CEO does
13:15
<ogra_cmpc>
i.e. config/
13:15
<vagrantc>
stgraber: i guess you could use an extra squashfs image ...
13:15
<Q-FUNK>
loading layers of squashfs images
13:16
<vagrantc>
ogra_cmpc: does tftp do recursive downloads ?
13:16
<ogra_cmpc>
no, you need a file list
13:16
but the first file you download can be the list :)
13:16
<vagrantc>
distribute the file list in the tftp/config dir ...
13:16
yeah
13:17
<stgraber>
the most common use of having layers of squashfs would be for simple config file like known_hosts with the possibility of doing more complicated stuff in the future (like client-related theme or local software)
13:17
<vagrantc>
stgraber: yeah, but i want this to work for NFS too
13:18
currently, it requires some manual work to get squashfs modules into the initramfs on debian
13:19
<stgraber>
vagrantc: where's the problem with NFS for files like known_hosts ?
13:19
<vagrantc>
although i could probably re-write the code a little to use linux-image-2.6-* packages instead of linux-image-* packages so that we can grab the corresponding *-modules-2.6-* packages ... as there is no unversioned squashfs-modules packages
13:19
stgraber: ah, good point :)
13:20
<stgraber>
for the other thing like theming or local softwares you would have to run an unionfs and then copy from some dir on NFS to / (which would then be stored in the unionfs in RAM)
13:20
<vagrantc>
with NFS we use the chroot directly ... so no need to do all this silly tftp craziness :)
13:20
<stgraber>
yes, that was the good point of NFS :)
13:21
<vagrantc>
ogra_cmpc: you could probably get your updated file lists by just comparing the date on the squashfs image and then finding all files in the chroot that are newer (with some exclusions, probably)
13:22joebaker has joined #ltsp
13:22
<vagrantc>
i have been thinking of implementing the read-write tmpfs bind-mounts in initramfs, though ...
13:22
that way we've have them much earlier in the process.
13:23
ogra_cmpc: i've also been thinking about writing a wrapper script for initramfs-tools that just sources the nfs scripts if you're doing nfs, the nbd scripts if you're doing nbd, etc ...
13:23
sources the local scripts if you're booting locally
13:24
ogra_cmpc: then we could rely on dhcp to figure that stuff out.
13:24
ogra_cmpc: or some other boot-time mechanism.
13:24
<joebaker>
I was trying to get auto-logon to work with Edubuntu LTSP Gutsy but it's locking up at an X window somewhere.
13:25
<Blinny>
I just submitted a launchpad bug about the generated xorg.conf file in Hardy Alpha 5 - Please let me know if I should have submitted it to xorg instead of LTSP. Thanks.
13:25
<ogra_cmpc>
vagrantc, finding all files that have changed will take ages
13:25
dont forget youre in the boot sequence
13:25
so i dont think diffing is an option
13:26
Blinny, will do, thanks for the report
13:26
i'll reassign appropriately
13:27
vagrantc, you can already switch boot methods with adding boot= to the kernel commandline
13:27
how would oyu automate that more ?
13:29
<vagrantc>
ogra_cmpc: no, i mean server-side
13:30
<ogra_cmpc>
ah
13:30
so generating a line for the pxe config ?
13:30
<vagrantc>
find /opt/ltsp/i386 -newer /opt/ltsp/images/i386.img
13:31
<ogra_cmpc>
ah
13:31
<vagrantc>
ogra_cmpc: which issue are we talking about now ? :)
13:31
<ogra_cmpc>
lets do it in order
13:31
<vagrantc>
ok
13:31
<ogra_cmpc>
you mean the find commanhd being added to the update scripts
13:31
?
13:32
but the boot still gets a file list
13:32
<vagrantc>
so ... i was thinking you'd use find to generate a list of files that you put in the tftp dir somehow (i was thinking tarball)
13:32
so when you run ltsp-update-sshkeys ... it would call another script that updates the tarball in the tftp dir
13:33
maybe there are other cases where you'd update the tarball ...
13:33
<ogra_cmpc>
well, i'd rather go with a defined list
13:33
but that sounds lioke a proper way to automate a generation
13:33* vagrantc envisions in cron.daily or some such
13:33
<ogra_cmpc>
ugh
13:33
<vagrantc>
whatever
13:33shogunx has quit IRC
13:33
<ogra_cmpc>
way to much overhead imho
13:34
<vagrantc>
the idea is to ensure that when the chroot is updated, the clients get updated
13:34
<ogra_cmpc>
i dont want to rely on more and more services
13:34
well, i'd personally just pick the files and put them in a list
13:34
<vagrantc>
sure, i guess.
13:34
<ogra_cmpc>
since i only see the need for very few files
13:35
for bigger changes i'd suggest anyway to rebuild the squashfs
13:35* vagrantc chooses not to contrain vagrantc by the limits of vagrantc's own imagination
13:35
<ogra_cmpc>
like adding packages etc
13:35
<vagrantc>
sure, for larger changes, this would be stupid
13:35
<ogra_cmpc>
right, so we end with known_hosts ...
13:35
<vagrantc>
heh
13:35
<ogra_cmpc>
which other files ?
13:36
<vagrantc>
lts.conf is already happening ...
13:36
<ogra_cmpc>
yeah indeed i meant beyond that
13:36
<vagrantc>
if there's a way for the sysadmin to update the list of files easily, i think that would be good.
13:36
<ogra_cmpc>
i dont see more atm
13:36* ogra_cmpc just got a pizza
13:37
<ogra_cmpc>
afk for dinner ...
13:37
<Q-FUNK>
me too
13:37
<vagrantc>
like i said, i don't want to be limited by our own imagination ... i'd rather see simple infrastructure to make it easy to add files if the need arises.
13:37shogunx has joined #ltsp
13:37
<Q-FUNK>
eaten already
13:37
<vagrantc>
be the need a custom thing for an installation, or some new file we as developers decide to make the new default
13:38
<joebaker>
Does Gutsy support autologin with ldm using LDM_USERNAME , LDM_PASSWORD, LDM_DIRETX?
13:38
<vagrantc>
joebaker: i think it's broken
13:38
<joebaker>
ok.
13:38
<stgraber>
vagrantc: you could also have a dir listing available by tftp then tftp all the files listed here
13:38
vagrantc: assuming that you can't do recursive gets with tftp
13:39
<joebaker>
LDM_DIRECTX = Yes is that correct for avoiding encrypted traffic?
13:39
Is there something wrong with editing /opt/ltsp/i386/etc/lts.conf ?
13:40
<vagrantc>
stgraber: right ... i think a file listing is a simple approach ... though i still prefer a tarball because it's one file to download and then extract ... done.
13:41
joebaker: you have to regenerate the image if you edit in /opt/ltsp/i386/etc/lts.conf ... preferred location is /var/lib/tftpboot/ltsp/i386/lts.conf
13:42
<joebaker>
vagrantc: Thanks! I understand about updating the image.
13:42
<vagrantc>
joebaker: unless you're using NFS ... but Gutsy defaults to NBD
13:42
joebaker: that's actually directly related to what ogra_cmpc and i have been talking about :)
13:48steph_ has joined #ltsp
13:52Q-FUNK has quit IRC
13:53Blinny has quit IRC
14:01bobby_C has quit IRC
14:03bobby_C has joined #ltsp
14:14
<warren>
ogra_cmpc, vagrantc: where is the current code to download the lts.conf?
14:14
via tftp
14:16joebaker has left #ltsp
14:17
<warren>
vagrantc, mind if I add a "Warning: /usr/lib/ltsp/screen.d is deprecated...." warning to screen_session?
14:18
<vagrantc>
warren: sounds reasonable to me
14:22
<warren>
vagrantc, can we agree to remove /usr/lib/ltsp/screen.d in the next major release cycle?
14:22
<laga>
warren: in initramfs/scripts/ltsp_nbd
14:22
<vagrantc>
warren: define next major release cycle?
14:23
<warren>
vagrantc, I don't know about Debian's schedule, but Ubuntu and Fedora are having major releases in April/May
14:23
<vagrantc>
warren: debian is not likely to see a release till september, and quite possibly later than that.
14:24
<warren>
vagrantc, ok, we can wait until after that release?
14:25
<vagrantc>
warren: so you'll willing to wait on a debian release for that? :)
14:25
<warren>
vagrantc, I know, I might be waiting until Fedora 13 or so.
14:25
<vagrantc>
warren: heh
14:26
<warren>
if [ "${SCRIPT_DIR}" = "/usr/lib/ltsp/screen.d" ]; then
14:26
echo "Warning: /usr/lib/ltsp/screen.d is deprecated and will be removed in the future."
14:26
echo " ${SCREEN_SCRIPT} requires updating to use /usr/share/ltsp."
14:26
fi
14:26
look OK?
14:26
<vagrantc>
warren: depends on what's before and after it
14:26* warren makes patch
14:26
<warren>
ltspbot, pastebot
14:26
<vagrantc>
but the text looks good
14:26
<ltspbot>
warren: "pastebot" is The LTSP pastebot is at http://pastebot.ltsp.org. Please paste all text longer than a line or two to the pastebot, as it helps to reduce traffic in the channel. A link to the content will be pasted in the channel.
14:27
<ltsppbot>
Someone pasted "=== modified file 'client/scre" (14 lines) at http://pastebot.ltsp.org/454
14:27
<vagrantc>
warren: looks good.
14:27* warren commits
14:29* vagrantc gets qemu-system-arm going
14:38talntid has joined #ltsp
14:41K_O-Gnom has joined #ltsp
14:46sepski has quit IRC
14:55Guaraldo has left #ltsp
15:02
<vagrantc>
man, i finally figured out how to change my username on launchpad from "vagrant+ubuntu" to "vagrantc"
15:02
vagrant was already taken.
15:03
<Gadi>
more than 1 vagrant?
15:04
<vagrantc>
"Kory"
15:04* Gadi 's whole belief system is in jeopardy
15:04
<vagrantc>
it's so weird to see vagrant@ and have it to someone else.
15:04
<rjune>
?
15:05
<Gadi>
don't worry, rjune - we're cool
15:05
:)
15:05
<rjune>
heh
15:05
<vagrantc>
yeah, surely the LTSP crew will knock off this imposter if they ever meet them on my behalf.
15:05
<rjune>
good thing, I was afraid my honorary Jew status was in jeopardy
15:06* vagrantc wonders if there's still a "vagrant" on freenode
15:06foxxbuntu has joined #ltsp
15:22steph_ has quit IRC
15:31steph_ has joined #ltsp
15:33cliebow has quit IRC
15:33
<andarilho>
vagrantc: to shutdown the thin clients for the server?
15:33
i use "ssh"
15:33
?
15:34
<vagrantc>
andarilho: dpm
15:34
er.
15:34
andarilho: i don't quite know what you mean ... ?
15:37
<andarilho>
dpm?
15:37
<vagrantc>
andarilho: typo, sorry.
15:37
andarilho: i don't quite know what you mean ... ?
15:38
<andarilho>
And turn off customers by the server?
15:42
<vagrantc>
there isn't really a way to do that ... you could set up an ssh server on the thin clients... and configure some ssh keys to allow that ...
15:44nookie has joined #ltsp
15:45
<nookie>
hi all, i have some problems to get my ltsp working
15:45
just the more basic : i can't install anything on my client chroot
15:45
because i can't get a connection when i'm on it by a chroot
15:46
<vagrantc>
nookie: a network connection?
15:46
<nookie>
an acces to the internet
15:46
i'm french
15:46
<vagrantc>
nookie: what error do you get?
15:47
<nookie>
no error, i just realise that even if i mount /proc , my chroot net less
15:48
<vagrantc>
nookie: how do you know you don't have net access?
15:48
<nookie>
i just want to install something on my client, in the doc, it is said you can do it by a chroot
15:48
i try some basic requests :)
15:48
<vagrantc>
what do you try to do that doesn't work?
15:48
<nookie>
like a ping
15:48
<vagrantc>
ok.
15:48
can you ping by ip address?
15:49
<nookie>
let me try
15:50
really sorry i was trying for a long time and it works now i don't even know why
15:50mikkel has quit IRC
15:51
<nookie>
thanks a lot
15:52Egyptian[Home] has quit IRC
15:52
<nookie>
strange, this time i didn't mount /proc and it works
15:55
just another question, i use ldm, why does it show me the list of window-managers of the server even if i'm on a client and i can only log with users from the client?
15:58nookie has quit IRC
15:58
<vagrantc>
pfft.
15:59mhterres has quit IRC
16:26nicoAMG has quit IRC
16:46vagrantc has quit IRC
16:49
<Gadi>
damn. I missed all the nookie
16:50* warren realizes there was no good reason to require "--" before mkdst options.
16:51
<Gadi>
specially when I have to pay per character
16:51* warren is still chuckling about "silent.wav" and "taco music".
16:52
<Gadi>
thank you, thank you - I'll be here all week
16:55K_O-Gnom has quit IRC
16:56staffencasa has quit IRC
16:56jammcq has quit IRC
16:57dtrask has joined #ltsp
16:58bobby_C has quit IRC
17:04dtrask has quit IRC
17:09
<laga>
is there any way to distinguish between being chrooted into /opt/ltsp/i386 and running a real client? using ubuntu hardy here
17:14
<Gadi>
laga: explain
17:14
pls
17:15
:)
17:17
<laga>
Gadi: well, i've got this package i want to install in the squashfs. unfortunately, this package comes with an init script. i don't want that init script do be executed when installing it inside the chroot (because it's executed when you install the package), i just want it to be started when the client boots.
17:17
eg on real hardware
17:18
<warren>
init scripts are run when you enter the chroot?
17:18
or it runs the initscript immediately upon install of the package?
17:18
(the latter is why enabling/running most things at package install is forbidden in fedora)
17:19
<Gadi>
laga: the init script will most likely fail to run in the chroot
17:19
but, you can try not mounting /proc
17:19
<laga>
Gadi: no, it does not fail. it's my own init script which writes outa xorg.conf
17:19
-a
17:19joebaker has joined #ltsp
17:20
<Gadi>
ah, so set your init script not to run on install
17:20
<laga>
right now i'm using an approach where it doesn't start X -configure because it really sucks when you install something and your X server gets killed :)
17:20
<Gadi>
thats a dh_helper flag in the rules file
17:20
<laga>
Gadi: great! you rock
17:20
warren: yes, i was talking about install time
17:20slidesinger has quit IRC
17:20
<Gadi>
dh_installinit --no-start
17:21
<laga>
i'm gonna try that. yay.
17:21
<Gadi>
add "--no-start" to the rules file
17:21
much easier when its your deb :)
17:21
<laga>
yup :)
17:23
<Gadi>
so, you use an alternative to configure-x.sh?
17:23
anything good?
17:23
:)
17:23
trying to speed up the autodetect?
17:23* Gadi always likes a good hack
17:24
<Gadi>
speaking of hacks, I think I finally kicked the damn unpartitioned stick thing withour screwing everything else up
17:25
<laga>
Gadi: anything good? don't think so :)
17:25* Gadi wishes he were a better udev hacker
17:25
<Gadi>
aw, cmon
17:25
<laga>
Gadi: xdebconfigurator and dexconf. but i hear it' slow.
17:25
<Gadi>
ur holding out
17:25
ah, then why?
17:25
better results?
17:26
<laga>
i don't remember. it's hidden behind that late-night hacking blur. i think it's because I was running into that issue where the init script would get executed during install/update
17:26
<Gadi>
no - I mean why switch from configure-x.sh
17:27
ie. the X -configure way
17:27
<laga>
no reason. i'll switch back. i just used xdebconfigurator because it doesn't start X
17:27
<Gadi>
ah
17:27
I see what you mean
17:27
eh, nobody'll notice
17:27
:P
17:27
<laga>
i actually like configure-x.sh better because you can still customize stuff via lts.conf.
17:27
<Gadi>
definitely
17:28
<foxxbuntu>
Gadi, don't help laga
17:28
:)
17:28
<laga>
sigh, yet another update before the package gets uploaded
17:28* laga gently touches foxxbuntu with sharp kitchen helpers
17:28
<foxxbuntu>
lol
17:29
gently?
17:30
<Gadi>
lol
17:31
<foxxbuntu>
laga, that sounds more kinky rather than painful as intended
17:32
<laga>
weüll
17:32* Gadi looks around for nookie
17:32
<Gadi>
honestly, how can you go into a chatroom with a nick like that
17:32* laga removes his eyes with a spork to get rid of the images
17:33
<warren>
does Debian/Ubuntu have /sbin/MAKEDEV by default?
17:34
<Gadi>
its there
17:34
<laga>
i've got it on my gutsy box
17:34
<Gadi>
on Ubuntu
17:36
<warren>
k
17:40Gadi has left #ltsp
17:40foxbuntu___ has joined #ltsp
17:53talntid has quit IRC
17:57foxxbuntu has quit IRC
17:59yyeago has joined #ltsp
18:18robbie has joined #ltsp
18:18yyeago has quit IRC
18:22joebaker has quit IRC
18:37andarilho has left #ltsp
18:37abadger1991 has joined #ltsp
18:38abadger1991 has joined #ltsp
18:41spectra has quit IRC
18:46abadger1999 has quit IRC
18:52jammcq has joined #ltsp
18:53robbie has quit IRC
19:07milesd has quit IRC
19:15mccann has quit IRC
19:51Patina has quit IRC
19:51Patina has joined #ltsp
20:14steph_ has quit IRC
20:27abadger1991 has quit IRC
20:38abadger1999 has joined #ltsp
20:38yanu has quit IRC
20:44abadger1999 has quit IRC
20:45abadger1999 has joined #ltsp
20:49yanu has joined #ltsp
20:59yyeago has joined #ltsp
21:03Faithful has quit IRC
21:04Faithful has joined #ltsp
21:05steph_ has joined #ltsp
21:13pimpministerp has joined #ltsp
21:39steph_ has quit IRC
21:39steph_ has joined #ltsp
21:40makghosh has quit IRC
21:41yyeago is now known as subsume
21:47ogra has quit IRC
21:48steph_ has quit IRC
21:48ogra has joined #ltsp
22:00cyberorg has quit IRC
22:00elisboa has quit IRC
22:00Shingoshi has quit IRC
22:00daduke has quit IRC
22:00primeministerp has quit IRC
22:00sep has quit IRC
22:00topslakr_ has quit IRC
22:14daduke has joined #ltsp
22:14Egyptian[Home] has joined #ltsp
22:16primeministerp has joined #ltsp
22:16topslakr_ has joined #ltsp
22:16Shingoshi has joined #ltsp
22:18sep has joined #ltsp
22:18cyberorg has joined #ltsp
23:00
<chupacabra>
rovian? !!!!
23:03GoRpO has joined #ltsp
23:03
<GoRpO>
hi
23:03
good morning
23:04subsume has quit IRC
23:06foxbuntu___ is now known as ghost
23:07ghost is now known as foxbuntu_otherla
23:08foxbuntu_otherla is now known as foxbuntu_laptop2
23:14GoRpO has quit IRC
23:40subsume has joined #ltsp
23:41RyanRyan62 has joined #ltsp
23:47RyanRyan62 has left #ltsp
23:51RyanRyan52 has quit IRC