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


Channel log from 31 December 2011   (all times are UTC)

00:36irule has left IRC (irule!~irule@187.139.56.226, Ping timeout: 240 seconds)
00:56loather has joined IRC (loather!~khudson@wsip-98-175-250-115.sd.sd.cox.net)
01:11andygraybeal has joined IRC (andygraybeal!~andy.gray@obsidian.casanueva.com)
01:20andygraybeal has left IRC (andygraybeal!~andy.gray@obsidian.casanueva.com, Quit: Ex-Chat)
02:43andygraybeal has joined IRC (andygraybeal!~andy@h188.226.22.98.dynamic.ip.windstream.net)
04:26vagrantc has left IRC (vagrantc!~vagrant@c-76-105-252-50.hsd1.or.comcast.net, Ping timeout: 252 seconds)
04:43F-GT has left IRC (F-GT!~phantom@ppp121-44-144-117.lns20.syd7.internode.on.net, Ping timeout: 240 seconds)
04:55Yet_another_Bill has left IRC (Yet_another_Bill!billy@nat/redhat/x-rhakfkpfomaglrqz, Remote host closed the connection)
04:57F-GT has joined IRC (F-GT!~phantom@ppp121-44-54-88.lns20.syd6.internode.on.net)
06:40laprag has joined IRC (laprag!~ragnar@ti0071a380-dhcp4545.bb.online.no)
06:40andygraybeal has left IRC (andygraybeal!~andy@h188.226.22.98.dynamic.ip.windstream.net, Ping timeout: 252 seconds)
06:49laprag has left IRC (laprag!~ragnar@ti0071a380-dhcp4545.bb.online.no, Quit: leaving)
07:24vagrantc has joined IRC (vagrantc!~vagrant@c-76-105-252-50.hsd1.or.comcast.net)
08:38freedomrun has joined IRC (freedomrun!~quassel@BSN-176-209-133.dial-up.dsl.siol.net)
08:55alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
08:59klausade has left IRC (klausade!~klaus@cm-84.215.152.210.getinternet.no, Read error: Connection reset by peer)
09:15bamboo has joined IRC (bamboo!6e89f7a0@gateway/web/freenode/ip.110.137.247.160)
09:25vagrantc has left IRC (vagrantc!~vagrant@c-76-105-252-50.hsd1.or.comcast.net, Quit: leaving)
09:27
<knipwim>
i can boot with the latest ltsp-client revision!
09:28
only have two errors
09:28
/usr/share/ltsp/ltsp_config: line 67: -1: command not found
09:28
<alkisg>
You weren't able to boot before? /me isn't really sure about the Gentoo state..
09:28
<knipwim>
no, i was able to
09:28
but since 5.2.18 some things changed
09:29
mostly packaging issues though
09:29
<alkisg>
Line 67 is eval $var="$val" ?
09:29
<knipwim>
yup
09:30
<alkisg>
So it tries to do -1=something?
09:30
Do you have something in lts.conf or in ltsp_config.d ?
09:30
<knipwim>
i think it something to do with the nc_q_param="-q -1"
09:30
in /var/cache/ltsp/ltsp_config_env
09:30monteslu_ has joined IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net)
09:30
<alkisg>
Maybe, I think that nc_q_param wasn't thorougly tested...
09:31
<knipwim>
what does it do?
09:31
<alkisg>
nc needs different parameters in some distros
09:31
If they're not provided, it waits forever, instead of returning immediately
09:32
So I think in Fedora it needs `nc -q -``, while in Debian/Ubuntu it's just plain `nc`,
09:32
* -1
09:32
...but there's another version of nc in Debian/Ubuntu that also needs -q -1.... mess
09:33
So it parses nc output to check if -q is supported
09:33
What's the output of `LANG=C nc -q` in Gentoo?
09:33monteslu has left IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 240 seconds)
09:34
<knipwim>
nc: option requires an argument -- 'q'
09:34
<alkisg>
Same here in my Lucid box...
09:35
<knipwim>
isn't it an issue with the eval $var="$val" line ?
09:35
<alkisg>
I don't know, I'm using an older LTSP version
09:35
eval x=-q -1
09:35
That's the problem
09:36
(quoting)
09:36
So yeah I imagine it's not Gentoo specific
09:37
I'd try to avoid that "eval" in set_lts_var()
09:38
Just export "$var"="$val" instead
09:38
Ouch it also does echo "$var=\"$val\"" >> ${ltsp_config_env}
09:39
That again will cause a mess with quoting... :(
09:39
<knipwim>
hmm, that actually works for the nc_q_param="-q -1"
09:40
<alkisg>
ltsp_config_env is also sourced by ltsp_config, while lts.conf is eval'ed
09:41
So we have 3-4 different interpretations of quotes and special characters :(
09:42
<knipwim>
removing the eval line, and doing an export $var="$val" will work
09:44
<alkisg>
Yes, but it won't be consistent with how we interpret lts.conf
09:44* alkisg would like to get rid of eval in all those cases
09:44
<alkisg>
...but it would be a big change, so... maybe in a couple of years, with a new configuration system :D
09:46
<knipwim>
hmm
09:46
it seems lts.conf is interpreted twice
09:47
once in ltsp_config in the set_lts_var
09:47
and once in ltsp_config.d/01-getltscfg
09:47
and all vars are exported as well
09:50
but okay, that's for the next couple of years :)
09:50
what do you propose for the /usr/share/ltsp/ltsp_config: line 67: -1: command not found ?
09:50
file a bug report
09:51
or make the eval work
09:58
doing an eval $var=\"$val\" instead of an eval $var="$val" fixed it
10:01
alkisg: ok if i commit that one?
10:02
<alkisg>
knipwim: gimme 2 mins to test something...
10:02
<knipwim>
no rush :)
10:04
<alkisg>
set_lts_var nc_q_param "$nc_q_param" ==> btw that's the only lowercase lts.conf var we have
10:04
knipwim: I would avoid eval and use `export "$var"="$val"` instead
10:05
E.g. imagine having val='$(rm -rf /)'
10:05
I wouldn't want to eval that, and I see no need in the code to use eval
10:12
<knipwim>
check
10:13
why not export "$var=$val" ?, instead of export "$var"="$val"
10:21
<alkisg>
It's the same, I just use to quote the vars, just a habit...
10:21
<knipwim>
check, and committed
10:24
now going to do some gentoo fixes, and then tag 5.2.19
10:27
and after that trying to implement the kiosk plugin in gentoo
10:28khildin has joined IRC (khildin!~khildin@ip-83-134-213-119.dsl.scarlet.be)
10:30
<alkisg>
knipwim: for the kiosk plugin... I think it'd be better if most of it was handled at boot time by the kiosk screen script
10:31
So that one can build a client without any ltsp-build-client plugins, install firefox or whatever browser he wants, and then just use the kiosk screen script that creates the kiosk user dynamically etc
10:31
Of course a kiosk plugin may still be used, but it would just install firefox etc, it wouldn't create a user
11:08bamboo has left IRC (bamboo!6e89f7a0@gateway/web/freenode/ip.110.137.247.160, Ping timeout: 258 seconds)
11:08freedomrun_ has joined IRC (freedomrun_!~quassel@BSN-176-209-133.dial-up.dsl.siol.net)
11:09freedomrun has left IRC (freedomrun!~quassel@BSN-176-209-133.dial-up.dsl.siol.net, Ping timeout: 252 seconds)
11:15alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
11:48alexqwesa__ has joined IRC (alexqwesa__!~alex@109.172.15.11)
11:49alexqwesa_ has left IRC (alexqwesa_!~alex@alexo-veto.broker.freenet6.net, Ping timeout: 252 seconds)
12:30leio has left IRC (leio!~leio@gentoo/developer/leio, Ping timeout: 252 seconds)
13:39leio has joined IRC (leio!~leio@gentoo/developer/leio)
13:50alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
14:00Trixboxer has joined IRC (Trixboxer!~Trixboxer@office.supportdepartment.net)
14:01freedomrun_ has left IRC (freedomrun_!~quassel@BSN-176-209-133.dial-up.dsl.siol.net, Remote host closed the connection)
14:18bobby_C has joined IRC (bobby_C!~bobby@188.20.161.210)
15:32monteslu_ is now known as monteslu
15:36
<knipwim>
alkisg: sorry to bother you again, but
15:37
i screwed up the version tagging
15:37
<alkisg>
knipwim: np, let me see...
15:37
<knipwim>
the commit previous to the version release got the tag
15:38
and i don't know how to fix it
15:38* knipwim is feeling so noob
15:38
<alkisg>
knipwim: we usually don't "undo" branch changes, but given that today is saturday AND the last year day etc etc, I don't think anyone has pulled your changes from trunk,
15:39
so I guess you could just do "bzr uncommit" a couple of times, fix it in your local branch, commit etc, and then push -overwrite
15:39andygraybeal has joined IRC (andygraybeal!~andy@h188.226.22.98.dynamic.ip.windstream.net)
15:43
<knipwim>
woohoo! moved the tag and pushed overwrite
15:43
cool, thx
16:18freedomrun has joined IRC (freedomrun!~quassel@BSN-176-209-133.dial-up.dsl.siol.net)
16:30matrix3000 has joined IRC (matrix3000!~Eric@rrcs-70-61-255-227.central.biz.rr.com)
16:37rishi__ has joined IRC (rishi__!~Trixboxer@115.124.115.71)
16:37Trixboxer has left IRC (Trixboxer!~Trixboxer@office.supportdepartment.net, Ping timeout: 240 seconds)
16:39Trixboxer has joined IRC (Trixboxer!~Trixboxer@office.supportdepartment.net)
16:41rishi__ has left IRC (rishi__!~Trixboxer@115.124.115.71, Ping timeout: 240 seconds)
16:47gentgeen__ has left IRC (gentgeen__!~kevin@c-98-236-71-64.hsd1.pa.comcast.net, Remote host closed the connection)
17:07Trixboxer has left IRC (Trixboxer!~Trixboxer@office.supportdepartment.net, Ping timeout: 240 seconds)
17:20Trixboxer has joined IRC (Trixboxer!~Trixboxer@115.124.115.71)
17:36gentgeen__ has joined IRC (gentgeen__!~kevin@c-98-236-71-64.hsd1.pa.comcast.net)
17:36alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
17:40Trixboxer has left IRC (Trixboxer!~Trixboxer@115.124.115.71, Quit: "Achievement is not the end, its the beginning of new journey !!!")
18:11Trixboxer has joined IRC (Trixboxer!~Trixboxer@115.124.115.71)
18:23freedomrun has left IRC (freedomrun!~quassel@BSN-176-209-133.dial-up.dsl.siol.net, Remote host closed the connection)
18:43Hyperbyte has left IRC (Hyperbyte!jan@middelkoop.cc, Ping timeout: 252 seconds)
18:45andygraybeal has left IRC (andygraybeal!~andy@h188.226.22.98.dynamic.ip.windstream.net, Ping timeout: 252 seconds)
18:48andygraybeal has joined IRC (andygraybeal!~andy@h188.226.22.98.dynamic.ip.windstream.net)
18:49Trixboxer has left IRC (Trixboxer!~Trixboxer@115.124.115.71, Quit: "Achievement is not the end, its the beginning of new journey !!!")
19:09andygraybeal has left IRC (andygraybeal!~andy@h188.226.22.98.dynamic.ip.windstream.net, Ping timeout: 252 seconds)
19:15alkisg has joined IRC (alkisg!~alkisg@ubuntu/member/alkisg)
20:16michael has joined IRC (michael!~michael@71-213-174-140.albq.qwest.net)
20:16michael is now known as Guest60646
20:20Guest60646 has left IRC (Guest60646!~michael@71-213-174-140.albq.qwest.net, Client Quit)
20:22alkisg has left IRC (alkisg!~alkisg@ubuntu/member/alkisg, Quit: Leaving.)
20:33khildin has left IRC (khildin!~khildin@ip-83-134-213-119.dsl.scarlet.be, Quit: I'm gone, bye bye)
20:43Hyperbyte has joined IRC (Hyperbyte!jan@middelkoop.cc)
20:53andygraybeal has joined IRC (andygraybeal!~andy@h188.226.22.98.dynamic.ip.windstream.net)
21:30monteslu_ has joined IRC (monteslu_!~monteslu@ip68-109-174-213.ph.ph.cox.net)
21:34monteslu has left IRC (monteslu!~monteslu@ip68-109-174-213.ph.ph.cox.net, Ping timeout: 240 seconds)
21:40vagrantc has joined IRC (vagrantc!~vagrant@c-76-105-252-50.hsd1.or.comcast.net)