/srv/irclogs.ubuntu.com/2014/03/04/#ubuntu-devel.txt

cjwatsondoko: yes, already looking00:02
cjwatsonAh, I think I want sitepackages=True in tox.ini00:05
lamontcjwatson: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/128743600:30
ubottuLaunchpad bug 1287436 in grub2 (Ubuntu) "grub-probe fails in the presence of snapshot logical volumes" [Undecided,New]00:30
cjwatsonlamont: could you also figure out the grub-probe command being run here ("sh -x /usr/sbin/grub-mkconfig >/dev/null" should help identify it), run it with -vv added to its arguments, and attach the output?00:34
lamontsure00:43
lamontcjwatson: I already had the command, just for debugging things00:43
lamontcjwatson: done00:46
cjwatsonta00:49
psusicjwatson, lamont, did the patch to ignore snapshot volumes get lost?00:53
lamontpsusi: I didn't bother to see if it was a regression or something new00:54
lamontOTOH, I suspect that a test case could be written for this00:54
* lamont runs dpkg --configure -a00:55
lamontFile descriptor 3 (pipe:[754560]) leaked on vgs invocation. Parent PID 28874: /usr/sbin/grub-probe00:56
* lamont reremoves the volume, and does it again, after kicking himself00:57
cjwatsonpsusi: seems unlikely as such, it was an upstream change01:00
psusilamont, last time I played with lvm snapshots a few years back, cjwatson patched grub to ignore snapshot volumes since at the time, I think it was trying to find a filesystem in the snapshot volume.01:00
cjwatsonunless my changelogs are misleading me, it was fixed upstream, not by me01:00
cjwatson5944958c61a4b8aa11162d01ea61462d02db7ac401:00
lamontwell, frankly, I should be able to boot from the snapshot, but maybe that's just crazy talk01:00
psusiohh, I could have sworn you fixed it01:00
psusilol.. yea, it *would* be nice if grub actually understood the snapshots, but.. ;)01:01
cjwatsonthat being said, that area of code *has* changed and no longer explicitly mentions snapshots01:03
psusiif you plan on playing with lvm snapshots it is probably a good idea to use a /boot partition01:04
psusi(outside of lvm, or at the least, one you never will snapshot )01:04
psusilvm snapshots are kina sucky though anyhow.. btrfs does it much nicer... I really need to play with that again01:05
cjwatsonwtf, bisect shows fc18f6a3cb15db980e65dda9e305a1d176b14b3a which seems to be an accidental bundling of lots of things into one commit01:05
cjwatsonah, but followed by 70e75364fa8627e24bb5ed9eead391c778c4504e which was the changelog for that01:06
cjwatsonI'm not even sure we're going at this from the right angle - it's quite possible that it's supposed to have snapshot support now and is just having some localised trouble01:08
* cjwatson gives up for the night01:08
=== TheLordOfTime is now known as teward
=== Logan_ is now known as Guest66133
=== Guest66133 is now known as Logan_
dholbachgood morning07:55
dholbachdobey, do you think you can reply to https://twitter.com/publiclz/status/440421467038027776?08:30
mlankhorstogasawara: hah, I've beat you to https://launchpad.net/~ubuntu-x-swat/+archive/t-lts-backport :D09:01
didrocksxnox: the version of ofono in the archive has your fix?09:27
xnoxdidrocks: yes.09:29
didrocksxnox: did you try with dialer-app AP tests as suggested?09:30
xnoxdidrocks: they did pass in emulator yesterday, awe did same independantly, that's all before the upload.09:31
xnoxdidrocks: let me try out the version from the archive in the emulator.09:31
didrocksxnox: http://ci.ubuntu.com/smokeng/trusty/touch/mako/219:20140304:20140304/6967/dialer_app/09:31
didrocksseems there is still a crash on ofono_scripts_dial-number09:31
ogra_xnox, the dial-number script still produces a traceback09:31
xnoxdidrocks: looks all good.09:31
ogra_the test passes fine though09:32
didrocksxnox: do you think the timeout is due to dialer-app crashing?09:32
didrocksxnox: (we had this dialer-app crash for quite a while, but without the script issue)09:32
xnoxdidrocks: ogra_: not sure where dial-number is used, it has 120 second timeout.... it'd consider tests to fail, whichever tried to dial a number.09:32
ogra_xnox, it was there yesterday, i pointed you to it and you said it would be transient09:33
didrocksyeah09:33
xnoxogra_: i did not say it's would be transient. i said it's inconclusive, whilst we still have the other two / phonesim not strating reliably.09:33
ogra_xnox, i think it just needs the same try/except dance seems to not influence the test09:33
xnoxogra_: the call/traceback in dial-number has 120 second timeout.... i can dial numbers faster than that by hand =)09:34
xnoxdidrocks: looking at the Autopilot tests, they appear to be wrong, as they don't check if dial-number succeeds:09:35
xnoxdef invoke_incoming_call():09:35
xnox    """Invoke an incoming call for test purpose."""09:35
xnox    # magic number 199 will cause a callback from 1234567; dialing 19909:35
xnox    # itself will fail, so quiesce the error09:35
xnox    subprocess.call(['/usr/share/ofono/scripts/dial-number', '199'],09:35
xnox                    stdout=subprocess.PIPE, stderr=subprocess.PIPE)09:35
didrocksxnox: can you reach upstream with those infos?09:37
xnoxdidrocks: sure, let me file a bug report.09:37
didrocksxnox: ok, and pinging them at the same time, please :)09:38
xnoxdidrocks: ogra_: well the test is written by pitti by the looks of things. let me try to figure out how it is suppose to work =)09:46
xnoxbug #128762809:48
ubottubug 1287628 in ofono (Ubuntu) "invoke_incoming_call() doesn't seem to work, result is not checked, yet test_incoming test passes (?!)" [Undecided,New] https://launchpad.net/bugs/128762809:48
ogra_xnox, but thats for incoming09:49
ogra_wouldnt involve dialing a number09:49
ogra_oh09:50
ogra_sorry ... i missed the top part :P09:50
ogra_so it dials 199 to get a call back09:50
ogra_and it explains why it is supposed to produce the traceback in the comment !09:51
ogra_heh09:51
xnoxogra_: a dbus method is executed to dial, and that should return something sensible back over dbus to exit the client.... =)09:52
xnoxogra_: are magic numbers, magic in ofono or phonesim?09:52
ogra_well but it states that an error is expected for dialling 19909:52
ogra_xnox, i suspect the dial-number script simply cant properly return an error here which causes the traceback09:54
ogra_(same apport issue as with the other scripts i guess)09:55
xnoxogra_: no, not the same. ofono is actually returning an error "Operation failed", yet i'm not getting same result on a desktop.10:01
ogra_well, the same as in "with py2 approt didnt react to it"10:02
ogra_*apport10:02
ogra_i'm sure that issue is there forever even with py2, it was just never catched in a .crash file before10:02
xnoxogra_: how? it's unrelated to python at all, if dialing the number doesn't work over dbus (e.g. using d-feet and not using the python script at all)10:06
xnoxogra_: on desktop, it's suppose to bring up a persistent pop-up.10:06
ogra_xnox, could it be that pitti added a new apport hook or something when he ported ?10:06
xnoxogra_: or at list get an incomming call listed with ./list-calls.10:06
ogra_(during the py3 transition)10:07
xnoxogra_: i'm on a slow internet today, downloading both images to compare.10:07
xnoxogra_: things you are saying don't make sense. apport doesn't generate crashes / tracebacks, whoopsie does. And that did not change. With the other ofono, the dial-number script / dbus calls to request callback did work. It's strange that autopilot test is not catching it, but it already catches MissmatchError instead of like failing the test / marking it as skipped, thus test_incomming is not working properly at the moment.10:09
ogra_what about this one https://github.com/martinpitt/ofono/commit/97ba8139abf0a42d8568fa1cc3ea7432cf639e0310:09
xnoxogra_: what about it? do you know python at all? both syntaxes are equivalent.10:10
ogra_xnox, the point is that there has not much changed in the scripts, before the port apport didnt produce a crash file, now it does10:10
xnoxsure, ofono itself has changed as well =)10:11
ogra_as you noiticed yesterday that errors must have been there before as well ... for the ofono-phonesim-autostart package they are in the startup script by design10:11
xnoxogra_: can you please stop guessing, and give me time to actually debug this.10:11
ogra_i'm sure the same goes for the dial-number script10:11
ogra_so something changed that makes apport pick the tracebacks up ... which it did not with the python2 version10:12
ogra_(and yes, i know they are equivalent)10:12
xnoxogra_: did you run dial-number in python2, and it does generate traceback on the whichever image which has either reverted stack or before upgrade?10:12
xnoxogra_: i'm still downloading that image here.10:13
ogra_not yet, i can doo that soon10:13
ogra_(my maguro is dead, needs a bit of charge first, it has an old image)10:13
* ogra_ sighs, sill ymaguro is in a reboot loop 10:25
* ogra_ re-flashes with 19410:28
Laneymardy: I just got syncevolution building, but your diff doesn't make it install any extra files?10:38
mardyLaney: let me check...10:39
Laneyit builds a library called provideruoa which never gets put into any package10:41
Laneyis that all that's needed?10:41
mardyLaney: yes, that's it10:42
mardyLaney: weird that it doesn't warn of missing installed files10:42
seb128dh_install --fail-missing ftw10:43
Laneyyou can make it do that, but it's not the default10:43
Laneymardy: so, make a syncevolution-provider-uoa package?10:43
Laneys/,/, shall I/10:43
mardyLaney: I don't know, I don't think it's needed10:46
Laneyno?10:46
ogra_xnox, http://paste.ubuntu.com/7032374/10:52
xnoxogra_: and did you get incomming callback popup?10:53
ogra_xnox, thats image 188 (about two weeks old, scripts are python2 ... the dialling works btw, i get a call back)10:53
ogra_xnox, yeah, works as advertised10:53
ogra_just spills that traceback10:53
ogra_and i bet i know why it fails ...10:53
* ogra_ tests something 10:53
xnoxogra_: is the magic callback stuff in phonesim? it should return normally over dbus.10:54
xnoxogra_: my emulator is still running content-hub hook =)10:54
ogra_xnox, soo10:54
ogra_i get no traceback when running it as root10:54
ogra_but the dialer-app test (as all AP tests) run as phablet user10:55
ogra_xnox, yeah, it is in phonesim10:55
Laneymardy: there are some .service .provider and .service-type files that it wants to install into /usr/share/doc too?10:55
xnoxwasn't dialer-app suppose to become a click-app?10:55
ogra_i dont think so10:55
ogra_i dialer and messaging are the two exceptions10:55
mardyLaney: you can ignore them10:55
Laneyokay10:55
ogra_*i think10:55
ogra_xnox, ah, and the script is blocking, i have to ctrl-c out of it even as root (which produces the same traceback then)10:56
xnoxogra_: well, wait for 120 seconds.10:57
ogra_oh, right10:57
xnoxogra_: it has a timeout.10:57
ogra_yeah, forgot about that10:57
ogra_but in any case the traceback was there before as i thought10:57
ogra_just that apport didnt pick it up before10:57
xnoxogra_: so that crash has always been there. thus not a regression, but still bad none-the-less.10:58
ogra_right, and bad because it shows on the testing dashboard10:58
xnoxwe shouldn't have crashes supressed.10:58
ogra_we shouldnt have crashes :)10:58
xnoxogra_: right, not artificially  however =)10:58
xnoxogra_: i don't like the idea of shipping ofono-scripts on the image by default, and allow unpriviledged users to execute them and thus spoof calls / txt messages etc.10:59
ogra_well, so for clearing the dashboard lets upload a hack, and then leave it to pitti to fix that properly i'd say ... unless you want to go on debugging it10:59
ogra_there are many cases wheer you need the scripts to make use of specific features11:00
ogra_if you mess up your PIN three times we dont have a UI to enter the PUK for example ... to unlock the card again11:00
ogra_you need the scripts11:00
ogra_(there are other features you can only reach via the scripts)11:01
xnoxogra_: no, we will not suppress crashes.11:01
ogra_once we have UIs for them we can drop the scripts11:01
xnoxdidrocks: the crash in dial-number was always there, we don't know how, but whoopsie/apport were not picking it up before.11:02
ogra_xnox, well, do you have another solution in mind apart from rolling back two revisions ?11:02
didrocksxnox: interesting… what makes you think that?11:02
ogra_didrocks, see above i have just proven it11:02
ogra_didrocks, it is on 188 as well, but does not produce a .crash file11:03
didrocksweird…11:03
ogra_didrocks, something wrt apport changed, all the crashes were there before11:03
xnoxogra_: my solution is to acknowledge and work on fixing two bugs: one why python2 dial-number is not generating crash, but python3 one does. Two: make it not-crash in ofono, when it succeeds.11:03
ogra_it just never produces .crash files for them11:03
ogra_*produced11:03
didrocksogra_: ok ;)11:03
xnoxogra_: Three: fix dialer-app tests to actually verify that dian-number succeeds and dial back is there.11:03
xnoxdidrocks: there are three bugs to fix however =)11:04
ogra_didrocks, are you ok with that ?11:04
ogra_promoting with dangling around .crash files on the dashboard ?11:04
didrocksogra_: this sounds legit to me as this was analyzed and it's not a real issue11:04
ogra_didrocks, awesome11:04
didrockswell, we don't promote until clock app is fixed anyway, so there is time for getting 1/2/3 leaded by xnox done :)11:05
xnoxogra_: didrocks: actually, we can fix this in the AP tests. AP tests shouldn't use the dial-number script, instead they should invoke the dbus call to org.ofono themself and thus properly catch/process dbus exception from there.11:05
ogra_didrocks, well, not sure we can expect him to do the work of the QA team :)11:05
ogra_didrocks, i think the fix of the test is really their responsibility11:06
didrocksogra_: no, but talking to them is "leading" :)11:06
ogra_didrocks, its pittis test ... there is a bug filed, but pitti is on vac this week11:07
didrocksok, I think pitti won't lay that off the radar, so fine11:07
ogra_beyond that, the unfixed test wont do harm, it still works, it has just unsafe calls to the lower layer11:07
xnoxfiled https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/128765911:08
ubottuLaunchpad bug 1287659 in whoopsie (Ubuntu) "python2 crash traceback was not caught, yet python3 one was" [Undecided,New]11:08
ogra_great !11:08
* ogra_ hugs xnox ... thanks so much for helping with that 11:09
xnoxoh, and ofono-phonesim needs autopackage tests for starting up without crashing =)11:11
xnoxbug #128766011:12
ubottubug 1287660 in ofono-phonesim (Ubuntu) "Needs autopackage test for phonesim-autostart" [Undecided,New] https://launchpad.net/bugs/128766011:12
evxnox: that's probably better filed against apport11:18
evremember that whoopsie is just the shovel for daisy.ubuntu.com11:18
evby the time the report hits whoopsie, it's already complete11:18
xnoxev: ah ok, i it's all apportwhoopsiedaisyerrors to me =)11:19
evxnox: we could use a nice diagram, yeah11:23
xnoxev: in dot, with LaTeX labels, rendered on the fly, by moinmoin wiki page.11:26
xnox*nobody will ever edit it again*11:27
evxnox: woefully out of date, but https://wiki.ubuntu.com/ErrorTracker/ServerArchitecture11:27
evxnox: also https://wiki.ubuntu.com/ErrorTracker#Anatomy_of_a_crash.2C_in_detail11:28
xnoxev: kernel generates python3 traceback report file?11:30
ogra_only if you use the python kernel11:30
ogra_:P11:30
xnoxev: re:diagram in russian there is a great expression:"I am starring at it, like a goat at a billboard" (as in, it's pretty, but little is comprehended)11:31
evlol11:32
evyeah, I showed that to lifeless ages ago and he very politely suggested that I try a sequence diagram. Never managed to find time for it though11:33
xnoxev: do python crashes require python-problem-report to be installed?11:35
evxnox: very much so, yes11:37
evall crashes require it11:37
xnoxev: there is also python3-problem-report, i guess either is sufficient (well should match the apport one is running)11:38
ogra_xnox, hmm, well, only the python3 one is installed on the images ...11:39
evxnox: there's an easy way of testing you have what you need11:40
ogra_let me install the py2 version of it and lets see if i get a crash file11:40
evbash &; kill -SEGV $?11:40
=== MacSlow is now known as MacSlow|lunch
xnoxev: well, we get crashes for binaries crashing. we are not getting them for simple python scripts that raise dbus exceptions and not crashing the interpreter itself (python2 one, we get .crash file for python3)11:42
xnoxev: ogra_: or we can just move to python3 asap where it's still used =)11:42
evxnox: anything of value in /var/log/apport.log?11:43
xnoxev: emulator crashed... rebooting.11:44
ogra_ev, nope, not for me11:45
ogra_at least nothing related to calling the script that produces the traceback11:45
ogra_also installing python-problem-report didnt create any .crash file11:45
evit's python - I'd start instrumenting it and seeing where it's failing to produce the crash file11:45
ogra_well, to be honest i dont really care as long as we get them now :)11:46
ogra_thats mostly a matter of curiosity why we didnt get them with py211:46
* ogra_ is mostly with xnox here ... lets just move to py3 everywhere :) 11:48
xnoxev: the apport's test-suite doesn't help, it relies on the python3 crasher under test to install/raise apport hook, but new apport only allows python3 hooks and we want a python2 crasher =/11:50
evxnox: I'm sure pitti would appreciate patches11:51
jamespagecjwatson, how would you expect invoke-rc.d to behave for an upstart configuration that does exist but on a system where upstart is not the init system i.e. Debian?12:32
jamespagei was expecting a 100 - but a 102 get thrown12:32
jamespagexnox, I guess you might have an opinion on this as well12:32
cjwatson102 feels like a bug12:35
cjwatsonprobably best to sh -x it12:35
jamespagecjwatson, OK _ I'll poke12:46
xnoxjamespage: per debian policy, an init.d script and/or systemd unit should be provided.12:51
xnox(e.g. systemd unit should be sufficient for a linux-any package)12:52
xnox..12:56
xnoxhow does one do conflicts resolution, between multiple branches that are to be part of one silo?12:56
=== MacSlow|lunch is now known as MacSlow
jamespagexnox, we it is12:58
jamespagebut the upstart configurations have different features12:58
jamespage'ceph' is provided for init.d script12:58
jamespagewe/well12:58
xnoxjamespage: oh, if there is equavalent initd script (but under different name)12:59
LaneyWhere does policy talk about systemd?12:59
xnoxjamespage: one needs to generate dummy / empty - either upstart or initd scripts, to get back to one-to-one mapping.12:59
xnoxjamespage: i believe slangasek address that in the debian compatible upstart scripts wikipage.12:59
jamespagexnox, well its not 100% equivalent as init.d scripts can't really be event driven12:59
Laneymardy: ppa:laney/arm - try syncevoluion & syncevolution-provider-uoa please13:00
jamespagexnox, ceph under upstart works in quite a different way to ceph under init.d script13:00
cjwatsonhappyaron: what happened to the ibus-pinyin-db-android binary package?  it's no longer built by the ibus-pinyin source, but the changelog doesn't mention that at all, so it's not clear what to do with reverse-dependencies13:01
xnoxjamespage: right, but either gets you something like a cephd daemon running, albeit different. see https://wiki.ubuntu.com/UpstartCompatibleInitScripts and https://lists.ubuntu.com/archives/ubuntu-devel/2013-May/037150.html13:01
xnoxjamespage: we had same thing with e.g. mountall upstart job and mountall.sh, both are very different, but only one should run under each system.13:01
xnoxjamespage: and the right one.13:01
jamespagexnox, indeed - for ceph you can't really configure your system to run both ways13:02
jamespagexnox, you either do it old style (using /etc/ceph/ceph.conf) or you use all of the new-style tooling to create per daemon configs13:02
jamespageso infact on Ubuntu and Debian, its really a choice13:03
xnoxjamespage: thus the missing init.d scripts should be no-op. either not present at all, or do nothing. depends on the situation. Or like exec the normal-initd one instead.13:03
jamespagehmm13:03
xnoxjamespage: where is the packaging for it? can i take a look?13:03
=== Sweetsha1k is now known as Sweetshark
jamespagexnox, http://anonscm.debian.org/gitweb/?p=pkg-ceph/ceph.git13:03
jamespagexnox, well right now its " either not present at all"13:04
mardyLaney: thanks a lot, I will let Renato testing it (he's working with Contacts, and he requested this new version)13:20
xnoxcjwatson: looking at content-hub hook, it declares "Pattern: ${home}/.local/share/content-hub/${id}" yet none of the apps ship that, yet the hook is triggered. Also is it triggered ones per each click (manual or pre-installed) or once against all of them?13:52
xnox(it does a run against all it can find by default)13:52
cjwatsonxnox: Pattern declares the symlink to create, not the expected target13:55
* xnox goes to read the docs again.13:56
cjwatsonxnox: assuming you mean on boot under "click hook ...", the Exec line is run once at the end of syncing up symlinks, and is expected to catch up with everything13:57
xnoxcorrect, right.13:57
cjwatson(it quite deliberately doesn't e.g. get parameters telling it which package to run on, to encourage good hook design)13:58
xnoxcjwatson: good, so click side things are all good.14:10
cjwatsonxnox: but of course! ;-)14:17
dobeydholbach: i'd rather not. my only answer is "no" but i don't know if anyone was bringing a fork back or anything. the "official" plug-in is not coming back though14:36
dholbachdobey, ok... I just wasn't sure if this was answered anywhere else and I could point to some discussion14:37
lifelessev: :)14:57
AnAntHello, where does lightdm put logs of the user session ?15:41
seb128AnAnt, nowhere, log of the user sessions are not from lightdm and they are in the user directory15:43
AnAntseb128: well, I am trying to debug a problem with GNOME shell extensions on trusty15:44
AnAntseb128: the logs used to be in ~/.xsession-errors15:44
seb128try ~/.cache/upstart15:44
AnAntseb128: I ask the guys on GNOME, they say that it is handled by systemd's journal, and I should use journalctl, but there isn't a journalctl command on trusty15:45
AnAntseb128: thanks15:45
AnAntseb128: thanks it is in ~/.cache/upstart/gnome-session-gnome.log15:48
shadeslayercould someone offer some advice on the MISSING symbols on this log https://launchpadlibrarian.net/165726560/buildlog_ubuntu-trusty-amd64.kdepimlibs_4%3A4.12.2-0ubuntu2_UPLOADING.txt.gz16:29
shadeslayerbecause the symbols are for the ctor and dtor for a struct16:29
shadeslayerKMime::Types::AddrSpec::AddrSpec() and KMime::Types::AddrSpec::~AddrSpec() is what c++filt gives me16:29
shadeslayershould I drop them without a ABI bump considering they should have never been exposed ?16:30
shadeslayersince it's not really public API?16:30
xnoxogra_: in the "Self service CI (CI train)" line 42, one branch was renamed, it's now called lp:~ubuntu-core-dev/ubuntu-ui-toolkit/py32ap17:00
xnoxogra_: previously it was owned by ~xnox.17:00
xnoxogra_: can you fix it?17:01
ogra_xnox, are you sure ? i guess bzoltan changed it17:02
ogra_i actually see ~xnox ... you mean i need to point to the url above17:02
xnoxogra_: no, i renamed my branch. it used to be owned by ~xnox, that is now 404, it should be https://code.launchpad.net/~ubuntu-core-dev/ubuntu-ui-toolkit/py32ap17:03
xnoxnow.17:03
ogra_xnox, right, fixed17:03
xnoxogra_: and reset comment for it then.17:04
xnoxogra_: comment says "third URL is a 404, needs to be fixed before silo can be assigned"17:04
ogra_done17:04
xnoxogra_: danke schon.17:04
ogra_:D17:05
=== robru is now known as robru-sick
=== elleuca is now known as Guest71754
=== bfiller is now known as bfiller_afk
=== WebbyIT is now known as rpadovani
smoseranyone know... in a cloud-image i am not seeing a 'boot.log'19:59
smoser /var/log/boot.log20:00
smoserbut i do see that in a d-i based install that i did of trusty.20:00
smoseranyone know what would cause that ?20:01
slangaseksmoser: ah, plymouth :P20:13
smoserwell, yeah, i knew it was my old friend plymouth that did that.20:14
slangaseksmoser: you're currently not running plymouth in the cloud-image, right?20:14
smoserand i'm at this point accustomed to he and I not getting along well.20:14
smoserwe currently are running it.20:14
slangasekah20:14
slangaseknot sure then20:15
smoserits this: https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/116007920:16
ubottuLaunchpad bug 1160079 in plymouth (Ubuntu) "plymouth aborts in cloud images" [Undecided,Invalid]20:16
slangasekoh; why is that marked invalid?20:17
smoserit expired20:17
slangasekno, utlemming marked it invalid20:18
utlemmingslangesk: I have no idea why I did that...20:19
slangasekk :)20:19
smoserslangasek, how do i enable apport ?20:20
=== bfiller_afk is now known as bfiller
slangaseksmoser: what does /etc/default/apport contain for you?  (Which version of apport is this?)20:21
slangaseksmoser: oh, the other problem is that /etc/init/apport.conf is 'start on runlevel [2345]', which is late to catch a plymouth crash at boot :P20:21
smoser+ dpkg-query --show apport20:22
smoserapport  2.13.2-0ubuntu520:22
smoser+ grep --color=auto -v '^#' /etc/default/apport20:22
smoserenabled=120:22
smoseryeah.20:22
slangaseksmoser: so I think you're probably going to need to grab a core file from plymouth directly by manipulating /etc/init/plymouth.conf to set up the core handler in pre-start20:22
smoserthats fine by me. thoguhts on how ?20:23
slangaseksmoser: it might just be as simple as replacing the 'exec' line of /etc/init/plymouth.conf with this: http://paste.ubuntu.com/7034935/20:25
smoserand that will just (we think) dump core.$PID into / ?20:25
slangasekyeah20:25
slangasekwell, depending of the content of /proc/sys/kernel/core_pattern20:26
slangasekwhich you can tweak to name it differently, or you can leave it as-is and just find the core wherever it's dropped :)20:26
smoserslangasek, can i maybe just:20:29
smoserexec /bin/sh -c 'exec "$@"' -- /sbin/plymouthd --mode=boot --attach-to-session20:30
smoseror will that confuse upstarts's process tracking20:30
slangasekwell, you've confused me20:30
slangasekwhat are you hoping to accomplish?20:30
slangasekyou need the explicit call to 'ulimit -c unlimited', because by default we don't drop cores20:31
smoserright. i forgot that part :)20:31
jtaylorhm whats the best way to bisect glibc21:09
jtaylordo I need to remove the build folder each time or will incremental build work?21:10
jtaylornice, seems to work21:16
jtaylorstill seems it would profit from non recursive make :721:17
ahoneybun_are we finally going to get a new icon set for 14.04?21:54
argeshallyn: hey. if I wanted to patch vm-builder in precise to have 'trusty' as a proper series. where do I fix this? in the bzr, as a patch, ?21:55
hallynarges: for the current series I use lp:vmbuilder and lp:~vmbuilder-dev/vmbuilder/packaging.  for precise just just do a debdiff against the precise package i guess.21:57
argeshallyn: ok i'll do that.21:58
hallynarges: since it doesn't look liek vmbuilder will be out of the archive in time for trusty, I'm looking forward (haha) to spending somet time getting refamiliarized with it21:58
hallynI'll shun uvtool and embrace vmbuilder :)21:58
argeshallyn: yea i started using it recently, and it works out pretty nicely. i was using virt-install+preseed files  before21:58
hallyndownloading cloud iamges is generally nicer, and i *had* hoped to dump vmbuilder, but it is what it is :)21:59
hallynarges: shout if/when you open a bug and want the debdiff SRU'd into archive22:00
argescool22:03
jdstrandbarry: hey, so I've got an issue with a test suite using the system python modules if they are installed even if I use PYTHONPATH. Eg:22:05
jdstrandPYTHONPATH=./ python322:05
jdstrandimport apparmor.click22:06
jdstrand^ that will use /usr/lib/python3/dist-packages/apparmor/click.py if it is installed22:06
jtaylorwild guess, try an absolute path22:06
jdstrandif I uninstall python3-click-apparmor, then import apparmor.click works fine22:06
barryjdstrand: try PYTHONPATH=./ python3 -E22:07
barryer, no22:07
barrysorry, misunderstood you22:07
jdstrandprinting out sys.path seems to show that ./ is first22:08
barryjdstrand: although it is verbose, you can use -v to see all the import attempts22:08
jdstrandbarry: I'll try -v now, but this paste shows it is first: http://paste.ubuntu.com/7035400/22:10
jdstrandand if I remove what is in /usr/lib/python3/dist-packages/, it will find it22:10
* jdstrand is puzzled22:10
jtaylordid you try $PWD?22:11
jdstrandI did22:11
jtaylor:(22:11
jtayloris it a binary extension?22:12
jdstrandno22:12
jdstrandwell, actually, I do use a ctype22:13
jdstrandthis is with -v: http://paste.ubuntu.com/7035419/22:14
jdstrandso it finds /home/jamie/bzr-pulls/click-apparmor/apparmor/__init__.py22:15
barryjdstrand: the first entry, i.e. '' is interpreted as current working directory22:15
jdstrandbut down below, it uses /usr/lib/python3/dist-packages/apparmor/click.py22:15
jdstrandso I don't even need PYTHONPATH22:16
jdstrandwhich is what I had thought22:16
barrynot if you're in a directory that contains the package or module you want to import22:17
=== bfiller is now known as bfiller_afk
jdstrandbarry: can you rephrase? eg, if I am in the toplevel source tree, apparmor/click.py and apparmor/__init__.py exists22:18
jdstrandbarry: and that is where I am doing 'python3' following by 'import apparmor.click', yet the system apparmor.click is being used22:19
jdstrandI feel like this worked before22:19
barryjdstrand: can i reproduce your environment?22:19
jdstrandbarry: sure: bzr branch lp:click-apparmor22:19
jdstrandbarry: sudo apt-get install python3-apparmor-click22:20
jdstrandbarry: how I am testing is that towards the top of apparmor/click.py, I added: print("HERE")22:20
jdstrandbarry: then I just do: cd ./click-apparmor ; python322:21
jdstrandbarry: import apparmor.click22:21
jdstrandhmm, I have an 'import apparmor' at the top22:22
barryjdstrand: try `python3 -S` :)22:22
* jdstrand scratches head22:24
jdstrandI don't even know what that is22:24
barryjdstrand: i don't remember exactly how atm, but i think our site.py is hacked to install apparmor from the system path, even before you get an interpreter prompt (or import your own code).  -S disables loading site.py22:25
jdstrandhuh22:27
* jdstrand wonders why we do that22:27
barryjdstrand: i would have to dig in a little deeper to see how it's done, but don't have the time atm.  as to motivation, i guess you'll have to ask the apparmor devs.  my guess is so that it's embedded at the lowest level so it can't be subverted22:28
* jdstrand is an apparmor dev22:29
jdstrandbarry: ok, thanks, I'll look into it22:29
barryjdstrand: i guess you should ask jdstrand then!22:29
barry:)22:29
jdstrandbarry: fwiw, we don't seem to do anything special with apparmor in site.py22:33
barryjdstrand: hmm.  there has to be some effect, since -S makes it work22:34
jdstrandyeah. I'll keep poking at it22:34
jdstrandhmm. apparmor-easyprof installs files into /usr/lib/python3/dist-packages/apparmor/, and so does python3-apparmor-click22:36
jdstrandbut apparmor-easyprof's __init__.py is what's in /usr/lib/python3/dist-packages/apparmor/22:36
jdstrandI bet there is a weird interaction that22:37
jdstrandthere*22:37
hallynarges: I pushed the vmbuilder fix to trusty.  shout if you want me to push the precise one as well22:38
argeshallyn: ah you beat me to it22:38
hallynarges: sorry22:38
argeshallyn: bug 1287943, its not in any of the other stable releases22:39
ubottubug 1287943 in vm-builder (Ubuntu) "vm-builder needs trusty suite" [High,In progress] https://launchpad.net/bugs/128794322:39
argeshallyn: precise probably the more important on22:39
argesone22:39
hallynarges: on it22:39
argeshallyn: cool thanks!22:40
jdstrandbarry: interesting, if I zero out apparmor/__init__.py, then it works22:41
jdstrandI think I can work with that22:42
jtaylorhm will we get gcc-4.9?22:42
hallynoh no.  it looks like there was a change by xnox in the archive22:42
jtayloror do we have some ppas that provide it?22:42
jtaylorI do not feel like building my own gcc to check if a glibc miscompile is fixed :/22:42
sbeattiejdstrand, barry: I suspect pep 402 is coming into play; the current easyprof __init__.py doesn't do the declare_namespace() trick.22:44
* jdstrand doesn't know what the declare_namespace() trick is22:45
sbeattiejdstrand: see the __init__.py in click-apparmor22:45
sbeattieas well as http://www.python.org/dev/peps/pep-0402/22:46
jdstrandsbeattie: yeah, I didn't know what __init__.py was doing22:46
* jdstrand reads22:46
sbeattiejdstrand: I'm not able to reproduce it with the trunk based apparmor packages I'm testing, which also has that in its __init__.py22:48
sbeattiejdstrand: http://paste.ubuntu.com/7035580/22:49
jdstrandinteresting22:49
jtaylordoko: do you have some gcc-4.9 builds?22:49
jdstrandok, well, have enough information to do go forward22:49
jdstrandsbeattie: thanks!22:49
barryjdstrand, sbeattie: there's another thing in play, at least on my system.  if you put a `print('HERE')` in your local apparmor/__init__.py, but *before* the namespace declaration, then import apparmor from the prompt, the print gets executed, and yet apparmor.__file__ is the system one22:52
hallynarges; and after this push to precise I'm cutting out for the day bc it's not going well :)  forgot to mark the lp bug in the changelog for trusty.  sigh22:54
jdstrandI think I am going to just do local testing with __init__.py empty, but not commit that. when I get the new apparmor, it should all just work22:54
jtaylordo we have a snapshot.debian.org equivalent?22:56
dokojtaylor, ubuntu-toolchain-r PPA, or experimental22:56
sbeattie(doh, pep420 is the one that got accepted and finalized)22:56
jtaylorthx, lets see22:59
jtaylorI dread bisecting gcc ..22:59
jdstrandsbeattie: yes. should we change apparmor to use pkgutil since it is recommended or stick with pkg_resources.declare_namespace since that is ok too?23:02
jdstrandactually, I am just going to uninstall python3-apparmor-click and leave __init__.py alone23:04
jdstrandwhich works for what I'm doing until I get the new apparmor23:05
jtaylormh fixed in 4.923:05
sbeattiejdstrand: oh, hrm. maybe all the declare_namespace stuff can just go away?23:09
jdstrandsbeattie: I didn't read the whole thing, but I think everything needs to be the same, and should choose either declare_namespace or the pkutil method23:10
jdstrandsbeattie: since different projects are putting things in the same namespace23:10
jdstrandsbeattie: assuming I gleened correctly, you did the right thing adding it23:11

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