cjwatson | doko: yes, already looking | 00:02 |
---|---|---|
cjwatson | Ah, I think I want sitepackages=True in tox.ini | 00:05 |
lamont | cjwatson: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1287436 | 00:30 |
ubottu | Launchpad bug 1287436 in grub2 (Ubuntu) "grub-probe fails in the presence of snapshot logical volumes" [Undecided,New] | 00:30 |
cjwatson | lamont: 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 |
lamont | sure | 00:43 |
lamont | cjwatson: I already had the command, just for debugging things | 00:43 |
lamont | cjwatson: done | 00:46 |
cjwatson | ta | 00:49 |
psusi | cjwatson, lamont, did the patch to ignore snapshot volumes get lost? | 00:53 |
lamont | psusi: I didn't bother to see if it was a regression or something new | 00:54 |
lamont | OTOH, I suspect that a test case could be written for this | 00:54 |
* lamont runs dpkg --configure -a | 00:55 | |
lamont | File descriptor 3 (pipe:[754560]) leaked on vgs invocation. Parent PID 28874: /usr/sbin/grub-probe | 00:56 |
* lamont reremoves the volume, and does it again, after kicking himself | 00:57 | |
cjwatson | psusi: seems unlikely as such, it was an upstream change | 01:00 |
psusi | lamont, 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 |
cjwatson | unless my changelogs are misleading me, it was fixed upstream, not by me | 01:00 |
cjwatson | 5944958c61a4b8aa11162d01ea61462d02db7ac4 | 01:00 |
lamont | well, frankly, I should be able to boot from the snapshot, but maybe that's just crazy talk | 01:00 |
psusi | ohh, I could have sworn you fixed it | 01:00 |
psusi | lol.. yea, it *would* be nice if grub actually understood the snapshots, but.. ;) | 01:01 |
cjwatson | that being said, that area of code *has* changed and no longer explicitly mentions snapshots | 01:03 |
psusi | if you plan on playing with lvm snapshots it is probably a good idea to use a /boot partition | 01:04 |
psusi | (outside of lvm, or at the least, one you never will snapshot ) | 01:04 |
psusi | lvm snapshots are kina sucky though anyhow.. btrfs does it much nicer... I really need to play with that again | 01:05 |
cjwatson | wtf, bisect shows fc18f6a3cb15db980e65dda9e305a1d176b14b3a which seems to be an accidental bundling of lots of things into one commit | 01:05 |
cjwatson | ah, but followed by 70e75364fa8627e24bb5ed9eead391c778c4504e which was the changelog for that | 01:06 |
cjwatson | I'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 trouble | 01:08 |
* cjwatson gives up for the night | 01:08 | |
=== TheLordOfTime is now known as teward | ||
=== Logan_ is now known as Guest66133 | ||
=== Guest66133 is now known as Logan_ | ||
dholbach | good morning | 07:55 |
dholbach | dobey, do you think you can reply to https://twitter.com/publiclz/status/440421467038027776? | 08:30 |
mlankhorst | ogasawara: hah, I've beat you to https://launchpad.net/~ubuntu-x-swat/+archive/t-lts-backport :D | 09:01 |
didrocks | xnox: the version of ofono in the archive has your fix? | 09:27 |
xnox | didrocks: yes. | 09:29 |
didrocks | xnox: did you try with dialer-app AP tests as suggested? | 09:30 |
xnox | didrocks: they did pass in emulator yesterday, awe did same independantly, that's all before the upload. | 09:31 |
xnox | didrocks: let me try out the version from the archive in the emulator. | 09:31 |
didrocks | xnox: http://ci.ubuntu.com/smokeng/trusty/touch/mako/219:20140304:20140304/6967/dialer_app/ | 09:31 |
didrocks | seems there is still a crash on ofono_scripts_dial-number | 09:31 |
ogra_ | xnox, the dial-number script still produces a traceback | 09:31 |
xnox | didrocks: looks all good. | 09:31 |
ogra_ | the test passes fine though | 09:32 |
didrocks | xnox: do you think the timeout is due to dialer-app crashing? | 09:32 |
didrocks | xnox: (we had this dialer-app crash for quite a while, but without the script issue) | 09:32 |
xnox | didrocks: 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 transient | 09:33 |
didrocks | yeah | 09:33 |
xnox | ogra_: 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 test | 09:33 |
xnox | ogra_: the call/traceback in dial-number has 120 second timeout.... i can dial numbers faster than that by hand =) | 09:34 |
xnox | didrocks: looking at the Autopilot tests, they appear to be wrong, as they don't check if dial-number succeeds: | 09:35 |
xnox | def 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 199 | 09:35 |
xnox | # itself will fail, so quiesce the error | 09:35 |
xnox | subprocess.call(['/usr/share/ofono/scripts/dial-number', '199'], | 09:35 |
xnox | stdout=subprocess.PIPE, stderr=subprocess.PIPE) | 09:35 |
didrocks | xnox: can you reach upstream with those infos? | 09:37 |
xnox | didrocks: sure, let me file a bug report. | 09:37 |
didrocks | xnox: ok, and pinging them at the same time, please :) | 09:38 |
xnox | didrocks: 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 |
xnox | bug #1287628 | 09:48 |
ubottu | bug 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/1287628 | 09:48 |
ogra_ | xnox, but thats for incoming | 09:49 |
ogra_ | wouldnt involve dialing a number | 09:49 |
ogra_ | oh | 09:50 |
ogra_ | sorry ... i missed the top part :P | 09:50 |
ogra_ | so it dials 199 to get a call back | 09:50 |
ogra_ | and it explains why it is supposed to produce the traceback in the comment ! | 09:51 |
ogra_ | heh | 09:51 |
xnox | ogra_: a dbus method is executed to dial, and that should return something sensible back over dbus to exit the client.... =) | 09:52 |
xnox | ogra_: are magic numbers, magic in ofono or phonesim? | 09:52 |
ogra_ | well but it states that an error is expected for dialling 199 | 09:52 |
ogra_ | xnox, i suspect the dial-number script simply cant properly return an error here which causes the traceback | 09:54 |
ogra_ | (same apport issue as with the other scripts i guess) | 09:55 |
xnox | ogra_: 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_ | *apport | 10:02 |
ogra_ | i'm sure that issue is there forever even with py2, it was just never catched in a .crash file before | 10:02 |
xnox | ogra_: 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 |
xnox | ogra_: 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 |
xnox | ogra_: or at list get an incomming call listed with ./list-calls. | 10:06 |
ogra_ | (during the py3 transition) | 10:07 |
xnox | ogra_: i'm on a slow internet today, downloading both images to compare. | 10:07 |
xnox | ogra_: 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/97ba8139abf0a42d8568fa1cc3ea7432cf639e03 | 10:09 |
xnox | ogra_: 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 does | 10:10 |
xnox | sure, 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 design | 10:11 |
xnox | ogra_: 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 script | 10:11 |
ogra_ | so something changed that makes apport pick the tracebacks up ... which it did not with the python2 version | 10:12 |
ogra_ | (and yes, i know they are equivalent) | 10:12 |
xnox | ogra_: 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 |
xnox | ogra_: i'm still downloading that image here. | 10:13 |
ogra_ | not yet, i can doo that soon | 10: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 194 | 10:28 | |
Laney | mardy: I just got syncevolution building, but your diff doesn't make it install any extra files? | 10:38 |
mardy | Laney: let me check... | 10:39 |
Laney | it builds a library called provideruoa which never gets put into any package | 10:41 |
Laney | is that all that's needed? | 10:41 |
mardy | Laney: yes, that's it | 10:42 |
mardy | Laney: weird that it doesn't warn of missing installed files | 10:42 |
seb128 | dh_install --fail-missing ftw | 10:43 |
Laney | you can make it do that, but it's not the default | 10:43 |
Laney | mardy: so, make a syncevolution-provider-uoa package? | 10:43 |
Laney | s/,/, shall I/ | 10:43 |
mardy | Laney: I don't know, I don't think it's needed | 10:46 |
Laney | no? | 10:46 |
ogra_ | xnox, http://paste.ubuntu.com/7032374/ | 10:52 |
xnox | ogra_: 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 advertised | 10:53 |
ogra_ | just spills that traceback | 10:53 |
ogra_ | and i bet i know why it fails ... | 10:53 |
* ogra_ tests something | 10:53 | |
xnox | ogra_: is the magic callback stuff in phonesim? it should return normally over dbus. | 10:54 |
xnox | ogra_: my emulator is still running content-hub hook =) | 10:54 |
ogra_ | xnox, soo | 10:54 |
ogra_ | i get no traceback when running it as root | 10:54 |
ogra_ | but the dialer-app test (as all AP tests) run as phablet user | 10:55 |
ogra_ | xnox, yeah, it is in phonesim | 10:55 |
Laney | mardy: there are some .service .provider and .service-type files that it wants to install into /usr/share/doc too? | 10:55 |
xnox | wasn't dialer-app suppose to become a click-app? | 10:55 |
ogra_ | i dont think so | 10:55 |
ogra_ | i dialer and messaging are the two exceptions | 10:55 |
mardy | Laney: you can ignore them | 10:55 |
Laney | okay | 10:55 |
ogra_ | *i think | 10: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 |
xnox | ogra_: well, wait for 120 seconds. | 10:57 |
ogra_ | oh, right | 10:57 |
xnox | ogra_: it has a timeout. | 10:57 |
ogra_ | yeah, forgot about that | 10:57 |
ogra_ | but in any case the traceback was there before as i thought | 10:57 |
ogra_ | just that apport didnt pick it up before | 10:57 |
xnox | ogra_: 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 dashboard | 10:58 |
xnox | we shouldn't have crashes supressed. | 10:58 |
ogra_ | we shouldnt have crashes :) | 10:58 |
xnox | ogra_: right, not artificially however =) | 10:58 |
xnox | ogra_: 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 it | 10:59 |
ogra_ | there are many cases wheer you need the scripts to make use of specific features | 11: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 again | 11:00 |
ogra_ | you need the scripts | 11:00 |
ogra_ | (there are other features you can only reach via the scripts) | 11:01 |
xnox | ogra_: no, we will not suppress crashes. | 11:01 |
ogra_ | once we have UIs for them we can drop the scripts | 11:01 |
xnox | didrocks: 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 |
didrocks | xnox: interesting… what makes you think that? | 11:02 |
ogra_ | didrocks, see above i have just proven it | 11:02 |
ogra_ | didrocks, it is on 188 as well, but does not produce a .crash file | 11:03 |
didrocks | weird… | 11:03 |
ogra_ | didrocks, something wrt apport changed, all the crashes were there before | 11:03 |
xnox | ogra_: 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 them | 11:03 |
ogra_ | *produced | 11:03 |
didrocks | ogra_: ok ;) | 11:03 |
xnox | ogra_: Three: fix dialer-app tests to actually verify that dian-number succeeds and dial back is there. | 11:03 |
xnox | didrocks: 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 |
didrocks | ogra_: this sounds legit to me as this was analyzed and it's not a real issue | 11:04 |
ogra_ | didrocks, awesome | 11:04 |
didrocks | well, 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 |
xnox | ogra_: 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 responsibility | 11:06 |
didrocks | ogra_: 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 week | 11:07 |
didrocks | ok, I think pitti won't lay that off the radar, so fine | 11:07 |
ogra_ | beyond that, the unfixed test wont do harm, it still works, it has just unsafe calls to the lower layer | 11:07 |
xnox | filed https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1287659 | 11:08 |
ubottu | Launchpad 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 | |
xnox | oh, and ofono-phonesim needs autopackage tests for starting up without crashing =) | 11:11 |
xnox | bug #1287660 | 11:12 |
ubottu | bug 1287660 in ofono-phonesim (Ubuntu) "Needs autopackage test for phonesim-autostart" [Undecided,New] https://launchpad.net/bugs/1287660 | 11:12 |
ev | xnox: that's probably better filed against apport | 11:18 |
ev | remember that whoopsie is just the shovel for daisy.ubuntu.com | 11:18 |
ev | by the time the report hits whoopsie, it's already complete | 11:18 |
xnox | ev: ah ok, i it's all apportwhoopsiedaisyerrors to me =) | 11:19 |
ev | xnox: we could use a nice diagram, yeah | 11:23 |
xnox | ev: in dot, with LaTeX labels, rendered on the fly, by moinmoin wiki page. | 11:26 |
xnox | *nobody will ever edit it again* | 11:27 |
ev | xnox: woefully out of date, but https://wiki.ubuntu.com/ErrorTracker/ServerArchitecture | 11:27 |
ev | xnox: also https://wiki.ubuntu.com/ErrorTracker#Anatomy_of_a_crash.2C_in_detail | 11:28 |
xnox | ev: kernel generates python3 traceback report file? | 11:30 |
ogra_ | only if you use the python kernel | 11:30 |
ogra_ | :P | 11:30 |
xnox | ev: 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 |
ev | lol | 11:32 |
ev | yeah, 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 though | 11:33 |
xnox | ev: do python crashes require python-problem-report to be installed? | 11:35 |
ev | xnox: very much so, yes | 11:37 |
ev | all crashes require it | 11:37 |
xnox | ev: 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 |
ev | xnox: there's an easy way of testing you have what you need | 11:40 |
ogra_ | let me install the py2 version of it and lets see if i get a crash file | 11:40 |
ev | bash &; kill -SEGV $? | 11:40 |
=== MacSlow is now known as MacSlow|lunch | ||
xnox | ev: 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 |
xnox | ev: ogra_: or we can just move to python3 asap where it's still used =) | 11:42 |
ev | xnox: anything of value in /var/log/apport.log? | 11:43 |
xnox | ev: emulator crashed... rebooting. | 11:44 |
ogra_ | ev, nope, not for me | 11:45 |
ogra_ | at least nothing related to calling the script that produces the traceback | 11:45 |
ogra_ | also installing python-problem-report didnt create any .crash file | 11:45 |
ev | it's python - I'd start instrumenting it and seeing where it's failing to produce the crash file | 11: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 py2 | 11:46 |
* ogra_ is mostly with xnox here ... lets just move to py3 everywhere :) | 11:48 | |
xnox | ev: 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 |
ev | xnox: I'm sure pitti would appreciate patches | 11:51 |
jamespage | cjwatson, 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 |
jamespage | i was expecting a 100 - but a 102 get thrown | 12:32 |
jamespage | xnox, I guess you might have an opinion on this as well | 12:32 |
cjwatson | 102 feels like a bug | 12:35 |
cjwatson | probably best to sh -x it | 12:35 |
jamespage | cjwatson, OK _ I'll poke | 12:46 |
xnox | jamespage: 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 |
xnox | how 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 | ||
jamespage | xnox, we it is | 12:58 |
jamespage | but the upstart configurations have different features | 12:58 |
jamespage | 'ceph' is provided for init.d script | 12:58 |
jamespage | we/well | 12:58 |
xnox | jamespage: oh, if there is equavalent initd script (but under different name) | 12:59 |
Laney | Where does policy talk about systemd? | 12:59 |
xnox | jamespage: one needs to generate dummy / empty - either upstart or initd scripts, to get back to one-to-one mapping. | 12:59 |
xnox | jamespage: i believe slangasek address that in the debian compatible upstart scripts wikipage. | 12:59 |
jamespage | xnox, well its not 100% equivalent as init.d scripts can't really be event driven | 12:59 |
Laney | mardy: ppa:laney/arm - try syncevoluion & syncevolution-provider-uoa please | 13:00 |
jamespage | xnox, ceph under upstart works in quite a different way to ceph under init.d script | 13:00 |
cjwatson | happyaron: 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-dependencies | 13:01 |
xnox | jamespage: 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.html | 13:01 |
xnox | jamespage: 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 |
xnox | jamespage: and the right one. | 13:01 |
jamespage | xnox, indeed - for ceph you can't really configure your system to run both ways | 13:02 |
jamespage | xnox, you either do it old style (using /etc/ceph/ceph.conf) or you use all of the new-style tooling to create per daemon configs | 13:02 |
jamespage | so infact on Ubuntu and Debian, its really a choice | 13:03 |
xnox | jamespage: 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 |
jamespage | hmm | 13:03 |
xnox | jamespage: where is the packaging for it? can i take a look? | 13:03 |
=== Sweetsha1k is now known as Sweetshark | ||
jamespage | xnox, http://anonscm.debian.org/gitweb/?p=pkg-ceph/ceph.git | 13:03 |
jamespage | xnox, well right now its " either not present at all" | 13:04 |
mardy | Laney: thanks a lot, I will let Renato testing it (he's working with Contacts, and he requested this new version) | 13:20 |
xnox | cjwatson: 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 |
cjwatson | xnox: Pattern declares the symlink to create, not the expected target | 13:55 |
* xnox goes to read the docs again. | 13:56 | |
cjwatson | xnox: 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 everything | 13:57 |
xnox | correct, 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 |
xnox | cjwatson: good, so click side things are all good. | 14:10 |
cjwatson | xnox: but of course! ;-) | 14:17 |
dobey | dholbach: 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 though | 14:36 |
dholbach | dobey, ok... I just wasn't sure if this was answered anywhere else and I could point to some discussion | 14:37 |
lifeless | ev: :) | 14:57 |
AnAnt | Hello, where does lightdm put logs of the user session ? | 15:41 |
seb128 | AnAnt, nowhere, log of the user sessions are not from lightdm and they are in the user directory | 15:43 |
AnAnt | seb128: well, I am trying to debug a problem with GNOME shell extensions on trusty | 15:44 |
AnAnt | seb128: the logs used to be in ~/.xsession-errors | 15:44 |
seb128 | try ~/.cache/upstart | 15:44 |
AnAnt | seb128: 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 trusty | 15:45 |
AnAnt | seb128: thanks | 15:45 |
AnAnt | seb128: thanks it is in ~/.cache/upstart/gnome-session-gnome.log | 15:48 |
shadeslayer | could 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.gz | 16:29 |
shadeslayer | because the symbols are for the ctor and dtor for a struct | 16:29 |
shadeslayer | KMime::Types::AddrSpec::AddrSpec() and KMime::Types::AddrSpec::~AddrSpec() is what c++filt gives me | 16:29 |
shadeslayer | should I drop them without a ABI bump considering they should have never been exposed ? | 16:30 |
shadeslayer | since it's not really public API? | 16:30 |
xnox | ogra_: in the "Self service CI (CI train)" line 42, one branch was renamed, it's now called lp:~ubuntu-core-dev/ubuntu-ui-toolkit/py32ap | 17:00 |
xnox | ogra_: previously it was owned by ~xnox. | 17:00 |
xnox | ogra_: can you fix it? | 17:01 |
ogra_ | xnox, are you sure ? i guess bzoltan changed it | 17:02 |
ogra_ | i actually see ~xnox ... you mean i need to point to the url above | 17:02 |
xnox | ogra_: 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/py32ap | 17:03 |
xnox | now. | 17:03 |
ogra_ | xnox, right, fixed | 17:03 |
xnox | ogra_: and reset comment for it then. | 17:04 |
xnox | ogra_: comment says "third URL is a 404, needs to be fixed before silo can be assigned" | 17:04 |
ogra_ | done | 17:04 |
xnox | ogra_: danke schon. | 17:04 |
ogra_ | :D | 17: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 | ||
smoser | anyone know... in a cloud-image i am not seeing a 'boot.log' | 19:59 |
smoser | /var/log/boot.log | 20:00 |
smoser | but i do see that in a d-i based install that i did of trusty. | 20:00 |
smoser | anyone know what would cause that ? | 20:01 |
slangasek | smoser: ah, plymouth :P | 20:13 |
smoser | well, yeah, i knew it was my old friend plymouth that did that. | 20:14 |
slangasek | smoser: you're currently not running plymouth in the cloud-image, right? | 20:14 |
smoser | and i'm at this point accustomed to he and I not getting along well. | 20:14 |
smoser | we currently are running it. | 20:14 |
slangasek | ah | 20:14 |
slangasek | not sure then | 20:15 |
smoser | its this: https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1160079 | 20:16 |
ubottu | Launchpad bug 1160079 in plymouth (Ubuntu) "plymouth aborts in cloud images" [Undecided,Invalid] | 20:16 |
slangasek | oh; why is that marked invalid? | 20:17 |
smoser | it expired | 20:17 |
slangasek | no, utlemming marked it invalid | 20:18 |
utlemming | slangesk: I have no idea why I did that... | 20:19 |
slangasek | k :) | 20:19 |
smoser | slangasek, how do i enable apport ? | 20:20 |
=== bfiller_afk is now known as bfiller | ||
slangasek | smoser: what does /etc/default/apport contain for you? (Which version of apport is this?) | 20:21 |
slangasek | smoser: 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 :P | 20:21 |
smoser | + dpkg-query --show apport | 20:22 |
smoser | apport 2.13.2-0ubuntu5 | 20:22 |
smoser | + grep --color=auto -v '^#' /etc/default/apport | 20:22 |
smoser | enabled=1 | 20:22 |
smoser | yeah. | 20:22 |
slangasek | smoser: 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-start | 20:22 |
smoser | thats fine by me. thoguhts on how ? | 20:23 |
slangasek | smoser: 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 |
smoser | and that will just (we think) dump core.$PID into / ? | 20:25 |
slangasek | yeah | 20:25 |
slangasek | well, depending of the content of /proc/sys/kernel/core_pattern | 20:26 |
slangasek | which 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 |
smoser | slangasek, can i maybe just: | 20:29 |
smoser | exec /bin/sh -c 'exec "$@"' -- /sbin/plymouthd --mode=boot --attach-to-session | 20:30 |
smoser | or will that confuse upstarts's process tracking | 20:30 |
slangasek | well, you've confused me | 20:30 |
slangasek | what are you hoping to accomplish? | 20:30 |
slangasek | you need the explicit call to 'ulimit -c unlimited', because by default we don't drop cores | 20:31 |
smoser | right. i forgot that part :) | 20:31 |
jtaylor | hm whats the best way to bisect glibc | 21:09 |
jtaylor | do I need to remove the build folder each time or will incremental build work? | 21:10 |
jtaylor | nice, seems to work | 21:16 |
jtaylor | still seems it would profit from non recursive make :7 | 21:17 |
ahoneybun_ | are we finally going to get a new icon set for 14.04? | 21:54 |
arges | hallyn: 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 |
hallyn | arges: 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 |
arges | hallyn: ok i'll do that. | 21:58 |
hallyn | arges: 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 it | 21:58 |
hallyn | I'll shun uvtool and embrace vmbuilder :) | 21:58 |
arges | hallyn: yea i started using it recently, and it works out pretty nicely. i was using virt-install+preseed files before | 21:58 |
hallyn | downloading cloud iamges is generally nicer, and i *had* hoped to dump vmbuilder, but it is what it is :) | 21:59 |
hallyn | arges: shout if/when you open a bug and want the debdiff SRU'd into archive | 22:00 |
arges | cool | 22:03 |
jdstrand | barry: 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 |
jdstrand | PYTHONPATH=./ python3 | 22:05 |
jdstrand | import apparmor.click | 22:06 |
jdstrand | ^ that will use /usr/lib/python3/dist-packages/apparmor/click.py if it is installed | 22:06 |
jtaylor | wild guess, try an absolute path | 22:06 |
jdstrand | if I uninstall python3-click-apparmor, then import apparmor.click works fine | 22:06 |
barry | jdstrand: try PYTHONPATH=./ python3 -E | 22:07 |
barry | er, no | 22:07 |
barry | sorry, misunderstood you | 22:07 |
jdstrand | printing out sys.path seems to show that ./ is first | 22:08 |
barry | jdstrand: although it is verbose, you can use -v to see all the import attempts | 22:08 |
jdstrand | barry: I'll try -v now, but this paste shows it is first: http://paste.ubuntu.com/7035400/ | 22:10 |
jdstrand | and if I remove what is in /usr/lib/python3/dist-packages/, it will find it | 22:10 |
* jdstrand is puzzled | 22:10 | |
jtaylor | did you try $PWD? | 22:11 |
jdstrand | I did | 22:11 |
jtaylor | :( | 22:11 |
jtaylor | is it a binary extension? | 22:12 |
jdstrand | no | 22:12 |
jdstrand | well, actually, I do use a ctype | 22:13 |
jdstrand | this is with -v: http://paste.ubuntu.com/7035419/ | 22:14 |
jdstrand | so it finds /home/jamie/bzr-pulls/click-apparmor/apparmor/__init__.py | 22:15 |
barry | jdstrand: the first entry, i.e. '' is interpreted as current working directory | 22:15 |
jdstrand | but down below, it uses /usr/lib/python3/dist-packages/apparmor/click.py | 22:15 |
jdstrand | so I don't even need PYTHONPATH | 22:16 |
jdstrand | which is what I had thought | 22:16 |
barry | not if you're in a directory that contains the package or module you want to import | 22:17 |
=== bfiller is now known as bfiller_afk | ||
jdstrand | barry: can you rephrase? eg, if I am in the toplevel source tree, apparmor/click.py and apparmor/__init__.py exists | 22:18 |
jdstrand | barry: and that is where I am doing 'python3' following by 'import apparmor.click', yet the system apparmor.click is being used | 22:19 |
jdstrand | I feel like this worked before | 22:19 |
barry | jdstrand: can i reproduce your environment? | 22:19 |
jdstrand | barry: sure: bzr branch lp:click-apparmor | 22:19 |
jdstrand | barry: sudo apt-get install python3-apparmor-click | 22:20 |
jdstrand | barry: how I am testing is that towards the top of apparmor/click.py, I added: print("HERE") | 22:20 |
jdstrand | barry: then I just do: cd ./click-apparmor ; python3 | 22:21 |
jdstrand | barry: import apparmor.click | 22:21 |
jdstrand | hmm, I have an 'import apparmor' at the top | 22:22 |
barry | jdstrand: try `python3 -S` :) | 22:22 |
* jdstrand scratches head | 22:24 | |
jdstrand | I don't even know what that is | 22:24 |
barry | jdstrand: 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.py | 22:25 |
jdstrand | huh | 22:27 |
* jdstrand wonders why we do that | 22:27 | |
barry | jdstrand: 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 subverted | 22:28 |
* jdstrand is an apparmor dev | 22:29 | |
jdstrand | barry: ok, thanks, I'll look into it | 22:29 |
barry | jdstrand: i guess you should ask jdstrand then! | 22:29 |
barry | :) | 22:29 |
jdstrand | barry: fwiw, we don't seem to do anything special with apparmor in site.py | 22:33 |
barry | jdstrand: hmm. there has to be some effect, since -S makes it work | 22:34 |
jdstrand | yeah. I'll keep poking at it | 22:34 |
jdstrand | hmm. apparmor-easyprof installs files into /usr/lib/python3/dist-packages/apparmor/, and so does python3-apparmor-click | 22:36 |
jdstrand | but apparmor-easyprof's __init__.py is what's in /usr/lib/python3/dist-packages/apparmor/ | 22:36 |
jdstrand | I bet there is a weird interaction that | 22:37 |
jdstrand | there* | 22:37 |
hallyn | arges: I pushed the vmbuilder fix to trusty. shout if you want me to push the precise one as well | 22:38 |
arges | hallyn: ah you beat me to it | 22:38 |
hallyn | arges: sorry | 22:38 |
arges | hallyn: bug 1287943, its not in any of the other stable releases | 22:39 |
ubottu | bug 1287943 in vm-builder (Ubuntu) "vm-builder needs trusty suite" [High,In progress] https://launchpad.net/bugs/1287943 | 22:39 |
arges | hallyn: precise probably the more important on | 22:39 |
arges | one | 22:39 |
hallyn | arges: on it | 22:39 |
arges | hallyn: cool thanks! | 22:40 |
jdstrand | barry: interesting, if I zero out apparmor/__init__.py, then it works | 22:41 |
jdstrand | I think I can work with that | 22:42 |
jtaylor | hm will we get gcc-4.9? | 22:42 |
hallyn | oh no. it looks like there was a change by xnox in the archive | 22:42 |
jtaylor | or do we have some ppas that provide it? | 22:42 |
jtaylor | I do not feel like building my own gcc to check if a glibc miscompile is fixed :/ | 22:42 |
sbeattie | jdstrand, 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 is | 22:45 | |
sbeattie | jdstrand: see the __init__.py in click-apparmor | 22:45 |
sbeattie | as well as http://www.python.org/dev/peps/pep-0402/ | 22:46 |
jdstrand | sbeattie: yeah, I didn't know what __init__.py was doing | 22:46 |
* jdstrand reads | 22:46 | |
sbeattie | jdstrand: I'm not able to reproduce it with the trunk based apparmor packages I'm testing, which also has that in its __init__.py | 22:48 |
sbeattie | jdstrand: http://paste.ubuntu.com/7035580/ | 22:49 |
jdstrand | interesting | 22:49 |
jtaylor | doko: do you have some gcc-4.9 builds? | 22:49 |
jdstrand | ok, well, have enough information to do go forward | 22:49 |
jdstrand | sbeattie: thanks! | 22:49 |
barry | jdstrand, 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 one | 22:52 |
hallyn | arges; 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. sigh | 22:54 |
jdstrand | I 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 work | 22:54 |
jtaylor | do we have a snapshot.debian.org equivalent? | 22:56 |
doko | jtaylor, ubuntu-toolchain-r PPA, or experimental | 22:56 |
sbeattie | (doh, pep420 is the one that got accepted and finalized) | 22:56 |
jtaylor | thx, lets see | 22:59 |
jtaylor | I dread bisecting gcc .. | 22:59 |
jdstrand | sbeattie: 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 |
jdstrand | actually, I am just going to uninstall python3-apparmor-click and leave __init__.py alone | 23:04 |
jdstrand | which works for what I'm doing until I get the new apparmor | 23:05 |
jtaylor | mh fixed in 4.9 | 23:05 |
sbeattie | jdstrand: oh, hrm. maybe all the declare_namespace stuff can just go away? | 23:09 |
jdstrand | sbeattie: 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 method | 23:10 |
jdstrand | sbeattie: since different projects are putting things in the same namespace | 23:10 |
jdstrand | sbeattie: assuming I gleened correctly, you did the right thing adding it | 23:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!