/srv/irclogs.ubuntu.com/2009/10/16/#edubuntu.txt

jbichaanyone able to confirm bug 452622 ?00:00
ubottuLaunchpad bug 452622 in moodle "Moodle uses wrong config to restrict access to localhost" [Undecided,New] https://launchpad.net/bugs/45262200:00
LaserJockjsgotangco: just the man I want to see01:04
LaserJockjsgotangco: would you be able to make a Tues. 01:00 UTC meeting?01:04
jbichaI contributed a patch for my bug, is anyone able to sponsor?01:10
LaserJockjbicha: bug #?01:10
jbichabug 45262201:10
ubottuLaunchpad bug 452622 in moodle "Moodle uses wrong config to restrict access to localhost" [Undecided,New] https://launchpad.net/bugs/45262201:10
LaserJockjbicha: so if that works does moodle install ok with mysql?01:18
jbichayes, install mysql-server and php-mysql before installing moodle01:19
LaserJockjbicha: but postgresql is still not working?01:21
jbichaI've never used postgresql so I'm not sure why it produces the PGSL.5342 error01:23
LaserJockhmm, I wonder if it's a similar problem01:24
LaserJockdid you try it after your apache fix?01:24
LaserJock5342 is apparently the port that postgresql works on01:25
jbichanot yet, I could hunt around and see if I could get it to work01:26
jbichagrep: /etc/postgresql///pg_hba.conf: No such file or directory01:29
jbichaYour settings in /etc/postgresql///pg_hba.conf do not allow me to continue.01:29
jsgotangcoLaserJock: hi01:30
LaserJockah, I've seen that one before01:30
jsgotangcoLaserJock: let me check what time is that01:30
jbichaetc/postgresql/$VERSION/$CLUSTER/pg_hba.conf01:30
LaserJockjbicha: but you don't get the PGSL.5342 error?01:31
jbichaI thought the errors were the same, looking...01:31
LaserJockoh01:31
jsgotangcoLaserJock: 1UTC is just 9am here01:33
jsgotangcoso its workable01:33
LaserJockjsgotangco: ok, I'm looking over the results from our poll01:34
LaserJockjsgotangco: and that seems to be one that you'd have a chance of making01:34
LaserJockjsgotangco: what time is 13:00-19:00 UTC in your TZ?01:34
jsgotangco13 is 9pm01:35
jsgotangcoso that's workable01:35
jsgotangco19 is 3am01:35
jsgotangcoi should be ok form 13 to 1601:35
LaserJockok, excellent01:37
LaserJockjsgotangco: there were 4 times that looked good from the poll01:38
LaserJockjsgotangco: 2 of then look to be OK for you/asia01:38
jsgotangcogenerally if its morning in eu, its afternoon here so the difference isn't that big for us01:38
jsgotangcoare you in the east coast or west?01:39
LaserJockeast now01:39
jsgotangcothat's better that means our difference is just 10 hours or less01:39
LaserJockjbicha: it looks like a big part of the problem is that it looks like moodle is being installed before postgresql01:39
jsgotangcoso its probably just a quarter before 9pm there01:40
LaserJockjbicha: running dpkg --configure -a after install seems to clear some things up01:40
LaserJockjsgotangco: yep01:40
jbichaLaserJock: yes, installing postgresql first works for me01:46
LaserJockyeah01:46
LaserJockthe dpkg --configure -a cleared up everything01:46
LaserJockI got a seemingly fully working moodle01:46
jbichabut during the text-based install, the install completely stops at that point01:47
LaserJockwell, it could be because the task failed01:49
jbichaon the other hand, if you choose mysql, the installation won't stop even though mysql is not available in the installer01:51
LaserJockjbicha: btw, you're debdiff for the localhost issue looks good01:55
LaserJockjbicha: we're under Final Freeze right now which mean *every* upload has to be approved by the release team but I'll upload it if they approve it01:56
jbichathat's my first patch, good thing the fix was simple01:56
LaserJockjbicha: can you reupload a patch that just adds the localhost but keeps the 127.0.0.1 too02:02
=== lfaraone_ is now known as lfaraone
jbichaI believe localhost works without the explicit 127.0.0.102:03
LaserJockI know02:12
jbichaI just confirmed on Jaunty which didn't have the localhost issue02:13
LaserJockhere's what the release manager said:02:13
LaserJockI think you probably want to list both values, then?  Otherwise, you'll also be denying connections to <hostname> on systems that have dynamic IPs, which is arguably a regression?02:13
jbichado you still want me to keep the 127.0.0.1?02:13
LaserJockyeah, just add the localhost02:13
jbichaok, I'm not that great at networking02:13
LaserJockthat way we're not removing anything, just adding02:13
LaserJockneither am I02:13
jbichaok02:14
LaserJockbut it seems like the least possible way of having a regression02:14
jbichaI uploaded the new patch02:34
LaserJockjbicha: awesome, thanks02:38
LaserJocksweet, new daily out03:10
LaserJockand we only added 0.5GB03:10
sbalneavEvening all04:59
jbichagood morning05:03
alkisgGood morning05:06
sbalneavSo, looking into CiBux, which is what Skolelinux uses for ldap user management.05:10
alkisgI think the german .pdf has all the info for it... we need ogra for translation :)05:10
sbalneavI was happy to see that debian-edu was glad to see an edubuntu-er (?) in there.05:11
alkisgAh, you got in contact with them?05:11
sbalneavYup, did some chatting today,05:11
sbalneavLaserJock's going to answer all my packaging questions next week05:12
sbalneavSo, hopefully, I'll be able to start being more useful in fixing bugs.05:12
sbalneavWell, I've actally fixed LOTS of bugs, but I've never known how to actually DO anything with the fixes :)05:12
alkisgI couldn't understand from the docs, do they offer a "prepackaged" ldap schema?05:12
sbalneavAlso, I want to spend some time next week cleaning out the bug list for LTSP05:13
sbalneavalkisg: yeah, they do.  But it's.... kinda non-standard :(05:13
alkisgUgh... :(05:13
sbalneavI'm sure if someone explained to me all the wonderful advantages of it, I'd see the light, but for right now, it's "just one more thing to learn"05:14
alkisgI can help you with the bug cleaning if you want - I've been through them and I answered the ones that didn't involve code changes, but I could propose patches for the ones that you think are worth it.05:14
sbalneavStephane will be there, so what I'd like to do is sit down with him for an hour and just bomb through them all.05:15
alkisgSure that'd be the best05:15
sbalneavFigure out what's valid, and what's not.05:15
sbalneavWhat I'd really like to do is get all the LTSP stuff put to bed early in the 10.04 cycle, so I can concentrate on handbook, ldap, and fixing bugs in edu apps.05:16
alkisgSounds like a nice plan.05:17
alkisgWhat I'd like to do is put LTSP in ubiquity05:17
alkisg...a "[v] Install an LTSP server" somewhere in the graphical installer05:18
* alkisg has to leave for school, bye all05:21
alkisgHmmm there's a "Qt3 assistant" in the "Applications > Programming" menu in the karmic edubuntu dvd, which should be removed...08:33
alkisgThe same for Xscreensaver08:34
alkisgAh qcad depends on qt3-assistant... grrrr... The xscreensaver can be safely removed, though08:39
alkisg(or just ship qcad without the docs)08:39
alkisgI see 18 languages installed, but I've never heard some of them... maybe LaserJock should recheck the list...08:44
alkisgNext, the text installer... I don't see the installer text in Greek (all installer translations should be there; it's there in the Ubuntu CD)08:50
* alkisg scratches the previous statement and blames launchpad for using old translations...08:51
alkisgYup, I see a "Build LTSP chroot" task in the d-i08:51
jbichagood morning15:03
jbichais there any way that the installer can make sure postgresql or mysql are completely installed before trying to install moodle?15:04
LaserJockwell15:05
LaserJockI think pre-depends might work15:05
LaserJockbut is not favorably looked upon15:05
* alkisg also reports that "xscreensaver" and "qt3-assistant" should probably be removed...15:05
ogranot sure you can use "or" in pre-depends15:05
LaserJockogra: no, I would use a pre-depends in the edubuntu-server metapackage15:05
LaserJockleaving moodle as is15:06
ograah, yeah, that might work15:06
LaserJockalkisg: currently Ubiquity doesn't seem to be removing the extra packages after install, I'm not sure if those are some that should be gone15:07
alkisgLaserJock: I think qt3-assistant is a dependency of qcad-doc15:07
alkisgBut it really looks ugly to be in the menus15:07
alkisgAbout xscreensaver, I don't think the ubuntu dvd has it...15:08
LaserJockwell, there's not a lot I can do about that15:08
LaserJockhmm15:08
alkisg...and it can be safely removed, no dependencies there15:09
LaserJocksure, I just don't know how it's getting on there15:10
LaserJockI can see from the DVD manifest that we have xscreensaver but Ubuntu doesn't15:11
alkisgAbout qcad-doc, I just mentioned it to give it a thought that maybe we could ship qcad without qcad-docs for now... qt3-assistant is in the "programming" menu, we don't have anything else there, and of course if someone runs it it complains about qt3-docs missing. So it seems useless15:11
jbichawhat about "the language support is not installed completely" that pops up after installation is complete15:14
alkisgjbicha: which language?15:14
jbichaalmost all of them, here let me post the packages it wants to install15:15
jbichahttp://paste.ubuntu.com/29473615:16
LaserJockhmm15:16
LaserJockI can't figure out how xscreensaver is getting on there15:16
LaserJockok, I figured out the screensaver thing, kinda15:21
LaserJockxscreensaver-gl has a Recommends on xscreensaver|gnome-screensaver15:22
LaserJockwe're installing gnome-screensaver as a part of ubuntu-desktop so I don't know why it's picking it up15:22
LaserJockbut I think I can tell the seed to not let it on15:22
LaserJockas far as qcad-doc15:24
LaserJockwe can also tell the seed to not include that15:25
alkisgNice15:25
LaserJockthe language thing I might have to dig a tad deeper15:26
jbichaI believe today's DVD is still pulling in LTSP15:30
jbichaLaserJock: I don't know much about how these DVDs work, but my edubuntu preseed seems to still be http://bazaar.launchpad.net/~laserjock/debian-cd/edubuntu/annotate/1503/data/karmic/preseed/edubuntu/i386/edubuntu.seed15:45
LaserJockjbicha: I know, my changes haven't been pulled in yet15:48
LaserJockjbicha: hopefully by the next daily they will be15:48
LaserJockjbicha: did you see Edubuntu Desktop as an option in the text-based installer?15:48
jbichaLaserJock: yes, it is checked by default15:50
LaserJockexcellent15:50
LaserJockjbicha: was edubuntu-server there?15:50
jbichano15:50
LaserJockgreat15:52
jbichaif we can get it to work, I'd like to see edubuntu-server back in there15:53
LaserJockperhaps rather we should hold off until Lucid15:54
LaserJockeven if moodle was working, all edubuntu-server does is install moodle15:54
LaserJockit seems like it should install more than 1 thing to have such prominence15:54
jbichawhat about openssh server? that only installs 1 thing15:55
jbichaLaserJock:  and everyone who tries to install moodle without first installing pgsql/mysql will have difficulties15:56
LaserJockjbicha: yes, but we're at Final Freeze15:57
LaserJockand you only expect that openssh server will install an openssh server15:57
LaserJockedubuntu-server sounds like a lot more than 1 package15:58
LaserJockrather 1 app15:58
LaserJockif it ends up that edubuntu-server is "fixed" and is well tested then I wouldn't have too much of an issue putting it back in15:59
LaserJockI think it's a little silly, but I wouldn't object solely on those grounds15:59
LaserJockjbicha: heh, I had to get back to that part of the installer to get what you mean about OpenSSH server16:07
LaserJockjbicha: I wish I could get rid of those items in the installer, but I think that'd take some real digging into the code16:07
LaserJockjbicha: but you're right, there is some other pretty useless stuff in there16:08
jbichaLaserJock: that's part of the alt ubuntu CD aso, I think it's pretty useful16:08
jbicha*also16:08
LaserJockwell, I think it's maybe a bit confusing for our users16:08
LaserJock"hmm, what does Mail server mean? do I want that?"16:08
LaserJock"Samba, what the heck is that?"16:09
jbichaLaserJock: yeah, good point16:10
LaserJockof course one might argue that if you're using the text-based installer you should maybe already know or have a good guess what they mean16:11
jbichawell, Ubuntu's sorta African, and Samba's the Lion King, so it sounds pretty useful to me16:16
jbicha:-)16:16
cprofittLaserJock, are you here?17:02
LaserJockcprofitt: yep17:05
cprofittCool...17:05
cprofittI am being interviewed by an on-line educations magazine about open source17:05
cprofittand they want me to discuss edubuntu a bit17:05
LaserJocknifty17:06
cprofittwondering if I could get some information about the project and its future plans for you...17:06
LaserJocksure17:06
LaserJockcprofitt: got any particular questions in mind?17:08
cprofittwill the project have a release with 9.10?17:09
LaserJockcprofitt: or should I just ramble ;-)17:09
LaserJockcprofitt: yes17:09
cprofitthow can k-12 educators get involved with the project?17:09
cprofittis there a list of the add-on software that will be included with 9.10?17:09
LaserJockcprofitt: we will be releasing a full DVD for 9.10 (a dramatic shift from previous releases)17:09
* cprofitt smiles17:10
cprofittnice... that will be fantastic17:10
LaserJockthis will be somewhat of a rough release17:10
jbichaLaserJock: I created a moodle patch for bug 440098 that pre-depends on either pqsql or mysql, but how can I test-install it?17:10
ubottuLaunchpad bug 440098 in moodle "Edubuntu d-i fails when using postgresql as backend" [Undecided,Confirmed] https://launchpad.net/bugs/44009817:10
LaserJockcprofitt: I would call it more of a preview release17:11
* cprofitt nods17:11
LaserJockcprofitt: what we did was take the Ubuntu base + the Edubuntu addon and start making our own DVD17:11
LaserJockso there aren't a lot of new features17:11
cprofittI like the idea of doing that...17:11
cprofittI think it is a step in the right direction....17:12
LaserJockbut of course the existing packages have been updated17:12
cprofittabout teachers getting involved... is there a way for them to do so?17:12
LaserJocksure17:12
LaserJock1) test, test, test17:12
LaserJockwe're always in need of feedback from teachers who are actually using the software on the ground17:13
LaserJockwe want to know how they're using it17:13
LaserJockwhat would make their life easier17:13
cprofittis there an LP team to join, or should they just send email to ?17:13
LaserJockemail is probably best17:13
cprofittk17:13
cprofittto you?17:13
LaserJockeither edubuntu-users or edubuntu-devel17:13
cprofittmail list...17:13
cprofittk17:13
LaserJockedubuntu-devel is a friendly place17:14
cprofittas an FYI to introduce myself -- I am a Systems Administrator in a K-1217:14
LaserJockI've found that teachers think you have to be an uber-coder to join a -devel list17:14
LaserJockbut edubuntu-devel is a great place to just throw stuff out, see what's going on, etc.17:14
cprofittand will be giving a presentation on equity in schools which will feature F/OSS and ubuntu/edubuntu17:14
LaserJockexcellent17:15
cprofittI will make sure teachers do not think that17:15
LaserJockI've seen you around here or there17:15
LaserJockwe have a big need for documentation17:15
LaserJockeven things like "this is how you use <edu app>"17:15
cprofittthe magazine might have me do a monthly Q&A on F/OSS17:15
=== dgroos_ is now known as dgroos
cprofittsounds like I can help round some people up for documentation17:15
cprofittif you have the time LaserJock - http://www.classroom20.com/17:15
LaserJockor more interesting "this is how you can use <edu app> in your classroom to teach <subject>"17:15
cprofittis a good place for some very forward thinking educators and administrators in K-1217:16
cprofittbrb -- kids fighting17:16
LaserJockwe also need artwork17:16
LaserJockif there are artistically-inclined folks out there we'd love to have user contributions to our artwork package17:16
LaserJockalso sys admin scripts17:17
LaserJockif there's something you're constantly having to do an you've scripted a way to do it that you think might be helpful for others we're likely to start putting those in a central "repository" so other people can use/modify/contribute17:17
jbichaLaserJock: is there a way I can test-install my package to see if it correctly pulls in mysql or pgsql ?17:18
cprofittback LaserJock17:20
LaserJockjbicha: you need to do the predepends in edubuntu-server, not moodle17:20
LaserJockjbicha: you can't use the | in Pre-depends17:21
LaserJockcprofitt: in terms of roadmap, we're trying to align ourselves more with a focus on LTS releases17:21
cprofittI would think that best LaserJock17:21
cprofittevery six months is too much17:21
LaserJockcprofitt: essentially making LTS releases the "this is what you should install"17:21
LaserJockwe'll still have 6 month releases, but we'll be doing more of a cycle as follows17:22
LaserJockLTS (primary release)17:22
cprofittfor schools and teachers to handle....17:22
LaserJockLTS+1 maintenance (SRU, etc.)17:22
jbichaLaserJock: but moodle already pre-depends using a | http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/karmic/moodle/karmic/annotate/head%3A/debian/control17:22
LaserJockLTS+2 new features, rapid development17:22
LaserJockLTS+3 features basically complete17:22
LaserJockLTS+4 == LTS17:23
cprofittnice LaserJock17:24
LaserJockjbicha: ok, give it a try then17:24
cprofittis there an LP team I should join or just join the mailing lists?17:24
LaserJockcprofitt: we're still trying to get things in shape, transitioning to a DVD is not easy17:24
* cprofitt nods17:25
LaserJockcprofitt: the DVD for 9.10 should be capable of: 1) installing a standalone (no LTSP) Edubuntu desktop from a Live system 2) install a standalone Edubuntu desktop (with or without LTSP) from the text-based installer17:25
LaserJockand you can install just plain Ubuntu if you want ;-)17:25
LaserJockthe Live part also allows you to demo the educational apps17:25
LaserJockwhich has been a common request17:26
cprofittnice17:26
LaserJockcprofitt: for now the mailing lists are good17:26
LaserJockcprofitt: we're currently undergoing a LP team overhaul17:26
cprofittok... let me know when/if I should join an LP team.17:26
LaserJockwe'll be sending out emails I think as things progress17:26
cprofittI give two presentations a year in my state to the EDU crowd and want to ensure that I try and contribute what I can to the project17:27
cprofittLaserJock, have you heard of the UCLP project?17:27
LaserJockyeah17:27
LaserJockI would like to say that the *best* way teachers and IT admins can ensure that Edubuntu works for them is to get involved17:27
cprofittI want to have some courses in the UCLP which will help districts train their teachers to use edubuntu.17:27
cprofittI agree on the getting involved...17:28
LaserJockeven just testing out the Betas is a big help, we for sure can't fix bugs we don't know about17:28
LaserJockcprofitt: what's UCLP stand for?17:28
jbichaLaserJock: I don't think the patch should be in edubuntu-server, because we'll still have people that may try to install moodle w/o installing the database first17:28
cprofittUbuntu Community Learning Project17:28
LaserJockoh, right17:29
cprofitthttps://wiki.ubuntu.com/Learning17:29
LaserJockyeah17:29
jbichaLaserJock: unless we move all of the pre-setup-the-database stuff to edubuntu-server, and let people configure moodle the old-fashioned way17:29
LaserJockcprofitt: dinda hangs out here a bit17:29
* cprofitt nods17:29
LaserJockcprofitt: I'm getting a number of requests for training resources17:29
LaserJockjust private emails from people17:29
LaserJockI don't have time, resources for it17:29
cprofittI hope we can develop them... if you want pass the requests to me17:29
cprofittI really think the time is 'ripe' for Ubuntu and F/OSS in K-1217:30
LaserJockyep17:30
cprofittrestrained budgets, low cost computers, etc17:30
cprofittI do not want to miss this window17:30
LaserJocktraining courses would be a really big way for people to contribute17:30
LaserJockjbicha: well, try it in moodle first and see17:30
LaserJockjbicha: I'd like to not mess with moodle if we can help it17:31
cprofittwill the DVD release be ready for later October or ?17:31
jbichaLaserJock: it's not messing with moodle any more than the pre-setup questions already do17:31
jbichaLaserJock: I'd like to test-install the package but I can't get Synaptic to install the file or dpkg to install the dependencies17:32
cprofittLaserJock, the Moodle courses we make will be CC so schools should be able to download them to an Edubuntu server install w/ Moodle and use the courses17:34
cprofittLaserJock, do you have a tentative release date for the 9.10 Edubutnu DVD?17:35
LaserJockcprofitt: Edubuntu releases same time as Ubuntu and Kubuntu17:39
LaserJockthey're all built via the same scripts17:40
jbicha!karmic17:40
ubottuKarmic Koala is the codename for Ubuntu 9.10, due October 29th, 2009 - Karmic is BETA and MAY break - Discussion and support in #ubuntu+117:40
LaserJockjbicha: well, I mean we're adding a change that's not in Debian17:40
LaserJockjbicha: go ahead and test and see if it works17:40
cprofittthanks LaserJock17:40
jbichaLaserJock: but I can't figure out how to test it17:40
cprofittLaserJock, can you email me the list of training requests you have...17:41
LaserJockjbicha: apply your debdiff, build the .deb, and install it17:41
cprofittthat way I can try to get those courses built.17:41
LaserJockcprofitt: right now they're very generic along the lines of 1) "how do I build a school lab using Edubuntu?" 2) "how do I install Edubuntu?" 3) "how do I use the edu apps?"17:42
LaserJockoften it's geared towards "is there any training materials that I can point teachers to?"17:42
LaserJockjbicha: do you know how to build a .deb from your source package?17:43
jbichaLaserJock: I get http://paste.ubuntu.com/294825/ but I can't fully tell if that fixes the bug or not17:43
LaserJockjbicha: you're using dpkg -i to install it?17:44
jbichayes17:44
LaserJockrun apt-get -f install and see if that helps17:44
cprofittLaserJock, basic or generic is fine with me. Anything will help. If I can get the email of the requester I would be happy to interface with them17:45
cprofittAs a sysadmin for a K-12 I have to figure out what teachers are saying very often17:45
cprofitt:-)17:45
jbichaE: Couldn't find package moodle_1.9.4.dfsg-0ubuntu4_all.deb17:45
LaserJockjbicha: hmmpf17:46
jbichait seems like dpkg & the apt database are two separate things17:46
LaserJockcprofitt: ok, I'll dig through my email and forward what I find17:46
LaserJockjbicha: kinda17:46
cprofittthanks LaserJock17:47
LaserJockjbicha: try grabbing the .debs for the postgresql dependencies17:47
jbichaLaserJock: what if I put in my PPA ?17:47
LaserJockjbicha: yeah, that'd work17:48
LaserJockI think the Air Force might expect me to get some work done today17:48
LaserJockso I think I better take off for a while17:48
cprofittLaserJock, this is the rough on what I will add to the questions they asked about F/OSS and Ubuntu17:48
cprofitthttp://pastebin.com/d5f4de57b17:48
LaserJockcprofitt: coolio17:50
cprofittthis would be the complete version -- http://pastebin.com/d6979cf2f17:50
cprofittwith their questions...17:50
cprofittI will let you know if this does turn in to a monthly column.17:51
LaserJockcprofitt: btw, it might be worth mentioning that ZaReason sells computers with Edubuntu preinstalled17:52
cprofittZaReason... let me check them out17:52
LaserJockthey're roughly like System7617:53
cprofittdo they take POs from schools?17:53
LaserJockI have no idea17:53
LaserJockthey're just the only people I know that offer Edubuntu as an option17:54
cprofittk... will do some research on them...17:54
cprofittand I will try to give them a mention as well.17:54
* LaserJock is out but will read backlog later17:54
alkisgsbalneav: (Hi!) You said yesterday that you've been using shared desktops for years... how do you handle the case where one user changes seats, and needs to share his desktop with another user? How do you migrate his documents?18:38
=== jfluhmann_ is now known as jfluhmann
jbichagrr... I have to wait 5 hours for this PPA to build19:17
LaserJockI hate you Internet Explorer!!!!!!!!19:21
* mhall119|work feels LaserJock's pain19:21
LaserJockit's also annoying to work for a company that's 3000 miles away :/19:22
LaserJockI try to do all my financial stuff via IE and Outlook19:24
LaserJockand bamm the whole thing crashes19:24
cprofittLaserJock, I feel you pain... I have to work with MS and Apple products at work19:28
LaserJockI was successfully MS free for 3 years (except for Tax time) before this job19:28
LaserJocknow I've got Vista :(19:28
LaserJockand a crashing IE19:29
jbichawow, bleeding edge for the US govt19:29
LaserJockwe're all converting over19:32
LaserJockI got a new computer so I got to be an early user/victim19:32
mhall119|worklucky you19:33
sbalneavalkisg: We've used shared folders for years.19:33
LaserJockyeah, they take you computer for 1.5-2 days when they upgrade them19:33
cprofittgah19:33
cprofitt1.5 days for a conversion?19:33
alkisgHeya sbalneav. How do you handle the case where a user switches "teams"?19:33
sbalneav$HOME is for personal documents, and we set up a /home/share19:33
cprofittWe can do one in 1 hour19:34
sbalneavTeams we usually handle with groups19:34
sbalneavso, we have /home/team1share19:34
sbalneav/home/team2share19:34
LaserJockcprofitt: yeah, well, government19:34
sbalneaveetc.19:34
LaserJockcprofitt: they have to reinstall everything19:34
sbalneavgroup owned, sticky bit and/or acls19:35
alkisgsbalneav: what I mean is: Students s1, s2 and s3 sit in PC1. Two of them fight, so s3 needs to go to sit in PC2. What do you do with the shared folder in that case?19:35
cprofittLaserJock, we use images...19:35
sbalneavSo, you'd have /home/pc1share19:35
sbalneav/home/pc2share19:35
cprofittand reinstall everything...19:35
sbalneavand /home/globalshare19:36
sbalneavcopy documents from /home/pc1share -> globalshare19:36
sbalneavchange students group19:36
sbalneavmove document from global -> pc2share19:36
sbalneavmv's and/or cp's as applicable.19:37
sbalneavOr, if easier, use mail.19:37
alkisgWon't that overwrite the existing files in pc2share? (from exersices with the same name...)19:37
sbalneavA name change might be required, yes.19:37
cprofittsbalneav, are the files on a server?19:38
sbalneavLTSP servers, yes.  We also have NFS shared home dirs.19:38
mhall119|worksbalneav: why all teh share stuff?19:39
alkisgIs NFS encrypted?19:39
alkisgI.e. if someone listens on the network, will he be able to pick up the data from ~/.* configuration files?19:40
cprofittI am not familiar with your setup...19:40
sbalneavmhall119|work: Well, we work in a work environment.  Just because one secretary creates a document, doesn't mean during the life of the document, he/sh will be the only one WORKING on it.19:40
cprofittis the student moving from one computer/terminal to another?19:40
sbalneavalkisg: NFS is not normally encrypted, no.19:40
mhall119|worksbalneav: right, but wouldn't symlinks or something work better?19:41
sbalneavNo19:41
sbalneavWho's going to create and/or maintain all those symlinks?19:41
mhall119|workjust symlink folders19:41
sbalneavSetting up a shared folder's a ONE TIME thing.19:41
alkisgsbalneav: what do you think about the idea to, instead of using groups, have a script "rsync" the shared folder (between teams) each time the users log off?19:41
mhall119|worksbalneav: or use something like unionfs19:41
cprofittsbalneav, shared folders and home directories should not need to be moved if they are on a server19:41
sbalneavI think it's a bad idea.19:41
sbalneavtoo much can go wrong.19:42
alkisgI.e. /home/user1/Documents/shared <rsync-with> /home/user2/Documents/shared19:42
sbalneavcprofitt: correct, and they don't need to be.19:42
cprofittok...19:42
cprofittI misunderstood your question then19:42
cprofittmy apologies.19:42
sbalneavmhall119|work: How's unionfs going to work over a network?19:42
sbalneavyou need a network filesystem to unionfs with19:43
mhall119|workI think you can unionfs two NFS mounts19:43
sbalneavHmmmmmm I wonder what a good Network File System is.....?19:43
sbalneavNetwork File System19:43
sbalneavmhall119|work: Why?19:43
sbalneavWhat's that going to do that having shared directories ISN'T going to do19:44
alkisgsbalneav: what exactly do you export with nfs? The whole /home?19:44
sbalneavyes19:44
alkisgAnd, do you have any local accounts in e.g. /localhome ?19:44
alkisg(for emergencies)19:44
sbalneavI can.19:44
sbalneavUsually, I just use root for that :)19:45
sbalneav(I'm bad and set a root password DON'T TELL ROCKETMAN!!!)19:45
alkisgI'd like 1 user to be able to teach when the server is down... :)19:45
alkisg:D19:45
sbalneavSo, set up one "local" ony user per machine19:46
LaserJockis it ok that I'm totally confused by the conversation?19:46
sbalneaveveryone else just nfs mounts /home from the server.19:46
sbalneavit's like 1 line in /etc/fstab :)19:46
sbalneavLaserJock: We're talking about shared home directories.19:46
alkisgAnd, all the user home dirs *have* to be on the server, right? I mean, I can't have /home/user1 on pc1, and /home/user2 on pc2, and share /home with nfs, right?19:46
sbalneavalkisg: Well, not without a lot of difficulty.  For the cost of one extra machine, just set up an NFS server.19:47
alkisgOK, thanks a lot sbalneav.... when will you be so kind to put up a wiki page to tell us dumb teachers how to setup that with full details? :D19:48
LaserJockyou know19:49
LaserJockthe thing that I find the hardest about LTSP is that there's like an infinite number of combinations to putting the pieces together19:49
sbalneavalkisg: sure.19:50
sbalneavLaserJock: And a desktop, and a network, and a database, etc etc etc.19:50
sbalneavI set up our original network here at Legal Aid in 199219:51
LaserJockright, but like Ubuntu you can basically just plop it out of the box19:53
LaserJockbut with all the different network and server configurations you can do19:53
LaserJockI don't know how you ever get all that great of documentation for LTSP19:53
sbalneavSo I've had 17 years of beating the bugs out of the system.  Like a lot of system administrators, I'm secretly lazy, so I want things to work with the minimum amount of fuss down the road.19:53
sbalneavWell, it's tough.19:53
LaserJockunless you go to concrete "profiles"19:53
sbalneavYeah, but you can't go with anything concrete19:54
sbalneavbecause then some guy like alkisg comes along with his completely whacky "3 people sitting in front of a machine" scheme.  I'm sure it works for him, and I'm sure he has good reasons for it, but it's kind of hard to account for EVERY possible way to use a tool.19:55
sbalneavWhat a "professional sysadmin" <bwahahaha> like me tries to do is try to get people to be AS BOG STANDARD as I can cajole/wheedle/browbeat/insult them into being, knowing that DOWN THE ROAD, it's what's going to cost them the least amount of grief.19:57
sbalneavAfter that, we try to accommodate oddities "as best we can"19:57
alkisgIn Greece I think that the majority of teachers only use one user account per PC, always logged on, and have different folders for each class in the desktop20:01
alkisgA few ones have 1 account per class/per pc, and I think I'm the only one that tried to have 1 account per user and failed... :(20:01
mhall119|worksbalneav: sorry, had to step out for a minute20:02
LaserJocksbalneav: sometimes I think it is better to settle on a few "typical" or "supported" use cases and document them very well than being so vague in order to cover many possible use cases20:04
LaserJockat least that's how I felt when trying to write the packaging guide20:05
alkisgThat's what I'd like to have in edubuntu... "prepackaged solutions" for such problems :)20:05
alkisg(for the typical solutions, I mean...)20:06
LaserJockI just don't know what "typical solutions" are when it comes to LTSP20:07
LaserJockI can figure it out for the edu apps and maybe an edubuntu server20:07
alkisgLaserJock: there is a very well defined typical solution for LTSP20:08
alkisgYou need 2 NICs on the server, 1 is connected to the internet, the other one to a switch with the ltsp clients20:08
alkisgIt works out of the box in that case - no configuration file editing needed20:09
alkisgAh, here's another one struggling with shared desktops... Hi Lns! :)20:12
Lnsstruggling? =)20:13
Lnshey alkisg20:13
alkisg(we were talking about what happens when 3 people are sitting in a PC and have different accounts but a common shared folder, and one of them needs to move to another pc... )20:14
Lnssitting in a pc? that's gotta be hard! =p20:14
LnsI think shared folders would be your last line of concern with that kind of a setup20:15
alkisgHeh!!!20:15
Lnsyou mean 3 people on a single pc?20:15
alkisgYup20:15
Lnshow do you even do that?20:15
alkisgWell, if you have 30 students, and 10 pcs, what are you gonna do?20:15
Lnsso there's 3 people sitting simultaneously at a pc20:16
alkisgYup. 2 or 3 usually.20:16
Lnscommon shared folder between all 30 users? or just the 3?20:16
alkisgJust the 3. And maybe one global folder for the teacher to put the assignments20:16
Lnsk20:16
Lnshow is it 'shared' ?20:17
mhall119|workalkisg: are all 3 logged in with different user accounts at the same time?20:17
alkisgmhall119|work: I'm still trying to find out the best way to organize this... Usually, teachers here only have 1 account per pc!!!20:17
Lnsalkisg: are these ltsp clients or standalone pcs?20:18
alkisgmhall119|work: but, like sbalneav said, it's probably better to let only one of them logon20:18
alkisgLns: it doesn't really matter, does it?20:18
Lnsmaybe not, but it'd help to clarify20:18
Lnscommon fileserver is the question i guess?20:18
alkisgLns, I'd like a common solution for both cases, as I'd like to propose the solution to all schools in greece that use linux20:18
alkisgYes, a common fileserver, either ltsp or nfs20:19
Lnsk20:19
Lnswell i mean, a fileserver is going to be your answer...shared folders that work across user accounts..ldap+nfs?20:20
Lnsnot sure what the issue is exactly20:20
alkisgThe problem is that handling the shared folders takes a lot of time...20:20
Lnswhat do you mean?20:21
mhall119|workalkisg: explain to me why the shared folders are necessary20:21
alkisgOK let's start with that20:21
alkisg3 people sitting on the same PC. One of them logs on.20:21
alkisgWhen the lesson ends, shouldn't the other people have the files from the exercises?20:22
alkisgIf only one of them logs on, only he gets to have the files20:22
alkisg(I mean e.g. a drawing that they did, or a document that they wrote)20:23
mhall119|workokay, so 3 students taking the lesson together, but only using a single account?20:23
alkisgCan you think of a better way?20:23
mhall119|workhmm....20:23
alkisg...and maybe the next week the other student gets to logon... taking turns20:24
mhall119|workare these persistant groupings?20:24
alkisgUsually yes, except for when they fight and they need to change groups20:24
alkisgMaybe once per year...20:24
mhall119|workand they need to take their old work to the new grouping?20:24
alkisgIt'd be nice if they could, yes20:24
alkisgThat's the worst part :(20:24
Lnsimho the most flexible approach is going to be "shared folders"...whatever method you choose to do that is really up to you though. I'm not sure what you mean by it being hard to manage them.20:25
alkisgLns, I need to create a group for each of those groups.20:25
Lnsok20:25
Lnsor you could use ACLs20:25
alkisgE.g. if I have 300 students, I'll need 300 accounts, and 100 groups20:25
Lnsk20:25
Lnsand? =)20:25
alkisgAnd I'll need 100 shared folders, with the correct groups and symlinks etc20:25
Lnsor you could just use one user account for the 3 people and have 100 users and no groups20:26
alkisgAnd if one user needs to change seat (group) I'll need to change his group, create a new symlink etc20:26
alkisgRight20:26
alkisgThat's what I proposed yesterday, but sbalneav said it's a bad idea legally20:26
Lnsi dunno about legal stuff, but it seems kind of restrictive technically to me20:27
Lnswhat's up with symlinks? are you doing this all on desktops?20:27
Lnswhy not have a /home/share tree with all the shared folders?20:28
alkisgThat's what I thought, too. So now I don't know for which method I should start creating scripts for...20:28
Lnsor /srv might be better as far as standardization goes20:28
alkisgWell, isn't it better if they see the shared folder inside their documents?20:28
Lnssure20:28
Lnswith what you showed me with user-dirs.dirs would be easy :)20:28
Lns/home/user/Documents20:28
mhall119|workalkisg: how about if your shared folders are a unionfs of the individual user's folders20:29
Lnsif user is in group xyz, sed -s user-dirs.dirs blah blah (upon login)20:29
mhall119|workI think you can set it up such that writing to the union-ed shared folder writes to all the individual user's folders20:30
alkisgLns, sure, but again there's all the group (=seat) overhead...20:30
mhall119|workbut then when you move a user, you have differing copies being union-ed together, I'm not sure how that gets handled20:30
alkisgmhall119|work: but how would that work if a user changed seat (=group)?20:30
Lnsright...you sacrifice ease of use for flexibility in many situations like this20:30
mhall119|workalkisg: you change the union for the group, removing his/her folder from the old group share, and adding it to the new group share20:31
* Lns needs to read up on unionfs20:31
mhall119|workyeah, i'm no expert in unionfs20:31
mhall119|workbut I think that's possible20:31
alkisgmhall119|work: I think the "writes" only go to one of the directories, don't they?20:32
mhall119|workI don't know, I thought you could write to all20:32
alkisgI think you can read from many, but only write to one....20:32
Lnsalkisg: the group membership overhead is a one-shot deal, after that the only time you'd need to touch it is if someone changes groups.20:33
mhall119|workyou can write a FUSE filesystem do to this20:33
alkisgmhall119|work: ugh, I'm looking to make things easier :)20:34
mhall119|worklol20:34
Lnslol20:34
alkisgheh20:34
mhall119|workhttp://search.cpan.org/~dpavlin/Fuse-0.09/Fuse.pm20:34
mhall119|workPerl + Fuse, what could possibly go wrong?20:35
alkisg;)20:35
alkisgAnyway... thanks a lot for you thoughts guys... argh I hate not having 1 PC per student :(20:36
Lnsalkisg: that's like that in a lot of schools unfortunately :(20:41
mhall119|workalkisg: you could always just periodically rsync shared folders to user folders,and make them always save to the shared folder20:44
alkisgWell if they're gonna change seats, it's still going to be problematic (different contents)20:45
Lnsyikes.20:46
Lnsalkisg: so you need the stuff they're working on in the shared folder AS WELL as their home dir?20:47
mhall119|workalkisg: true, so maybe a separate folder for each assignment?20:48
alkisgLns, their Documents dir could be their shared folder, no problem there.20:49
Lnsk20:49
Lnsso just adjust their user-dirs.dirs file whenever they log in20:49
Lnsyou have a lot of manual work to do no matter what, you have 3 people to a group. if you write a script you can only bunch up 3 at a time..100 runs of the script20:50
alkisgMy goal is to make everything automatic :)20:51
Lnsyou have to do SOME work no matter what, man ;)20:51
alkisg...the UI I'm thinking for the teacher is a classroom plan (?) where he drags'n'drops the students to the PCs where they're sitting..20:51
Lnsyou're going to design this?20:53
alkisgI hope so :)20:53
LaserJockalkisg: how do the students log in?20:55
alkisgI'm between 2 solutions: one, the classical one, each of them with his own username/password20:55
alkisgThe second solution is the one you said, with 1 user per pc / per class (=100 accounts in total)20:55
alkisgIn this case the teacher may select to logon the class A1 automatically from the UI...20:56
alkisgSo the users wouldn't even need to know their usernames/passwords20:56
LaserJockso if we take solution 220:56
LaserJockand the student moves to a different pc20:57
alkisg(and if sshfs was used instead of nfs, even ACLs/groupping wouldn't be neccessary)20:57
LaserJockyou want them to get at their files from the original pc?20:57
alkisgThe document mergingis still the same problem.. :(20:57
alkisg*merging20:57
LaserJockok, well, so what if you had group-driven shares20:58
LaserJock?20:58
Lnshe doesn't want to take the time to make groups ;)20:58
alkisgMeaning?20:58
LaserJockso say each PC get's a group20:58
LaserJockyou have 100 groups20:58
alkisg...and 300 user accounts? or 100 user accounts?20:58
LaserJockeither20:59
LaserJockwell20:59
LaserJockeither works20:59
LaserJockbut when a student move then everybody in his group will have access to the "merged" share20:59
LaserJockyou can't have 1 account/computer and then expect the computer to distinguish between who's looking at it :-)21:00
LaserJockbut say you have a 1 shared folder / group21:00
LaserJockif student X moves from PC 1 to PC 2 you then put in in both group1 and group221:01
LaserJock*put him in21:01
alkisgIf they fight, I don't want to give him write access to PC1 documents :)21:02
LaserJockthen drop him from PC221:02
alkisgI think I'll settle with putting the documents of the moving user to /home/PC2/Documents/<moving-user-docs> and let him manually settle them over time... :-/21:02
LaserJockso you want him to have read-only access to PC1 documents?21:03
* LaserJock is trying to figure out the actual problem21:03
alkisgI'm sitting on PC1. I write a document named "hi.doc". I argue with them, so I move to PC2. The student already sitting there also has a "hi.doc"21:04
alkisgI can't just "mv" the document, as it'll overwrite the other student's "hi.doc"21:04
alkisgSo I'll have to make the moving user a copy and let him rename it to hi-george.doc or something...21:04
alkisgBah it's a mess :(21:04
LaserJockwell, 2 thoughts21:05
Lnssounds like there should be a much easier way21:05
LaserJock1) just like file conflicts in a VCS, sometimes there is nothing a computer can do to solve the problem21:05
LaserJock2) it's certainly possible to give him access to shares on both PC1 and PC2, I'm not sure about giving him access to PC2 and only read-access to PC121:06
LaserJockunless you want to make all groups have read-only access and then only right permission to groups that the student is specifically a member of21:08
Lnsalkisg: are you set on using an already established dir for shared stuff (eg. ~/Documents) ?21:08
alkisgLaserJock: No no some teachers don't want that, because some students copy the work of others21:08
alkisgLns, I'm not even set on using a shared folder yet :(21:09
Lnshaha21:09
Lnswell21:10
alkisgE.g. rsync on logout may as well be an option... or just let *them* copy whatever files they need (=read access to group accounts)21:10
LaserJockhmm21:10
Lnswhat *I* would do personally is set up a shared dir hierarchy for each PC and groups for users that map permissions to those shares. To me that sounds the most flexible and easiest to deal with future "issues".21:10
LaserJockalkisg: you know, you could tell the student "hey, this is what happens when you fight, you get to start over again"21:11
Lnsif a student has to move, they can copy the files to their own homedir and bring them to the new share.21:11
alkisgLaserJock: I've seriously considered this as the best solution!!! :D21:11
LaserJockwhat you could do is have a UI that would allow the teacher to temporarily set permissions21:12
LaserJockit would be easiest to do that on a per/session basis21:13
LaserJockbut maybe something more temporary could be done21:13
alkisgLaserJock: if I used sshfs to mount the user homedirs instead of nfs, then the users would only see their own home folders. And it would be even possible for all their files on the server to be owned by the teacher, moving them around without worrying about permissions... :)21:14
alkisg(something like "virtual" home dirs, all under the teacher's documents...)21:14
LaserJockyou can't do that with nfs?21:15
alkisgI don't think so21:15
alkisgsshfs provides for mapping to a specific uid/gid, I don't think nfs can do that...21:15
alkisgPlus the traffic would be encrypted = safer21:15
jbichawell, in the "fighting" scenario ... shouldn't the kids have to work together whether they like it or not?21:25
jbichaand if a kid can't play nice, then why does he need to take the group's work with him to the next group?21:25
LaserJockor for that matter, you could give him a USB stick to transfer his docs21:30
Lnsalkisg: how would a student "merge" his previous group's work with the new group anyway?21:32
alkisgLns: well, I guess he'd rename what files he wanted21:33
alkisgI.e. I could put his files to <newteam>/Documents/moved-user-files/*, and he could rename them and put them in the "correct" place, in <newteam>/Documents/*21:34
Lnsyikes21:35
alkisg(and delete the ones he didn't want to keep, e.g. the ones the other students made)21:35
alkisgYeah in the moving scenario it sounds better if each students has his own files, and no shared folder whatsoever :D21:35
Lnssounds to me like if a kid misbehaves he has the consequence of having to inherit the new group's work instead of feeling good about having contributed up until that point21:36
Lnsbut if it's being graded, that presents an issue too21:36
alkisgYes, and also sometimes you don't really know who's to blame21:37
alkisgYou just know that they need to be seperated21:37
jbichaif he has good ideas, he can share them with the next group, he's just as likely to share the work of the other students in the previous group anyway21:37
Lnsthis is a real interesting scenario21:38
alkisgIf I could see which files they created or modified *today* I could only copy those files to each of the group members21:41
alkisg...but I don't think that would work correctly in all cases (e.g. teacher copying some exercises in their home folders or downloading some old files from the internet etc)21:43
LaserJockwhat you need is to put all of their files in bzr or git21:43
* alkisg imagines "bzr branch the-movie-I-downloaded-from-youtube" :P :D21:44
Lnslol21:44
alkisgI think the best way would be to show the 2 other students a synchronization dialog on logout, i.e. "I automatically synched whatever files I could, but there are conflicts on the following files, please specify what to do:"21:47
alkisg...so they could check the files they needed to overwrite... or if they didn't care, they could just close this dialog21:48
Lnssounds like it'd be real confusing to the students21:49
lfaraoneI'm experiencing really shoddy performance when using iTalc (installed on the server) via LTSP. The management console freezes often, and control of the student desktops is amazingly slow. Am I doing something wrong, or is there some way to speed this  up?22:35
cprofittlfaraone, have you ensured the issue is not network related?22:39
lfaraonecprofitt: Yes, this is with two clients on a 100mbps switch. Other apps work fine, as does VNC.22:40
cprofitthmm...22:41
lfaraonecprofitt: see bug 418150, apparently I'm not the only one22:51
ubottuLaunchpad bug 418150 in italc "Option to disable graphical effects in iTalc" [Undecided,New] https://launchpad.net/bugs/41815022:51
cprofittlooking now22:52
cprofitthmm... they are saying it is graphics driver releated22:53
cprofittI will have to play with that...22:53
cprofittI have not noticed issues wit iTalc like that22:53
lfaraoneWell, I don't remember what graphics cards we are using at the lab, but I think it's not Intel at least.22:55
lfaraoneI'm wondering if the older iTalc interface would have the same issues... when I tried compiling it from source, however, there were a bunch of errors; not something I'm inclined to shift through.22:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!