/srv/irclogs.ubuntu.com/2012/09/25/#kubuntu-devel.txt

JontheEchidnasomething whispered a sweet-nothing to my MBR sunday morning00:50
JontheEchidnaon the bright side, the 12.04.1 alternate CD works, as did an upgrade to quantal00:50
=== jtechidna is now known as JontheEchidna
=== SolidLiq is now known as solid_liq
=== fabo_ is now known as fabo
Quintasanmikhas: ping05:54
mikhasQuintasan, pong05:55
Quintasanmikhas: You have inquired about maliit packaging, right? I just moved house and I'm currently moving stuff around. The framework packaging is almost done05:56
mikhasok05:56
QuintasanI didn't touch maliit-plugins module yet05:56
Quintasanframework packaging requires review and it should be ready for inclusion05:56
mikhasright, for the plugins, I think it is important to make it work with all the CONFIG+=enableā€¦ features05:56
mikhasand you might want to get someone who could look over the theming05:57
QuintasanI'll keep that in mind. I'll link you to the packaging branches when I'm done05:57
Quintasanmikhas: theming?05:57
mikhasQuintasan, to make the keyboard look blend into plasma05:57
QuintasanYeah but how does that work in regard with packaging?05:58
QuintasanThere are some themes that I can package or something?05:58
QuintasanOr you're suggesting we get someone to design a theme?05:58
* Quintasan just woke up and his brain is not working 100%05:58
mikhasQuintasan, https://gitorious.org/maliit/maliit-plugins/blobs/master/maliit-keyboard/data/styles/README05:59
mikhasQuintasan, well, you will 1) have to add a new styling profile for plasma, 2) make it the default profile when compiling plugins05:59
Quintasanoh06:01
Quintasanmikhas: In other words we need to have a plasma profile and I need to set it up as the default profile06:02
Quintasannot even other words06:02
QuintasanI seem to get it06:02
mikhas:-)06:02
* Quintasan bookmarks06:02
QuintasanI still have to unpack stuff though06:03
mikhassure, take your time06:03
mikhasbest to keep the bug report up-to-date06:03
mikhaswe do this for Kyle ;-)06:03
pktanyone familiar with ubiquity kde frontend? I 'm trying to debug bug #105596706:32
ubottuLaunchpad bug 1055967 in ubiquity (Ubuntu) "ubiquity kde frontend is broken in current kubuntu "stable" daily builds" [Undecided,New] https://launchpad.net/bugs/105596706:32
asachi. any idea what happened to twinkle in quantal?07:32
Davieyasac: removed due to being dead upstream, following debian bug 67390007:50
ubottuDebian bug 673900 in ftp.debian.org "RM: twinkle -- ROM; dead upstream, obsolete components (KDE3/ QT3/ libccrtp1)" [Normal,Open] http://bugs.debian.org/67390007:50
=== Guest81561 is now known as Mamarok
Quintasanyofel: sup with the certifciate?08:44
QuintasanRiddell: http://www.hardkernel.com/renewal_2011/products/prdt_info.php08:44
QuintasanDid we look at those?08:44
yofelQuintasan: should be the same, but I had to restore my server from backup after a disk failure08:45
QuintasanQuassel says it changed08:45
QuintasanWell, I'll accept it08:45
QuintasanI don't think I store any confidental info in my IRC :P08:46
RiddellQuintasan: I've not looked at them, what for?08:52
Riddellpkt: hmm, drat08:54
QuintasanRiddell: I rembember there was discussion if we are ever buying developer boards and if yes then what boards09:01
jussiQuintasan: I think a nice shotgun approach would be good...09:13
Quintasanjussi: shotgun approach to what? :P09:14
jussi2 of those, 2 of those, 2 of these :P09:14
Quintasanoh09:14
Quintasan:O09:14
jussiQuintasan: dev board buying'09:14
Quintasanchrist why is this board crashing09:15
RiddellQuintasan: I have a pandaboard, having a developer isn't too interesting compared to having an actual tablet or other hardware to run it on09:16
QuintasanTrue that09:16
Riddellbut of course the problem is knowing if the kernel will run at all09:16
Riddellwhich is what vivaldi have been fighting since april09:16
QuintasanNow, find a tablet that has hardware acceleration and works with Kubuntu :D09:17
jussiQuintasan: theres a bunch of intel ones :P09:17
Quintasanjussi: You sure we can like, install quantal on them and I will have GLES acceleration working?09:17
jussithink so, iirc.09:18
jussior at least some version of ubuntu09:18
QuintasanThat would be like, the device we've been looking for?09:18
sladenany idea where I can find "Lars Knoll" on IRC?09:18
jussithey are very pretty though..09:20
jussiQuintasan: intel isnt quite arm... they are just a standard atom processor 09:21
Riddellsladen: lars on #qt-labs, what are you after?09:23
sladenRiddell: git blame suggests Jiang Jiang and Lars Knoll09:24
sladenRiddell: everything tagged as Lars was just a mass import?09:25
sladenRiddell: unless everything tagged as Lars was just a mass import?09:25
RiddellI don't know09:25
pktRiddell: hi09:32
pktdrat?09:33
Riddellpkt: I'm just about to test the beta 2 candidates09:44
pktI see09:46
pktRiddell: did you see the bug I reported?09:47
pktI don't think it needs any further logs, it is deterministic and the only helpful line in the logs is the one I pasted09:47
pktthere is also a permission denied error but it is bogus09:48
pktit is for /proc/*/auxv IIRC09:49
pktThe real problem seems to be as mentioned, that something is trying to access the session bus while running as root09:49
tsimpsonto whomever designed ubiquity: you SUCK09:50
xnoxtsimpson: please use polite tone.09:51
Riddellpkt: what's the bug number?09:52
tsimpsonxnox: can't too many hoops to get it in gdb09:52
pktRiddell: bug  #105596709:52
ubottuLaunchpad bug 1055967 in ubiquity (Ubuntu Precise) "ubiquity kde frontend is broken in current kubuntu "stable" daily builds" [Undecided,New] https://launchpad.net/bugs/105596709:52
xnoxtsimpson: debug-ubiquity. Plus why would you want gdb for a pure python app.... I have no clue.09:52
xnoxtsimpson: debug-ubiquity at the kernel boot prompt.09:53
tsimpsonxnox: because the crash is not in python09:53
xnoxalso not sure what gdb has to do with ubiquity desing.09:53
tsimpsonand I'm not in an installer09:53
xnoxtsimpson: than it's not ubiquity, but just a regular live-session of ubuntu/kubuntu/whatnot09:54
Riddellpkt: drat, you're right09:54
pktRiddell: to the extent of my abilities I would be happy to help fix this problem09:54
tsimpsonxnox: nope, running "ubiquity" is certainly ubiquity :)09:54
xnoxtsimpson: try different cd boot options (esc at boot splash) and see how far you get.09:54
xnoxtsimpson: ubiquity-dm != ubiquity09:55
Riddellthis didn't happen on the images I tried on friday09:55
xnoxby default it launches ubiquity-dm desktop environment with a greeter, but you can bypass it to boot into live session if you press esc at the boot splash and choose to....09:55
pktRiddell: this is good info because it narrows it down09:56
pktwe only need to figure out what changed between friday and monday then09:57
pktespecially in core kde that would affect ubiquity09:57
xnoxRiddell: you tried precise-daily images on friday, correct? (but is not in quantal)09:58
xnoxRiddell: you tried precise-daily images on friday, correct? (bug is not in quantal)09:58
pktyes it is precise, not quantal09:59
tsimpsonxnox: I'm not on a live session, or an installer, I'm running "ubiquity" from an install. and I'm not talking about the UI, I mean the design of the software10:05
xnoxtsimpson: ubiquity is not meant to be launched from normal/installed system.10:06
xnox=/10:06
tsimpsonxnox: yes, I know10:06
xnoxthe same reason why udebs were not meant to be installed on the normal install.10:06
xnoxyou will have more luck launching it in a vm or lxc container/chroot.10:07
tsimpsonI am in a VM10:08
Riddellpkt, xnox: mm no, I'm trying quantal images10:12
Riddellxnox: logs on bug 105607910:14
ubottuLaunchpad bug 1055967 in ubiquity (Ubuntu Precise) "duplicate for #1056079 ubiquity kde frontend is broken in current kubuntu "stable" daily builds" [Undecided,Confirmed] https://launchpad.net/bugs/105596710:14
pktIf I remember correctly this bug has happened again in the past10:16
pktand some tricky code was added to save user ids and such10:16
pktyou can see the comments in kde_ui.py10:16
pktunfortunately I didn't have time to debug it more10:17
pkt(to see why these protection measures fail)10:17
tsimpsonseems that it's missing the DBus session address in the environment10:19
pkttsimpson: it looked to me more like that it is trying to access session bus from code running as root10:28
pktbut exactly where it is doing this I didn't have time to figure it out10:28
tsimpsonin the KApplication constructor10:29
pktwasn't this fixed?10:29
pktI thought it was doing a trick with saving its "rootiness" and becoming user before this constructor10:30
pktfor this reason10:30
pktIt is really great that you guys are looking into this in any case10:31
pktI will try to join the fun after lunch10:31
tsimpsonapparently, it's failing again10:34
Riddellhum, I'm pretty stuck for ideas on how to investigate this10:44
Riddellweird that it should affect both precise and quantal at the same time10:44
pktso it affects quantal as well?10:45
pktI haven't downloaded the quantal daily (not much bandwidth here)10:45
Riddellyes10:47
pktdo you think colin watson would be interested10:48
RiddellI expect so10:48
pktI think he was the one that fixed the similar problem the previous time10:48
Riddellthere was a dbus security update recently in both precise and quantal10:49
pktaha10:49
pktthis could well be it10:49
pktessentially ubiquity was exploiting a loophole10:49
pktI wonder how this could be verified10:51
pktmaybe if we installed newer dbus in 12.04.1 livecd and see if ubiquity breaks?10:52
xnoxubiquity-dm is the thing that starts dbus before lauching QtCore to pain the wallpaper10:52
xnoxs/pain/paint/10:53
kubotuxnox meant: "ubiquity-dm is the thing that starts dbus before lauching QtCore to paint the wallpaper"10:53
Riddellyeah the problem goes away using the previous build of dbus packages10:53
pktat least this gives a clue :)10:53
Peace-hi10:54
pktThe essential question is whether the thing ubiquity was doing is legitimate (so the problem is the dbus fix) or not (which means ubiquity needs rewrite :P)10:55
xnoxand since it didn't break != kubuntu images, maybe there is something different in the default user setup?10:57
pktI think it is just because the gtk frontend somehow didn't need this trick10:58
pktmaybe "KApplication" is too much for something like an installer and it should be written on top of just Qt instead10:59
pktbut I doubt this will work for LTS10:59
Peace-Riddell: http://www.youtube.com/watch?v=wAB1whqH9n811:00
RiddellPeace-: that's what we do for the default plasma set up in kubuntu11:05
Peace-well i did the snippets for plasma Riddell11:07
Peace-it was funny 11:07
pktI think the "right fix" for precise is to take back the dbus patch11:21
pktand fix the 2-3 vulnerable applications instead11:21
pkt(spice, xorg, etc we don't have pam_systemd I think)11:22
pktreducing the functionality of dbus without warning doesn't look like LTS material11:23
pktBtw, I can also confirm this for precise,11:38
pktI installed the latest libdbus on top of 12.04.1 livecd11:38
pktand boom goes ubiquity ...11:38
pktIt makes sense if you read what the patch is doing11:39
Riddellmm11:41
pktIn debian that patch for CVE-2012-3524 wasn't accepted I think11:42
ubottulibdbus 1.5.x and earlier, when used in setuid or other privileged programs in X.org and possibly other products, allows local users to gain privileges and execute arbitrary code via the DBUS_SYSTEM_BUS_ADDRESS environment variable.  NOTE: libdbus maintainers state that this is a vulnerability in the applications that do not cleanse environment variables, not in libdbus itself:... (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-3524)11:42
pktnote the last phrase ;)11:43
=== ferai is now known as jefferai
Riddell12:48 < mdeslaur> Riddell: they said that, and then decided that the best fix would be in libdbus itself11:51
Riddell12:49 < mdeslaur> Riddell: this is an upstream patch, if you don't fix it now, you'll have to fix it soon when the new dbus hits11:51
Riddellsays the security guy who added the patch11:51
pktI see11:52
pktThe 100% right fix should probably be to have the parts of ubiquity that run as root in a different process11:53
pktthis way there would be no such dbus-related mess11:54
pktbut for precise would this be possible?11:54
dpmHi Riddell, all kubuntu-docs templates have now been approved in LP. Do we have someone who'll take care of fetching the translations from LP and reuploading the package with them on the translation deadline day?11:57
Riddelldpm: I'll do it if Darkwing isn't back online by then11:58
dpmcool, thanks Riddell11:58
pktIn my personal kubuntu derivative I will solve this problem for now in the livecd-building code I think12:22
pktI will install with "old" dbus and I will let the upgrade during the install to bring the new one12:24
pktthis seems like the easiest workaround12:24
Riddellpkt: what's your derivative?12:38
pktRiddell: it is an educational project12:52
pktit is like a framework for building ubuntu flavors starting from seeds12:53
pktwithout need for debian-cd or ubuntu-cdimage that make my eyes bleed :P12:53
pktI only use live-helper from debian12:53
pktOf course this means no alternate cds for me right now but I don't care12:54
pktI already have some code at http://github.com/squibbylinux but it is in a very alpha state right now12:55
pktIn the beginning I thought that the ubiquity bug was my own fault and this ate 1 day from my time :P12:56
pktThe example distribution is based on kubuntu because I love KDE and the work you guys are doing in kubuntu :)12:57
yofel_shadeslayer: ^13:02
* shadeslayer looks13:14
shadeslayerpkt: I can most likely help13:14
shadeslayerlooking at your live build stuff13:14
pktshadeslayer: cool :)13:14
pktthe live-build patches are just bug fixes13:15
pktI tried to get them to ubuntu but nobody cared :P13:15
shadeslayeractually, I'm not sure what you're trying to accomplish, so reading the backlog first :)13:15
shadeslayerand you want live-build patches upstreamed in debian13:15
shadeslayerthere's #live-build on OFTC13:16
pktno13:16
shadeslayerugh, I mean, #debian-live13:16
pktI think they are already in debian13:16
shadeslayeroh ok13:16
pktI 'm just basing my work on precise so I backported13:16
shadeslayerahhh13:16
=== rdieter_work is now known as rdieter
pktWhat I 'm trying to accomplish13:17
pktis to build a livecd that is as close to official kubuntu (at first) as possible13:17
pktbut without debian-cd / ubuntu-cdimage13:17
shadeslayerfairly simple13:17
shadeslayer:)13:17
pktonly with live-helper13:17
pktand after this is done13:17
shadeslayeryeah, I've accomplished that for quantal13:17
pktI can start changing stuff :P13:18
pktcool, do you have your stuff somewhere?13:18
shadeslayeryes, but it's a private repo at the moment :P13:18
pktI see, no problem13:18
shadeslayersec13:18
shadeslayerpkt: you want ubuntu-defaults-builder13:19
shadeslayerthat has a nifty helper script that uses live build13:19
pktI tried this one first13:19
shadeslayerah ... and?13:19
pkthttps://github.com/ubuntu-gr/ubuntu-defaults-el-gr13:20
pktI got disappointed13:20
pkttoo many bugs and limitations to fight against13:20
pktSo I decided to just copy the interesting parts13:20
shadeslayernope, what I meant was : /usr/bin/ubuntu-defaults-image13:21
shadeslayerlook at that13:21
pktYes, this is what I did13:21
pktI got the interesting parts from that script13:21
pktthe "build" you see in squibby-build13:21
pktand the stuff under auto/13:21
pktare inspired from this code13:21
shadeslayeroh .. I just customized it to my requirements a bit13:21
* shadeslayer looks13:21
shadeslayerhttps://github.com/squibbylinux/squibby-build/blob/master/squibby-builder/build < this right?13:22
pktyep13:22
shadeslayersed -i "s/^\\(LB_SYSLINUX_THEME=\\).*/\\1\"kubuntu-$SUITE\"/" config/binary < is wrong13:22
shadeslayeroh wait, not it's not13:23
shadeslayerok, looks fine13:23
shadeslayerpkt: what's the issue with building from that script?13:23
pktit is because ubuntu-defaults was meant for ubuntu13:23
shadeslayeryou also want to set some things like PROJECT=kubuntu13:23
pktwhy so?13:23
pktit isn't used anywhere13:24
shadeslayerit is :D13:24
pktyou forget that I don't use the ubuntu-defaults scripts13:24
shadeslayerahhh you completely used your own auto/config13:24
pktyep13:24
pktI wanted something very simple to build upon13:25
shadeslayerpkt: and you're building in a precise chroot/precise install ?13:25
pktshadeslayer: yes13:25
pktAfter I get the basics working, I will add some complexity back again13:25
pktlike support for PROJECT13:26
pktbecause a friend of mine wants to use it for Greek schools13:26
pktand they use ubuntu and gnome-fallback instead of KDE13:26
pktbut as they say "first make it work"13:26
shadeslayerthing is, ubuntu-defaults-builder has some things that are needed to build stuff .... and you might have missed something vital13:27
shadeslayerwhat I did was to add a project in auto/config and then set my PROJECT var13:27
pktWell, I have a working livecd right now13:27
pktso I don't think I missed anything13:28
pktI even have some of the functionality from cdimage13:28
pktif I missed something it must be fairly minor13:28
shadeslayerok ... so ... you need my help with?13:29
pktI don't know, maybe you have things that I 've missed13:30
pktthe main things missing right now13:30
pktare EFI support13:30
shadeslayerah13:30
pktand making a package list automatically starting from the seeds13:31
pkti.e., hacking germinate output into a package list13:31
shadeslayerright, for seeds, you want to read https://wiki.ubuntu.com/SeedManagement13:31
pktI 'm also building a version of wubi but this is also pretty trivial job13:31
shadeslayerbut the gist of it, everything in live will end up on the live cd but not on the install13:32
pktmainly search/replace because wubi has hardcoded its distros13:32
shadeslayereverything in desktop will end up on the install13:32
pktyes, I got this about live and desktop13:32
pktI already have the package lists13:33
BluesKajHi all13:33
shadeslayercool13:33
pktjust for now I built them manually13:33
pktI just need to automate this13:33
pktIn general it is going well, I have no complaints :)13:33
shadeslayerok, in order to generate the meta package, look at kubuntu-meta13:33
pktyes13:33
shadeslayerit has a update script that you can run13:34
pktI have squibby-meta :)13:34
shadeslayerwhich is what I do for my meta package13:34
pktit is in the repo you saw13:34
shadeslayerah looking13:34
pktI have a ppa for all these things13:34
pktand for the seeds13:34
shadeslayerlooks good13:34
shadeslayeryeah, that's what I do13:34
pktI prefer git so I keep them at github13:34
pktbut I have bzr branches because germinate likes them13:35
pktand they just pull from git automatically13:35
shadeslayerright13:35
pkt(I like launchpad)13:35
* shadeslayer has everything on github as well13:35
pktgreat :)13:35
shadeslayerEFI support is fiddly13:35
Darkwingdpm, Riddell, I'll be online by then and I'll get that done. 13:35
DarkwingRiddell: Thanks for getting those up.13:36
pktshadeslayer: I think it shouldn't need much13:36
dpmawesome, thanks Darkwing13:36
pktI already know how to set up qemu to test it13:36
Darkwingdpm: Not a problem. :D13:36
pktshadeslayer: so, it is basically a little hacking in the "binary" stage I think13:37
shadeslayerkinda, afaik the ubuntu images have a efi/ folder13:37
pktyes13:37
pktso the problem is basically to include that as well13:37
shadeslayerso you can extract that folder and put them in your binary includes13:37
shadeslayerand it'll land up on your ISO13:37
pktyes, essentially that's it 13:37
shadeslayerhowever, I'm not sure if that even works13:38
pktwe will see13:38
shadeslayeratleast it didn't work on my Macbook Pro13:38
pkthmm I think EFI for macs is different13:38
pktthis is why there is a different image for them right?13:38
shadeslayeraye, but that doesn't really work :P13:38
shadeslayerthe way I do it is to make a efi/boot folder on my USB13:39
pktI don't care Macbooks :P13:39
shadeslayerthen loop over the ISO13:39
shadeslayerand boot that13:39
shadeslayerneeds a special partitioning scheme and what not13:39
pktI see13:39
pktI would happily leave this for later13:39
pktat first, Qemu PC is my target13:39
shadeslayeryeah, I don't recommend putting EFI boot as your priority ;)13:40
pktThere would be no point13:40
pktLarge part of the motivation is to teach in my LUG how a distro is being put together13:40
shadeslayeras for WUBI, from what I remember, the config script had a SUBPROJECT variable13:41
shadeslayerand you could set SUBPROJECT=wubi and it worked13:41
pktSo, if I focus on such details it would be a distraction13:41
shadeslayerbut WUBI was not a priority for me, so I didn't look into it much13:41
pktYes, it is not a priority for me either13:41
shadeslayer:)13:41
pktFirst is to fix this annoying ubiquity issue13:41
shadeslayerwhich is?13:42
pktso that I can have "version 0.1" :P13:42
pktjust a sec to find the bug ID13:42
pktbug #105596713:42
ubottuLaunchpad bug 1055967 in ubiquity (Ubuntu Quantal) "ubiquity kde frontend is broken in current kubuntu daily builds" [Critical,Confirmed] https://launchpad.net/bugs/105596713:42
pktThis one13:42
shadeslayerahh ok13:43
pkt"Luckily" it isn't a problem with my scripts :P13:43
shadeslayercan't find a session bus13:43
shadeslayerhow odd13:43
pktwe traced it13:43
pktIt is the last dbus update that causes it13:43
shadeslayeryeah, a bit odd that it doesn't find the sessions bus :)13:44
pktIt isn't odd13:44
pktThe problem is that the dbus security update13:44
pktit essentially forbids using libdbus if you are seteuid13:44
shadeslayerwell it's a bug, but why did dbus doesn't have a session bus13:44
shadeslayerahh ok13:44
pktIt has a session bus13:45
shadeslayerbut doesn't allow you to access it13:45
Riddellpkt: cjwatson asks about testing this http://paste.ubuntu.com/1226425/13:45
pktit is ubiquity's problem for running kde code via sudo :P13:45
shadeslayerheh13:45
Riddellpkt: but I couldn't get it to work, are you able to test it?13:45
pktRiddell: I can try, but I will need 10-20 minutes13:46
Riddellplease do13:47
shadeslayerw00t, I get to be a crew member at UDS13:48
pktRiddell: why is the patch for ubiquity-dm?13:49
pktit doesn't work when I call ubiquity from terminal either13:49
pktdoes ubiquity-dm run in this case?13:49
Riddellpkt: ubiquity-dm runs from the live cd13:50
pktyes I 'm using a live cd to test13:50
Riddellto start X and the initial use of ubiquity13:51
pktfirst it breaks at ubiquity-dm13:51
pktbut then if I go to desktop13:51
pktand call ubiquity from there13:51
pktit breaks again13:51
pktso I 'm thinking that the problem is not just in ubiquity-dm13:51
Riddellyes, I agree13:51
xnoxsee ubiquity-wrapper and the funky way sudo is used when running under kde.13:51
xnoxand related comments.13:52
pktRiddell: I tried to test in any case by making ubiquity-dm the default-display-manager14:05
pktbut this doesn't work14:06
pktwhen I disconnect I get kdm14:06
pktI will try to build a livecd with the patch14:09
shadeslayer!find cairo.h14:13
ubottuFile cairo.h found in fltk1.3-doc, ggobi, glabels-dev, gnash-doc, gnuplot-doc, gstreamer0.10-plugins-good-doc, gstreamer1.0-plugins-good-doc, guile-cairo-dev, ipe, libcairo-ocaml-dev (and 21 others) http://packages.ubuntu.com/search?searchon=contents&keywords=cairo.h&mode=&suite=quantal&arch=any14:13
shadeslayerheh14:16
shadeslayerhttp://opendesktop.org/content/show.php/kded-appmenu?content=153882&PHPSESSID=0752e1424180bef0b9f467bf04053917 < top comment14:16
Riddellshadeslayer: yeah we should get it packaged, it'll probably replace agateau's menu stuff at some point14:19
shadeslayeraye14:19
shadeslayerI kind of like my menu's that way14:20
shadeslayerexcept in some apps where I don't use a menu at all14:20
shadeslayer*sigh*14:32
Riddelllshadeslayer: why the long sigh?14:38
shadeslayersource files without headers14:38
shadeslayerlicense headers I mean14:38
shadeslayerwhy the extra 'l' :P14:39
shadeslayernow my brain keeps saying Riddellllllll14:39
highvoltagescumbag brain.14:40
shadeslayer:D14:40
Riddelllit's so I don't get confused with Riddell 14:41
shadeslayerah :)14:42
kubotu::qt-bugs:: [744812] FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium in Inkscape and too bo... @ https://bugs.launchpad.net/bugs/744812 (by Francois Thirioux)15:07
genii-aroundA fellow in #k wants to contribute as a developer, anywhere particular i should point him at?15:51
Tm_There in general I suppose15:51
n0ti0nishello15:51
Riddelllhi n0ti0nis 15:51
Tm_Twelcome (:15:52
n0ti0nisI'd like to contribute as a developer, I suppose a I need a mentor :)15:52
n0ti0nisThank you! :)15:52
Riddellln0ti0nis: what kind of stuff are you into?  we need packagers, testers, writers, coders etc etc15:53
n0ti0nisMainly I'm a developer, I know few things on packages, but I'm here to learn15:53
n0ti0nisI know Python, C++, C, C#, PHP15:54
n0ti0nisI love QtCreator of course :D15:54
Riddellln0ti0nis: first thing is to hang around here, this channel is where most of the devel chat happens15:57
n0ti0nisok15:59
n0ti0nisis there a tasks list for beginners?16:00
Riddelllthere are bugs http://goo.gl/ESmab  and features http://goo.gl/ZGGJP16:00
Riddellltoday I'm looking at a very fiddly and annoying bug with the installer ubiquity and sudo passing environment variables16:01
pktme too ...16:02
pktsorry for taking so long with the testing btw16:02
n0ti0nisinteresting16:03
pktyes, join the fun :P :)16:04
n0ti0nis:D16:04
Riddellln0ti0nis: there's packages that need updated, owncloud-client would please Blizzz 16:05
n0ti0nisuh I'll look at it16:06
pktRiddelll: FWIW colin's patch doesn't seem to help16:07
pktit seems ubiquity-dm now dies just there is no dr konqui16:07
pktso it stays with a black screen at boot16:07
Riddelllpkt: yeah I reach the same conclusion16:11
pktit is just so nasty16:12
pkteven if we read the code16:13
pktit seems to me no amount of messing with uids can help16:13
pktbecause the CVE patch doesn't include only the code for "mutilating" libdbus when seteuid16:13
pktit also includes advanced code to detect if you are really seteuid or not16:14
Riddelllpkt: yeah all the stuff with uids in ubiquity is horrible16:14
RiddelllI have ubiquity running now by converting it from a kde app to a qt app16:14
pktbut now that the detection is strong I think that all this trickery became useles16:15
pktyes16:15
pktthis is what I think the solution would be16:15
pktat least this way there won't be as much dbus stuff happening behind your back16:15
Riddelllnot very satisfying but.. yeah16:15
pktI think there is a reason the gtk interface is gtk and not gnome16:16
shadeslayer0.o16:16
shadeslayerthat statement makes no sense to me16:16
pktI would expect the same type of problem would happen with gnome as well16:17
pktbut I could be wrong as well, I don't know its internals well16:17
pktThe problem is libraries/support code doing d-bus calls as part of their initialization16:18
pktfor a process that wants to run as root this is not so nice16:18
pktswitching from KApplication to QApplication saves from this problem16:19
pktshadeslayer: does it make a little more sense now?16:20
n0ti0nisowncloud needs libopts25 libqt4-core libqt4-gui ntp, by the way everythinf seems fine16:22
shadeslayerpkt: not really :P16:23
pktok then maybe I 'm just talking nonsense out of frustration :P16:23
shadeslayeror maybe it's because I'm a bit sick and am just having difficulty trying to understand what you're trying to say ;)16:24
Riddellln0ti0nis: it's an old version we have in the archive16:24
pktshadeslayer: we have a problem with the ubiquity kde interface16:25
pktit is written in python (like rest of ubiquity)16:25
shadeslayerok ....16:25
pktlike every kde application it uses KApplication class16:25
shadeslayerright16:26
pktwhen we construct our KApplication it forces us to be running as root16:26
pkt(because it won't let us become root later)16:26
pktbut16:26
BluesKaj, stuff to do for a while , BBL16:26
pktAs part of its initialization, there are calls to the session bus16:26
pktand this causes the grief16:27
pktat least this is roughly how I understand this16:27
shadeslayeroh ok16:28
Riddelllit's even more complex because it gets root through sudo then drops back to user again16:28
shadeslayer@_@16:28
pktyes, but this is just trickery16:28
Riddelllthis trickery confuses the various security mechanisms16:28
pktit is trying to "hide its rootiness" in an attempt to deceive libdbus16:28
pktand that worked until now16:29
shadeslayerhow does the gtk stuff do it?16:29
pktgtk is just a windowing toolkit not a desktop environment16:29
pktso it doesn't do session bus calls behind your back in general16:29
pktsame as qt16:29
shadeslayerwell ... what I meant was ... how does ubiquity-frontend-gtk do it?16:30
shadeslayeri.e access dbus16:30
Riddelllit doesn't16:30
pktbecause gtk doesn't access dbus behind your back16:30
pktit doesn't have to do this trickery16:30
shadeslayeroh ... so why does the kde installer need to access dbus?16:30
Riddelllit doesn't16:30
pktKDE itself is doing this16:31
shadeslayerahhh16:31
RiddelllKApplication does it16:31
shadeslayergotcha16:31
Riddelllas part of its normal self register on startup stuff16:31
shadeslayerright16:31
* shadeslayer has to go for about a hour16:31
shadeslayercya16:31
=== bulldog98_ is now known as bulldog98
pktcya16:31
pktnow that libdbus uses the kernel to understand if you are root or not, no amount of uid saving will trick it16:33
=== Guest5179 is now known as Mamarok
pktdoes KApplication really, really need these session d-bus calls?16:36
Riddelllhere's my quick incomplete version http://starsky.19inch.net/~jr/tmp/kde_ui.py16:38
RiddelllI'm out for a couple of hours16:38
Riddelllif pkt or n0ti0nis or anyone fancies getting rid of the kde classes in that it would be good16:39
Riddelllelse I'll look at it when I get back16:39
pktcool16:39
pktI won't be able to look at it now, but if you are not done by tomorrow I can try to help16:40
=== yofel_ is now known as yofel
=== inetpro_ is now known as inetpro
=== jtechidna is now known as JontheEchidna
=== Riddelll is now known as Riddell
* ScottK considers causing some trouble.21:52
ScottKThere we go.21:57
ScottKhttp://skitterman.wordpress.com/2012/09/25/desktop-search/21:57
* yofel is tired and needed a moment until he got that :D22:49
yofelScottK++22:49
yofeland I'm off to bed - good night22:49
xnoxScottK: funny in a 'Ha-ha' way =) good joke, but needs a little more context, a punch line and pictures of kittens.23:14
xnox=)23:14

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