00:24 | alkisg has quit IRC | |
00:27 | hanthana has joined #ltsp | |
00:33 | vagrantc has quit IRC | |
00:52 | X0d_of_N0d has quit IRC | |
00:53 | _UsUrPeR_ has quit IRC | |
00:55 | _UsUrPeR_ has joined #ltsp | |
01:12 | X0d_of_N0d has joined #ltsp | |
01:40 | Ahmuck has quit IRC | |
01:41 | jammcq has quit IRC | |
01:41 | hesco has left #ltsp | |
01:41 | ltsppbot has quit IRC | |
01:47 | ltsppbot has joined #ltsp | |
02:52 | Q-FUNK has joined #ltsp | |
02:54 | hanthana has quit IRC | |
03:28 | plamengr has joined #ltsp | |
03:54 | hanthana has joined #ltsp | |
04:13 | alkisg has joined #ltsp | |
04:19 | Q-FUNK has quit IRC | |
04:25 | alkisg1 has joined #ltsp | |
04:31 | dirigeant has joined #ltsp | |
04:42 | alkisg has quit IRC | |
04:48 | Eghie has joined #ltsp | |
04:49 | <Eghie> anyone, running LTSP right now on a client with a local harddrive, which is not mounted in LTSP?
| |
04:54 | hanthana has quit IRC | |
05:02 | hanthana has joined #ltsp | |
05:21 | alkisg1 has quit IRC | |
05:21 | Michiel__ has joined #ltsp | |
05:29 | Eghie has quit IRC | |
05:31 | _UsUrPeR_ has quit IRC | |
05:38 | dirigeant has quit IRC | |
05:40 | dirigeant has joined #ltsp | |
05:47 | Michiel__ is now known as Eghie | |
06:11 | alkisg has joined #ltsp | |
06:37 | Eghie has quit IRC | |
06:51 | hanthana has quit IRC | |
07:03 | Q-FUNK has joined #ltsp | |
07:18 | jammcq has joined #ltsp | |
07:19 | <jammcq> g'morning friends
| |
07:19 | <rjune_> morning
| |
07:26 | Q-FUNK has quit IRC | |
07:36 | Q-FUNK has joined #ltsp | |
07:40 | dirigeant has quit IRC | |
07:51 | Q-FUNK has quit IRC | |
07:56 | Q-FUNK has joined #ltsp | |
08:06 | klausade has joined #ltsp | |
08:13 | Q-FUNK has quit IRC | |
08:13 | Q-FUNK has joined #ltsp | |
08:14 | selffik has joined #ltsp | |
08:18 | mikkel has joined #ltsp | |
08:20 | alkisg has quit IRC | |
08:23 | alkisg has joined #ltsp | |
08:31 | <mistik1> morning guys
| |
08:35 | bobby_C has joined #ltsp | |
08:37 | Q-FUNK has quit IRC | |
08:40 | <rjune_> mistik1: sup
| |
09:15 | kharloss has joined #ltsp | |
09:21 | Q-FUNK has joined #ltsp | |
09:34 | Q-FUNK has quit IRC | |
09:53 | kharloss has quit IRC | |
10:07 | hanthana has joined #ltsp | |
10:36 | alkisg has quit IRC | |
10:43 | Egyptian[Home]1 has joined #ltsp | |
11:00 | Egyptian[Home] has quit IRC | |
11:10 | klausade has quit IRC | |
11:19 | plamengr has quit IRC | |
11:25 | chrisinajar has joined #ltsp | |
11:36 | Basti_gash has joined #ltsp | |
11:37 | Basti_gash has quit IRC | |
11:41 | alkisg has joined #ltsp | |
11:47 | Ahmuck has joined #ltsp | |
11:53 | Q-FUNK has joined #ltsp | |
12:14 | alkisg has quit IRC | |
12:16 | _UsUrPeR_ has joined #ltsp | |
12:18 | alkisg has joined #ltsp | |
12:21 | BlackDark has joined #ltsp | |
12:30 | Basti_dash has joined #ltsp | |
12:33 | Basti_dash has quit IRC | |
12:39 | _UsUrPeR_ has quit IRC | |
12:39 | _UsUrPeR_ has joined #ltsp | |
12:46 | japerry has joined #ltsp | |
12:48 | mikkel has quit IRC | |
13:15 | japerry has quit IRC | |
13:45 | johnny has quit IRC | |
13:45 | siki has joined #ltsp | |
13:55 | hanthana_ has joined #ltsp | |
13:56 | dirigeant has joined #ltsp | |
14:09 | hanthana has quit IRC | |
14:23 | kharloss has joined #ltsp | |
14:25 | hanthana_ has quit IRC | |
14:30 | chrisinajar has quit IRC | |
14:38 | japerry has joined #ltsp | |
14:47 | Egyptian[Home]1 has quit IRC | |
14:50 | japerry_cat has joined #ltsp | |
14:51 | japerry has quit IRC | |
14:52 | japerry_cat has quit IRC | |
14:52 | japerry has joined #ltsp | |
14:56 | japerry_cat has joined #ltsp | |
14:56 | ogra has quit IRC | |
14:57 | ogra has joined #ltsp | |
14:59 | japerry has quit IRC | |
15:03 | japerry_cat has quit IRC | |
15:03 | japerry has joined #ltsp | |
15:05 | Egyptian[Home] has joined #ltsp | |
15:08 | japerry has quit IRC | |
15:09 | japerry has joined #ltsp | |
15:11 | japerry has joined #ltsp | |
15:11 | japerry has quit IRC | |
15:12 | japerry has joined #ltsp | |
15:13 | Faithful has quit IRC | |
15:14 | japerry has quit IRC | |
15:23 | dirigeant has quit IRC | |
15:25 | kharloss has quit IRC | |
15:35 | alkisg1 has joined #ltsp | |
15:36 | alkisg has quit IRC | |
15:36 | alkisg1 is now known as alkisg | |
15:47 | petre has joined #ltsp | |
15:48 | <petre> !docs
| |
15:48 | <ltspbot> petre: "docs" is For the most current documentation, see http://wiki.ltsp.org/twiki/bin/view/Ltsp/LtspDocumentationUpstream
| |
16:05 | jstephan has joined #ltsp | |
16:12 | mathesis has quit IRC | |
16:16 | johnny has joined #ltsp | |
16:37 | captain_magnus has quit IRC | |
16:39 | selffik has quit IRC | |
16:43 | bobby_C has quit IRC | |
16:44 | captain_magnus has joined #ltsp | |
16:50 | Hyperbyte has quit IRC | |
16:50 | dirigeant has joined #ltsp | |
16:51 | alkisg has quit IRC | |
17:18 | dirigeant has quit IRC | |
17:25 | dirigeant has joined #ltsp | |
17:30 | Q-FUNK has quit IRC | |
17:53 | dirigeant has quit IRC | |
18:14 | japerry has joined #ltsp | |
18:29 | petre has quit IRC | |
18:41 | Hyperbyte has joined #ltsp | |
18:54 | siki1 has joined #ltsp | |
18:55 | siki has quit IRC | |
19:14 | siki1 has quit IRC | |
19:16 | johnny has left #ltsp | |
20:02 | japerry has quit IRC | |
20:05 | jstephan_ has joined #ltsp | |
20:20 | petre has joined #ltsp | |
20:21 | <petre> sbalneav, ping
| |
20:21 | jstephan has quit IRC | |
20:27 | petre has quit IRC | |
20:37 | chrisinanoffice has quit IRC | |
20:40 | X0d_of_N0d has quit IRC | |
20:42 | X0d_of_N0d has joined #ltsp | |
20:43 | randra has joined #ltsp | |
21:06 | johnny has joined #ltsp | |
21:18 | Ahmuck has quit IRC | |
21:19 | Ahmuck has joined #ltsp | |
21:25 | <sbalneav> Evening all
| |
21:47 | <rjune_> howdy
| |
21:54 | randra has quit IRC | |
22:03 | CaScAdE^1arAway has joined #ltsp | |
22:07 | CaScAdE^FarAway has quit IRC | |
22:08 | <jammcq> sbalneav: Scotty !!!!!!!!!!!!!!!
| |
22:27 | <stgraber> evening sbalneav
| |
22:27 | sbalneav: I'm working on improving screen_session so that you can switch SCREEN_XX without requiring a reboot, that's something we had quite a lot of request for ltsp-cluster but I'm not 100% sure of how to do it
| |
22:28 | for now I just moved the while loop making it recreate the environement, that works fine in most case but not all
| |
22:28 | as I'd like to start with a fresh environement everytime but as we do export I can't be sure the previous loop execution didn't set something I no longer want
| |
22:29 | easiest way I found to workaround it is to make screen_session to launch another script that'll set the environement and start the screen script, that way the environement of screen_session is always empty and as the loop is in it, every loop run the environement will be clean
| |
22:29 | I just don't know if there is another better way of doing it ...
| |
22:32 | sbalneav: http://ubuntu.pastebin.com/f3fda47d6 that's the current script I have, what I'd basically like is to make that the main() function can't change the parent environement
| |
22:32 | so if I have "export LDM_AUTLOGIN=True" somewhere in main(), the second time it's executed it won't be there anymore
| |
22:33 | the workaround I thought of is to make main() an external script instead of a function so that it'll do what I want
| |
22:35 | Ahmuck has quit IRC | |
22:35 | <sbalneav> Hm
| |
22:37 | Not sure how we could completely clean out...
| |
22:37 | one sec.
| |
22:37 | Lemme look something up
| |
22:39 | Ahmuck has joined #ltsp | |
22:42 | <sbalneav> Yeah, as I thought. There's no way to have a child process modify the parent.
| |
22:42 | Easiest way would be to create a function in the ltsp-common functions, called clean_env
| |
22:43 | that just does an: unset LDM_AUTOLOGIN
| |
22:43 | unset LDM_USERNAME
| |
22:43 | ...
| |
22:43 | ..
| |
22:43 | basically, unset all the possible ltsp variables.
| |
22:43 | <stgraber> well, unset everything that can be set in lts.conf, that makes a lot of variables
| |
22:43 | <sbalneav> yup :)
| |
22:44 | <stgraber> I guess I'll just go with making main() a separate script so that it won't be able to change screen_session's environement
| |
22:45 | <sbalneav> Making a clean function wouldn't be that hard. I could do it in about 10 minutes. Want me to do it.
| |
22:45 | ?
| |
22:45 | might be useful in other places eventually too.
| |
22:46 | <stgraber> well, do we have a good way of determining all non-standard environement variables (as in all that aren't set when you start a shell) ?
| |
22:46 | I don't want a static list as you can't now what custom variables will be used for some user-done screen.d scripts or ldm rc.d scripts
| |
22:48 | <jammcq> seems like it would be nice to have a documented standard naming convention for variables. a well-behaved screen script would follow that standard, and scotty's clean-up script would have an easy job
| |
22:48 | <sbalneav> Hmm, that's true.
| |
22:49 | yeah, I was just thinking. All ldm variables start with LDM_
| |
22:49 | if all the other variables started with LTSP_ or the like, then it would be easy to tell.
| |
22:49 | <jammcq> well, it's never too late to start
| |
22:50 | <sbalneav> :)
| |
22:50 | <Ryan52> well, some of the gtkgreet variables also start with LDM_. they should be GTKGREET_ instead. especially since someday the Qt greeter might be ready :P
| |
22:51 | anyway, that's irrelavant to this conversation. *goes back to whatever he was doing*
| |
22:51 | <jammcq> the clean-up script could have a plug-in capability. if you install a QT greeter, it should include a QT cleanup plug-in
| |
22:51 | <sbalneav> would the gtkgreeter variables be general enough to use for a Qt greeter? Could we just use GREETER_THEME, etc...
| |
22:51 | <jammcq> LDM could include a clean-up plug in as well
| |
23:03 | spud1 has joined #ltsp | |
23:04 | <spud1> Hi. What became of k12os.org?
| |
23:05 | <stgraber> sbalneav: what about something like: unset $(/usr/bin/env | egrep '^(\w+)=(.*)$' | \ egrep -vw 'PWD|USER|LANG' | /usr/bin/cut -d= -f1);
| |
23:05 | sbalneav: so we'd do it the other way around, specifying what we want to keep
| |
23:07 | <jammcq> stgraber: so when a user logs out, are you going to re-parse the lts.conf file before allowing the user to log in?
| |
23:07 | <stgraber> jammcq: basically what we want for ltsp-cluster is: you logout, X stops, you come back to screen_session, it gets what screen script needs to be executed and the rest of the environement and start the screen script
| |
23:08 | so it's like you're rebooting the computer as far as the configuration is concerned
| |
23:08 | you can basically change everything and it'll be updated at logout
| |
23:08 | <jammcq> yes, but..... that's how LTSP used to work, back around LTSP-4.0. we changed it around because we wanted to speed up the time to re-login
| |
23:09 | <stgraber> one of the request we have is in case where the SAN fails, so the session will crash, they will reload the config with LDM_AUTLOGIN=True and load an autologin session that doesn't have network mounted /home
| |
23:09 | currently they need to reboot 3k thin clients to do that
| |
23:10 | (taking like an hour to do even when remotely rebooting because of the dhcp/tftp/nbd servers being overloaded by the whole network rebooting)
| |
23:10 | <jammcq> how often does the SAN fail?
| |
23:10 | <stgraber> often enough for them to ask for a way to workaround it :)
| |
23:10 | <jammcq> seems like you'll be penalizing EVERYBODY for the off chance that a SAN would fail, which i'd imagine would be a rare occurrance
| |
23:10 | <rjune_> that's scary
| |
23:11 | <jammcq> seems like they should fix their SAN infrastructure
| |
23:11 | <stgraber> but same goes if the LDAP server goes done, ...
| |
23:11 | <rjune_> jammcq: I'm with you
| |
23:11 | <stgraber> they are also working on that with the guys at Novell
| |
23:12 | <jammcq> but there's some optimization that's been done to speed up the logout->login experience and you'll be removing that
| |
23:12 | <stgraber> we are asked to provide high availability and we don't choose what SAN technology they are using so we need HA even in degrated mode which is why we spent time implementing our autologin
| |
23:13 | <jammcq> what starts the screen scripts now?
| |
23:13 | <stgraber> jammcq: depends, we can call the reset environement only when /etc/ltsp/getltscfg-cluster.conf is present, so only affecting the ltsp-cluster setup
| |
23:13 | jammcq: screen_session does
| |
23:14 | <jammcq> It's been a long time since i've looked at any of the code, but I think we used to start the screen scripts from init
| |
23:14 | if you detect an error in a screen script, you could drop out of the script, which would cause init to respawn, giving you a fresh environment
| |
23:15 | or maybe it was init->screen_session->screen_script
| |
23:15 | <stgraber> nope, currently the loop is in screen_session, that's what's respawning the screen script
| |
23:15 | <jammcq> so screen_script could return something back to screen_session, and screen_session could be told to die, which should then be respawned by init
| |
23:15 | or upstart
| |
23:15 | again, giving you a fresh environment
| |
23:16 | a simple logout shouldn't cause screen_session to terminate
| |
23:16 | <stgraber> yeah, having it as a /etc/event.d script is what I'd like to have at the end but not until every distribution has it
| |
23:16 | <jammcq> so it would still be fast
| |
23:17 | <stgraber> I guess that for now, I just will reset the environement when ltsp-cluster is detected using something similar to the one-liner I copy/pasted before
| |
23:18 | so there won't be any performance change for regular LTSP and the ltsp-cluster users will be happy. If we then want it for regular ltsp too, we'll just need to make it so it use the same function and re-downloads lts.conf
| |
23:18 | sbalneav: ^ does that make sense ?
| |
23:18 | <jammcq> well, that way, you have what you want, and if it doesn't cause a performance problem, it's a simple change to make it that way for everybody
| |
23:20 | <sbalneav> Yeah, makes sense.
| |
23:29 | izad has joined #ltsp | |
23:29 | |Paradox| has quit IRC | |
23:30 | izad is now known as |Paradox| | |
23:31 | <spud1> So, is it stiill feasable to do a OpenMosix type cluster with k12ltsp?
| |
23:31 | <jammcq> does Openmosix still exist?
| |
23:32 | <spud1> discontinued since March
| |
23:32 | <jammcq> hmm, I thought it was gone years ago
| |
23:32 | is there something to replace it?
| |
23:33 | <spud1> Maybe, but I think you can still get it
| |
23:34 | <jammcq> well, because LTSP is now based on distro packages, including the standard kernel, it should be fairly straightforward to use it for clustering
| |
23:35 | if you can make normal disk-based linux work, doing it with ltsp should be almost the same
| |
23:36 | <spud1> Seems to make sence to bring in all those cpus
| |
23:36 | You could use a lower end server
| |
23:37 | <jammcq> well, are you talking about making a compute farm? or maybe you just want to run each users apps locally, on their thin client
| |
23:38 | <spud1> Don't know. A farm, maybe.
| |
23:39 | <jammcq> stgraber is working on ltsp-cluster, maybe that's what you need
| |
23:39 | <spud1> Thanks I'll look.
| |
23:47 | <stgraber> ok, building a new ltsp chroot with my changes to screen_session to make sure LTSP isn't affected at all. If it's fine I'll build some test packages to test the ltsp-cluster part, I hope to be able to tag a new LTSP tomorrow after I did my tests.
| |
23:47 | at this point ltsp-cluster will be entirely merged for its client part (chroot)
| |
23:50 | alkisg has joined #ltsp | |