/srv/irclogs.ubuntu.com/2009/12/29/#edubuntu.txt

sbalneavMorning all14:20
sbalneavI am so freamking mad I could spit.14:21
sbalneavSo, after spending MONTHS getting sabayon to work, and testing compiles in lucid, to make sure it works THERE as well, I did a push (with stgrabers help) up to lucid.14:22
sbalneavsabayon works great, if started with sudo14:22
alkisgsbalneav: relax man... what's troubling you?14:22
sbalneavbut now, gksu's broken!!!14:23
sbalneavWhaaaaaa14:23
sbalneavI can't catch a break :)14:23
alkisgSo if you start it with gksu it doesn't work?14:23
sbalneavYeah, under karmic, you can start sabayon fine under gksu, and under BOTH you can start sabayon with sudo, if you xhost+ before you start.14:24
sbalneavyeah, doesn't work on lucid under gksu14:24
alkisgPolicykit1 issues, I imagine?14:24
alkisg!info gpaint14:29
ubottugpaint (source: gpaint): GNU Paint - a small, easy to use paint program for GNOME. In component main, is optional. Version 0.3.3-3ubuntu1 (karmic), package size 114 kB, installed size 772 kB14:29
alkisg!info gpaint lucid14:29
ubottugpaint (source: gpaint): GNU Paint - a small, easy to use paint program for GNOME. In component main, is optional. Version 0.3.3-3ubuntu1 (lucid), package size 114 kB, installed size 772 kB14:29
sbalneavalkisg: not sure :(14:46
sbalneavOne of the things I used to like about Linux/Unix was how it was simple and made sense.  Now with DeviceKit/PolicyKit/D-Bus, etc, it's getting... not simple.14:48
sbalneavI'll have to fix it, I assume.14:48
stgrabersbalneav: did you try with gksudo ?15:09
sbalneavyeah15:11
sbalneavboth exhibit the same problem.15:11
sbalneavgksu itself hasn't changed versions from karmic, but libgksu has15:11
sbalneavso, obviously, something's gotten "mucked up"15:11
stgrabersbalneav: what exactly is failing ?15:33
sbalneavit fails with an assertion error that some string shouldn't be null15:35
sbalneavBy the time I got it last night, I was too p.o'd to dig into it.15:36
sbalneavI'll have to figure out what's failing tonight.15:36
stgrabersbalneav: looking at LP, it's not the only software that's this issue15:37
sbalneavreally?15:37
sbalneavlinks?15:37
sbalneavbrb15:37
stgrabersbalneav: jockey had the same issue15:37
alkisggksu output: http://paste.ubuntu.com/34861415:39
sbalneavyeah, that's it.15:44
sbalneavhow did jockey solve it, or haven't they yet?15:44
stgrabersbalneav: looks like jockey had the issue because they used policykit but not completely correctly15:44
stgraberI suspect it's not sabayon's case ?15:44
sbalneavsabayon doesn't use policykit at all.15:46
sbalneavI shouldn't NEED to use policykit: I'm using gksu15:47
alkisgsbalneav: gksu gksu ls ==> has the same problem15:51
alkisgSo gksu doesn't work with gksu...15:51
alkisgSo if you want, make an "if I'm root, don't call gksu"15:52
stgraberalkisg: well, it's failling as regular user too15:57
alkisgstgraber: what is failing?15:57
stgraberstgraber@castiana:~$ gksu sabayon15:58
stgraberMainThread 2009/12/29 10:58:13.5550 (admin-tool): Creating profiles dialog15:58
stgraber(gksu:27662): GLib-CRITICAL **: g_str_has_prefix: assertion `str != NULL' failed15:58
alkisgRight, I mean this:15:58
alkisgsabayon must have a gksu call inside its code,15:58
alkisgso if you also run it with gksu, it fails15:58
stgraberit doesn't15:59
stgraberstgraber@castiana:~$ grep -r gksu /usr/share/pyshared/sabayon/15:59
stgraberstgraber@castiana:~$ grep -r gksu /usr/bin/sabayon15:59
sbalneavNo, it never sudo's within the code15:59
stgraberit's just checking if you're root or not in the code, if you are it shows an error message15:59
sbalneavit just checks to see if it's running as root15:59
sbalneavit's a pythin script, and there's no way to make setuid python scripts16:00
sbalneavthat's why we need gksu16:00
sbalneavand gksu SHOULD work.16:00
sbalneavI don't buy into this whole "YOU SHOULD REWRITE YOUR ENTIRE APP TO USE POLCYKIT" philosophy16:01
sbalneavespecially seeing as policy kit is horribly horribly broken for remote X displays.16:01
sbalneavsee: can't run the user add window over a thin client.16:01
sbalneavalkisg: Good point on gpaint.16:05
sbalneavI'd support dropping it for kolourpaint.16:06
alkisgsbalneav: thanks, well, it's nothing important, it's just package selection, but why include a broken app when there's a much, much better one available?16:07
alkisgAnyway. Shouldn't there be an /etc/pam.d/sabayon file? I don't see  it in Lucid...16:07
sbalneavno, it's not really needed.16:07
sbalneavI'm not sure why the heck sabayon includes one, seeing as how sabayon never talks to pam16:08
sbalneavI think it may be an artifact.  Let me check the code to be sure16:08
sbalneavyeah, it was from 2005 when sabayon was using consolehelper16:10
sbalneavso the sabayon.console and sabayon.pam files can actually disappear16:11
alkisgsbalneav: btw, `gksu non-existant-app` has the same problem, and `gksu -w sabayon` works fine.16:31
sbalneav-w?16:34
* sbalneav mans16:34
sbalneavah, force it to use su, and not sudo16:35
sbalneavah, only problem with THAT is, you need a root password :(16:44
sbalneavso that's not gonna fly.16:44
sbalneavWhoohoo!16:44
sbalneavGotta love the gnome admins, one of them just did a redir for me so that projects.gnome.org/sabayon now points to live.gnome.org/Sabayo16:45
sbalneavso the old, horridly out of date website's gone16:45
sbalneavSigh.  It would be nice if there was a "policykit migration guide" out there.  The docs on freedesktop.org talk about what policykit IS and how to use it, but give no good help on how to actually think about porting an existing app to use it.17:31
sbalneavand googleing about doesn't seem to be turning up anything obvious for me.17:32
sbalneavTried "PolicyKit Migration" and "PolicyKit Porting", etc.17:32
sbalneavSo very very frustrating.17:37
stgrabermeeting in 45min18:17
stgraberhighvoltage: do we have an agenda written somewhere ?18:17
stgraberhighvoltage: for this one, I'd propose we follow-up on the spec work that has been done, maybe sbalneav will want to say a few words about sabayon and we may have to discuss the bug/wiki/doc days ? (not sure)18:18
highvoltagestgraber: yep18:19
highvoltagestgraber: I'll update the agenda18:19
highvoltagestgraber: from my side I'd feel good if we could decide more or less what we'll do on the bug day so that we can announce it18:20
stgraberright18:21
highvoltageEdubuntu meeting in #ubuntu-meeting in ~10mins18:51
Lnswoah!18:56
Lnsi'm gonna make a meeting?!18:56
stgraberLns: heeh18:57
* Lns is not up on the current meeting schedule18:58
Lnsi still have fridays on my cal18:58
HedgeMagelol18:59
highvoltage(meeting in #ubuntu-meeting)19:03
alkisgsbalneav: ^^19:04
sbalneavback20:15
moldyhi20:15
highvoltagemoldy: stgraber and myself can upload to the archives20:16
* Lns gets some coffee from the break room and walks in20:16
highvoltagemoldy: currently, there's an archive reorganisation taking place which will allow us to have an edubuntu-dev group that will be able to upload20:16
moldyhighvoltage: ok, great. some months ago, i took a look at ubuntu python packaging... i hope that i remember enough to create decent ubuntu packages out of our python packages20:17
alkisgIsn't there also a new app that packages python applications? What was its name, quickly? Can that be used?20:18
highvoltagemoldy: well feel free to ask if you ever need any help20:18
Lnsmoldy, http://www.gnomefiles.org/app.php/TcosMonitor - wow, another app! i'll add it to the "other software" page on the tcm wiki20:19
highvoltagealkisg: I believe that's just for software that's actually created using quickly20:19
moldyhighvoltage: thank you20:19
moldyhttps://wiki.ubuntu.com/PackagingGuide/Python i used that guide last time20:20
alkisgLns: also here: http://wiki.tcosproject.org/Utils/TcosMonitor20:22
alkisgThere's also controlaula but I didn't like it at all20:22
Lnshmm, tcosmonitor has vnc support, including 'demo-mode' screen broadcast20:23
alkisgThat's why I mentioned it, and it's in python, so it might be useful ;)20:23
nixternalhey, when we have a set schedule for meetings, pass it on and I will put it on the fridge (if I can figure it out again)20:23
Lnsalkisg, yeah.. looks like it has a ton of functionality in it..is it stable? have you used it on ltsp?20:24
alkisgNope.20:24
alkisgI've just read about it, I haven't ran it20:25
Lnstcos seems like a great project, and something that ltsp people could share resources with...20:25
Lnsfor instance it's supposed to have an incredible web config interface20:25
* alkisg would really prefer to give a hand to upstream italc development... it has the most potential...20:26
moldyi would probably join italc upstream if it wasn't in c++...20:26
alkisgtcos can also use italc for vnc transport20:26
Lnsalkisg, don't you still have the 2 different config options for italc (install in chroot vs. not) ?20:26
Lnsthat in itself sure is confusing to newcomers20:27
alkisgWell choice isn't really the problem20:27
alkisgFirefox can also be installed as a localapp, we don't blame firefox for that...20:27
alkisgitalc can also be used in a mixed environment, with ltsp, standalone, and even windows clients20:28
Lnsbut i'd say 90% of the time people will want to be able to fully control clients instead of just a user session, right? and that requires manual chroot configuration and again, last time i checked it was very buggy to get that going20:28
alkisgWhat do you mean with  "full control"?20:28
Lnsas in, you don't have to have a logged-in-user to control the client20:28
alkisgWell, you don't20:29
alkisgI can power on my clients and I don't have italc installed in the chroot20:29
Lnsbut can you power them down at ldm?20:29
alkisgSure, if I put a tiny patch in italc20:29
alkisgThat's why I was saying I'd join italc upstream...20:30
Lnsitalc currently has its own communications facilities for that right? as in, not ssh/dbus/etc?20:30
Lnsics or what not20:30
moldyi havn't used italc myself. it seems to have some nice features. but i regard c++ as a real problem. slow development, many bugs.20:30
alkisgYes, it supports encrypted communication20:31
alkisgIt'd be nice if it used telepathy, but it wouldn't be cross platform then20:31
moldyitalc has a service running on the clients to do stuff like locking screens?20:32
alkisgYes20:32
stgraberyep20:32
highvoltagesbalneav: thanks for adding the times that you'd be able to attend for November 2009 :)20:33
alkisgmoldy: here's a good screenshot: http://italc.sourceforge.net/screenshots.php?img=italc-1.0.0_2.jpg&label=420:34
highvoltagesbalneav: unfortunately, because of the Ubuntu Temporal Prime Directive, I'm not allowed to alter meetings that has happened in the past20:34
alkisglol :)20:34
* Lns can only imagine how slow that screenshot actually ran :)20:35
alkisgWhat do you mean?20:35
Lns20 concurrent vnc sessions heh20:35
alkisgI've used it with 12 sessions with no problems...20:35
sbalneavBuh,20:35
sbalneavI thought the dates were funny.20:36
alkisgAlthough (in the lab where the broadcasting mode always crashed) plain x11vnc performed much better.20:36
=== Guest652 is now known as Baby
sbalneavDoes anyone know of a good "how to polkit your application" document?20:39
alkisghighvoltage: are we going to ship edubuntu-menus in lucid? We could hide qt3-assistant with those...20:39
sbalneavI've googled around for a good tutorial or migration strategies... but to no real avail20:40
moldysbalneav: i polkitted tcm some time ago (reverted to no polkit for now since then)20:41
moldysbalneav: trying to re-google the documents i used...20:41
moldyhttp://hal.freedesktop.org/docs/PolicyKit/ http://techbase.kde.org/Development/Tutorials/PolicyKit/Helper_HowTo20:42
highvoltagealkisg: I think so20:43
alkisgNice20:43
moldysbalneav: i had to read lots of the polkit library reference to understand stuff... i don't think there is a really good tutorial... those kde docs helped me, though20:44
sbalneavyeah, the freedesktop.org link's good for the tech stuff, but not on a "how to migrade an existing app"20:44
sbalneavI'll look at the second.20:44
alkisgmoldy: it think it should be polkit-1 nowadays... policykit is deprecated20:44
moldyalkisg: what's polkit-1?20:45
alkisghttp://drfav.wordpress.com/2009/12/22/polkit-and-kde-lets-make-the-point-of-the-situation/20:45
alkisgFrom Karmic and on, ubuntu uses polkit-1, the successor of policykit20:45
sbalneavBleh.  yeah, there seems to be no way to "simply convert" an existing application.20:45
sbalneavcomplete. rewrite. of. sabayon.20:46
moldyalkisg: ah. well, i guess the general concepts did not change that much, though?20:46
sbalneavyeesh20:46
alkisgmoldy: I don't know, I just read about them over a related bug I experienced...20:46
alkisgI haven't done any developement related to them20:46
sbalneav'spose I could just toplevel it.20:47
sbalneavinstead of executing "sabayon", the whole freaking app becomes one gigantic service.20:47
sbalneav"PolicyKit was created exactly to make the whole process easier and more secure"20:49
sbalneavAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHHHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA20:49
sbalneav*snort*20:49
highvoltagesbalneav: that's like any project with "simple" or "easy" or "lightweight" in it's name :)20:49
highvoltagealkisg: stgraber just informed me that the changes have been pushed so gpaint is now gone20:51
sbalneav\o/20:51
alkisghighvoltage: much appreciated ;)20:51
stgraberI'm actually waiting for Jordan, I have a small question about the meta packages20:51
stgraberthe seeds are ok but we need to sync the meta on it and I can't find a bzr branch for it, would like to confirm that we don't have one somewhere20:51
alkisgsbalneav: file:///usr/share/doc/policykit-1-doc/html/index.html20:53
highvoltagestgraber: since we're on LP issues... shouldn't we have an "edubuntu" project registered in LP?20:54
highvoltagestgraber: I think Jordan mentioned it before but I can't remember what the outcome was20:54
sbalneavalkisg: that's the same stuff off the freedesktop.org site20:57
sbalneavand... unless I'm missing something, I can't see python bindings for polkit20:58
alkisghttp://hal.freedesktop.org/docs/PolicyKit/ is for the old version20:58
alkisgThe new version isn't backwards compatible...20:58
sbalneavhttp://hal.freedesktop.org/docs/polkit/21:00
sbalneavthat's what I was looking at21:00
alkisgOK21:00
alkisgI saw the link moldy posted above..21:01
sbalneavthe second one moldy came up with is better, but still not perfect.21:02
moldywhat's perfect in this world? ;)21:03
sbalneavoddly enough, when I googled for "PolicyKit tutorial, that doc was nowhere to be found21:03
moldygoogle often misses important stuff, in my experience21:04
sbalneavI'm still not seeing any direct polkit python bindings, which means to interact with polkit in sabayon, i'm going to have to talk directly with dbus, which sucks.21:04
moldythere are python bindings21:04
alkisggoogle for link:http://hal.freedesktop.org/docs/polkit/ => 8 results21:05
alkisgI don't blame google for this..21:05
moldywell, i am not blaming them, i am blaming our culture that imho relies too much on google :)21:05
moldysbalneav: http://pypi.python.org/pypi/pypolkit/0.121:05
sbalneavaptitude search pypolkit21:06
moldysbalneav: for that "helper" scenario, pypolkit is missing a binding, though. i think i have a patch lying around here that adds that binding...21:06
sbalneavno results21:06
moldysbalneav: i don't remember wether it was included in ubuntu or not21:06
sbalneavI like how I'm told in #ubuntu-devel I should convert to polkit, when the freaking tools I'd need TO CONVERT TO POLKIT aren't there.21:07
sbalneavand johnny poo-pooed me for calling polkit the flavour of the month21:08
sbalneavcripes, this is no way to run a railroad.21:08
moldysbalneav: if ubuntu is using polkit-1 or what's it called by now, i guess the python bindings won't work at all, anyway... someone has to write some then.21:09
sbalneavah, so for the new polkit, there's no bindings for polkit-121:09
alkisgsbalneav: just file a bug for gksu, and leave it there. In the next LTS you can look again to polkitify it if the tools are there... :)21:10
moldyit seems so, at least i cannot find any21:10
sbalneavthat's what I thought.21:10
sbalneavalkisg: The problem is, I want to announce to people to test sabayon21:14
sbalneavthey can't in it's current state.21:14
alkisgSure... "Due to THIS FREAKING GKSU BUG, you need to run sudo sabayon to test it"21:15
sbalneavAssminng people see the post.21:16
sbalneavI'll just fix gksu tonight, and get stgraber to upload it.21:16
alkisgI mean as part of the announcement... But anyway it's strange why e.g. gksu gedit works, and gksu sabayon doesn't. Where' the difference?21:16
sbalneavor why gksu gksu ls doesn't21:17
sbalneavthere's no rhyme nor reason.21:17
alkisgRight21:17
alkisgEven `gksu unknown-app` has the same problem...21:17
alkisgAnyway... has anyone looked at ebox?21:18
sbalneavheh, the solution being proffered in ubuntu-devel is "write your own python wrappers and write raw dbus calls to policy kit"21:22
sbalneav"no thanks"21:22
sbalneavI just find it really amusing that the genral trend in Linux today is:21:23
sbalneav1) break old thing21:23
sbalneav2) Tell you to use new thing21:24
sbalneav3) New thing isn't completely written/tested/debugged yet21:24
sbalneav4) Wonder why things seem to be falling apart21:24
sbalneav5) ???21:24
sbalneav6) Profit!21:24
sbalneavAnyway, kiddies, Go through the package bugs, and see what you want me to fix.  Screem looks like it needs some love.21:26
sbalneavkdeedu might need some love too.21:26
Lnssbalneav, Linux has gone through massive growing pains, imho partly due to canonical/ubuntu mission to "adopt early, fix bugs later" strategy..which has really gotten us far, but in the meantime of fixing all this stuff people are wondering how to find a stable system21:27
Lnshopefully things will really settle down and we'll start solidifying our direction with things overall21:28
Lnsand hopefully by that we've chosen the right packages to adopt early...21:28
sbalneavLns: Well, you and I have been arguing against the "fix bugs later" thing for some time.21:29
sbalneavit definitely seems to be getting worse to me in the last year.21:29
Lnsit's hard going from a 'we'll release when we're ready' model to a 'every 6 months' thing21:30
Lnswell coming from you, an experienced programmer, that's something for people to pay attention to...21:31
sbalneavphht, I'm nobody special.21:31
Lnsnot sure what the solution is besides, "let's stop adopting new underlying technologies and stick with what's been working"21:31
Lnsyou're a helluva programmer to me! I'm in awe of what you (and everyone else in our little community) has done21:31
sbalneavI'm a problem solver.  I go down to brazil for fisl all the time.  I see the underpriv'd kids there, and what they have to work with.21:33
sbalneavAll I want to do is help these people.21:33
sbalneavI want kids to have the tools so that they can learn.21:33
sbalneavthat's all.21:33
Lns=)21:34
sbalneavAnd it's frustrating to me that I have to spend time re-fixing problems that have already been fixed/solved in the past, rather than making something better.21:34
sbalneavI don't mind hard work, but nothing p*sses me off more than running in place.21:35
Lnsyeah...i have the same feeling fixing pwned windows boxen constantly21:35
Lnshate to hear even a similar situation in the gnu world21:35
sbalneavand that's what I find annoying.  Because every second I spend re-fixing something that used to work is cheating thousands of underpriv'd kids out of my time.21:36
Lnswell hopefully we've hit a good spot with all this stuff being ripped out from underneath us. I mean, how much can we really keep changing that's going to cause coders to pull their hair out and re-implement stuff?21:37
Lnsunless the m$ way of "well you were employee of the month so you get to have your say in how xyz works this release" really is the way people want to keep heading in21:38
Lnsi watched a good interview w/shuttleworth the other day which seemed to kind of calm my frustrations..lemme find the link21:39
Lnshttp://www.youtube.com/watch?v=9abjUi_H0LY21:39
Lnscomment posted on that vid: "I'm really hoping the Ubuntu community, beginning with 10.04LTS, will start locking down what new underlying methodologies are used...there have been a lot of growing pains with things like PA, polkit and others that many developers have had to re-structure their existing applications. Hopefully the right things have been adopted, so we can build upon a very solid base for many years to come without worrying th21:59
Lnsat our efforts will be squashed by another carpet-yank underneath us.."21:59
alkisgLns: what client are you using? it nicely cutted the message in half, while pidgin just drops the rest of the message... :)22:01
alkisgIs that xchat?22:01
Lnsyeah22:01
Lnsthe 2nd msg: at our efforts will be squashed by another carpet-yank underneath us.."22:02
LaserJockhi all22:03
Lnshey LaserJock =)22:04
alkisgHi LaserJock!22:05
LaserJocksbalneav, highvoltage: you guys around?22:05
sbalneavhey LaserJock!22:07
LaserJockso I was reading my email22:07
LaserJockand thinking a tiny bit while stuck at the Registry of Motor Vehicles22:08
LaserJockit seems to me that the structure of the Edubuntu metapackages is kinda backwards22:08
LaserJockwhere edubuntu-desktop depends on everything else22:09
LaserJockit seems like it would be more logical for people to pick the ubuntu-edu-* that they are interested in that in turn deps on some Edubuntu core set22:09
alkisg(10:51:38 μμ) stgraber: I'm actually waiting for Jordan, I have a small question about the meta packages22:13
alkisg(10:51:58 μμ) stgraber: the seeds are ok but we need to sync the meta on it and I can't find a bzr branch for it, would like to confirm that we don't have one somewhere22:13
sbalneavSeems reasonanle22:13
LaserJockmaybe there should be an edubuntu-core package or something22:13
LaserJockwhat would be ideal is to have ubuntu-edu-* dep on edubuntu-desktop and then have some sort of edubuntu-full that could be used for getting packages on the DVD22:14
LaserJockstgraber: we generally don't put the -meta in bzr because it just gets regenerated at every upload22:14
LaserJockthe problem with the above scheme is that all the build tools are kinda hardwired to use edubuntu-desktop22:16
alkisgLaserJock: I tried the current edubuntu daily build, and the autologon feature was broken, so I had to create a new user from the console to be able to login.22:18
LaserJockbummer22:19
alkisgI haven't tried the ubuntu daily build though22:19
LaserJockthat sounds like an Ubuntu problem22:19
alkisgIs there anything we do different than Ubuntu? If not, we should be ok..22:19
LaserJockwe shouldn't do anything different22:19
LaserJockthe only problem is if the Ubuntu preseed or something get's changed but Edubuntu's doesn't22:20
alkisgOK, it should get fixed shortly then....22:20
LaserJockbut I don't think that would cause the autologin to break22:20
pygihi23:02
stgraberLaserJock: ok, I'll just regenerate and upload then23:20
stgraberuploaded the new meta packages23:33
stgraberdropped lpia at the same time as it's not longer in ubuntu23:34
sbalneavhahahaha23:47
sbalneavso gksu-polkit asks for the password on the command line, no gui to ask for the password!23:47
sbalneavHey, wait, I know, we could use ldm as a front end, we've got that prompt parsing code... :)23:48
stgraberyou mean the one we want to get rid off ? :)23:49
sbalneavyeah, that one!23:49

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