[01:45] hey uh, do we make an armhf image that contains a kernel that can work on midway? === _salem is now known as salem_ [02:53] mwhudson: Yes. [02:53] mwhudson: If by "image" you mean "d-i netboot images". [02:54] mwhudson: http://ports.ubuntu.com/ubuntu-ports/dists/trusty/main/installer-armhf/current/images/generic-lpae/netboot/ [02:54] infinity: yeah, i think i was being confused [02:55] have i mentioned my deep and abiding love for uboot recently [02:56] mwhudson: I sense sarcasm. [02:57] very perceptive of you [03:02] argh! [03:02] midway just has broken uEnv.txt support [03:02] ${fs}load ${devtype} ${devnum} ${script_addr} ${prefix}uEnv.txt && Executing ${prefix}uEnv.txt... [03:03] that explains the Unknown command 'Executing' - try 'help' [03:03] message [03:09] mwhudson: Hrm, I've never had any issues on the midways I've played with. [03:09] mwhudson: Maybe I don't use uEnv? I dunno. [03:09] probably not [03:10] maybe this one has out of date firmware, i dunno [03:10] just means i need to re-remember how to use boot.scr [03:39] hello amigos [03:40] i've set up a build dir to generate my first deb package (from source), after running dpkg-buildpackage -rfakeroot i get an error message. it complains that the Package field is missing in the control file [03:40] any idea? === salem_ is now known as _salem [04:12] slangasek, xnox: heads up, lennart plans to remove udev's netlink interface, effectively breaking udev on all !systemd without people fixing things: http://lists.freedesktop.org/archives/systemd-devel/2014-May/019657.html [04:18] yay? [05:22] Good morning [06:15] good morning === mbiebl_ is now known as mbiebl === iahmad is now known as iahmad|afk === BruceMa is now known as BruceMa-afk === doko_ is now known as doko [07:58] pitti, thanks for the suggestion !! ... do you know if we have a tool for editing thises options or should i "just sed from postinst" ? [07:58] ogra_: no, we can't change it in a package, it's a conffile [07:58] so at most during an image build [07:58] thats what i feared [07:58] certainly not ideal [07:59] ogra_: i. e. I was mostly suggesting that as a quick fix if you want to unbreak images, not as a long-term solution [07:59] should have mentioned that in the mail, sorry [08:00] well, the only "proper" longter solution is to create a single package for a single file i think [08:00] ogra_: perhaps an even better thing to do would be to change /etc/X11/Xsession.d/75dbus_dbus-launch to not run $DBUSLAUNCH if [ -n "$DBUS_SESSION_BUS_ADDRESS" ] [08:00] which is ugly as well but less intrusive [08:00] ogra_: i. e. if there already is a session bus, started from upstart or whatever [08:00] well, this one seems to be actually get started by the first gdbus call [08:01] ogra_: gdbus runs dbus-launch if there's no $DBUS_SESSION_BUS_ADDRESS, that seems like a separate issue [08:01] ogra_: what is supposed to start "the" session bus on the phone? [08:01] it obviously wasn't 75dbus_dbus-launch as we didn't install that until yesterday [08:02] pitti, no idea how it looks like in the new split greeter world ... usually we have an upstart job starting it [08:03] but i dont think lightdm processes a full session startup in upstart [08:03] at least not in our setup [08:03] (in our new setup) [08:04] ogra_: so I think the first thing to do is to get some agreement what starts the session bus -- lightdm, 75dbus_dbus-launch, 00upstart (through a session upstart job), or something else [08:04] mterry did a lot of complex things to make the lightdm dbus have access to the user dbuses it seems [08:04] ogra_: aside from that, I think changing 75dbus_dbus-launch to not do anything if there already is a session bus is a sensible and safe thing to do [08:04] yeah [08:05] we definitely dont want to have two per session :) (two for lightdm, two for the phablet user) [08:05] ogra_: yes, absolutely; two session buses will break $world [08:06] right [08:06] if different processes use differetn addresses (otherwise it's just a waste) [08:06] http://ci.ubuntu.com/smokeng/utopic/touch/ .... it happens pretty visible since image 59 :) [08:07] but as i said, mike does some trickery to get the buses talk to each other it seems [08:07] so that phone calls get through etc [08:09] ogra_: can you easily test http://paste.ubuntu.com/7578684/ ? [08:10] will do ... i dont have my test device near ... but in 10min or so [08:26] pitti, doesnt seem to help [08:26] you still get two buses? [08:26] root@ubuntu-phablet:~# ps aux|grep dbus |grep session|grep -v upstart|wc -l [08:26] 4 [08:26] ogra_: that means that 75dbus_dbus-launch comes first and the second one is started after that [08:26] which is weird [08:27] pitti, i see the same socket twice as well http://paste.ubuntu.com/7578759/ [08:28] ogra_: right, one for lightdm, one for phablet [08:28] look at the two phablet ones [08:28] they are identical and use the same address [08:28] ogra_: yeah, I know, looks odd; can you grep for dbus-launch? [08:28] not there [08:29] ogra_: was it there without the Xsession.d change? [08:29] yes [08:29] if yes, that change at least helped a bit; if no, dbus-x11 wasn't the reason [08:30] and before split greeter we had exactly one dbus-daemon per session [08:30] I have three in my desktop session, presumably it forks internally [08:30] martin 1648 0.0 0.0 39240 324 ? Ss 07:18 0:00 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session [08:30] martin 1660 0.0 0.0 41444 4008 ? Ss 07:18 0:04 dbus-daemon --fork --session --address=unix:abstract=/tmp/dbus-4jEVwkHdJv [08:30] martin 1806 0.0 0.0 39504 3492 ? S 07:18 0:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3 [08:30] oh. ok [08:30] ogra_: but not two with the same --address thing [08:31] right [08:31] ogra_: on the phone we probably don't have the a11y bus, so we can ignore that [08:31] right [08:32] 1660 is started by session upstart (lightdm -> init -> dbus-daemon (1660) [08:32] 1648 isn't, not sure where that comes from, but the --print-address sounds like it's coming from dbus-launch === posessed is now known as klubko [08:37] pitti, could you upload the dbus-x11 fix in any case ? [08:37] ogra_: sure [08:37] (since i dont see dbus-launch it seems to have worked) [08:37] ogra_: was that tracked as a bug, or just on u-phone@ so far? [08:38] just the ML [08:38] ack, thanks [08:41] ogra_: test-building now, will test on desktop before I upload [08:41] (just to make double-suree) [08:41] ok [08:42] I still wish we could avoid all teh Xsession.d/ legacy and shellery on the phone [08:43] it's not even running X :) [08:46] we will at some point :) [08:47] pitti: i did remove dbus-launch from ubuntu-touch images. it shouldn't be seeded on touch images at all... [08:47] pitti: any clue as to why it was pulled back in? [08:47] sorry, i mean dbus-x11 [08:47] xnox: no, I don't know why it came in there [08:47] xnox, split greeter uses gdbus ... which needs dbus-launch [08:48] xnox, but sadly also ships the Xsession.d script that fires up a second session bus [08:48] no, gdbus doesn't *need* dbus-launch [08:48] well, *uses* [08:48] :) [08:48] it really shouldn't [08:48] our session should already have a bus [08:48] if a process doesn't have $DBUS_SESSION_BUS_ADDRESS, that's a bug in passing the env variables or starting the bus too late [08:49] well, lightdm seems to spawn one thats not upstart driven [08:49] xnox, so its a new dependency of the new greeter session implementation [08:50] so the dbus-x11 Xsession.d/ change is a cheap and harmless help for that, but it in no way address the actual bug [08:50] if it even is a bug [08:50] ogra_: that dependency is black-listed from the seed =) [08:50] we verified yesterday that it fixed the AP issues [08:50] ogra_: I guess we didn't enforce it. [08:50] xnox, talk to the greeter team ... [08:51] ogra_: i'm talking to landing team / person in charge of the seed =) [08:51] ogra_: dev teams will always try to use haskell & what not =) [08:52] xnox, split greeter is the base for a ton of other features, feel free to work with mterry on improving it (and file a bug) but we need to land this if any possible so others can move on with their dependant work [08:52] ogra_: is there no featureflag to run split greeter in non-split mode? [08:52] not that i know of [08:54] and it is also pretty complicated ... making sure phone calls to the users get handled by the greeter, you can start apps in the user session from the locked greeter etc ... the feature set is huge and scary :) [08:58] ogra_: btw. do you remember who robru poked to ACK all the crazy packaging changes of the greeter landing? [08:58] xnox, if you like getting scared in the morning ... https://code.launchpad.net/~mterry/unity8/split/+merge/213149 (there are about ten other packages with changes but this is the core) [08:59] sil2100, no, probably me ... doesnt the train record that ? i know rob always puts my name into the lander field or some such when i ack something [09:02] (i have seen him putting it in a jenkins form) [09:05] xnox, my theory is that dropping dbus-launch would need a re-org of the unity8-greeter-wrapper script (so that the first gdbus --session call happens after upstart ran init --user for lightdm ...) but i wont touch that code with the author not around [09:15] ogra_: let's hope mterry will be around today [09:20] xnox, Saviq, pitti, sil2100 bug 1325882 ... i think thats our final solution [09:20] bug 1325882 in unity8 (Ubuntu) "unity8-greeter-wrapper needs a re-org to not use dbus-launch" [Undecided,New] https://launchpad.net/bugs/1325882 [09:20] (but mterry needs to agree) [09:20] ogra_: yes, sounds good to me (i. e. fix the startup ordering) [09:21] ogra_, yeah, I thought that's what was happening.. [09:21] great :) [09:21] * ogra_ likes agreement [09:22] i see dbus already hit proposed [09:22] * ogra_ prepeares the accompanying unity8 upload [09:23] ogra_: FWIW, you don't really need that dbus on a new image, it's mostly to make debugging less confusing [09:23] and it'll be stuck in -proposed until I fix the tests for udisks2 in -proposed (which broke due to enabling logind session tracking) [09:24] ogra_, if I agree, do you still need mterry's agreement? shall I push an MP? [09:24] pitti, crap [09:25] Saviq, well, given the above comment from pitti it is unlikely that we can make our 12:00UTC deadline ... so yes, go ahead ... cant become worse, can it ? [09:27] ogra_, ;) [09:27] sil2100, keep a silo ready for Saviq ^^^;) [09:28] ogra_: why do you need that fix urgently? (if so, release team can fast-track it) [09:29] pitti, we are in TRAINCON-0 mode ... which means nothing can land (except some select bits) until we have resolved the major issue ... if we cant fix it in a given timeframe we have to roll back the whole landing [09:30] the timeframe we have set ourselves for this one is 12:00 UTC ... [09:30] so that we can be sure we can drop TRAINCON-0 in any case tonight [09:30] ogra_: ok, but I still don't understand how that dbus change actually fixes the bug, or why fixing the ordering in bug 1325882 would need that dbus fix [09:30] bug 1325882 in unity8 (Ubuntu) "unity8-greeter-wrapper needs a re-org to not use dbus-launch" [Undecided,New] https://launchpad.net/bugs/1325882 [09:30] by either having a proper fix or by rolling back all packages that make up this landing [09:31] pitti, the re-ordering wont since we drop all deps on dbus-x11 with that [09:31] pitti, if we would keep dbus-x11 and *not* re-order we would need your fix though [09:32] o/ [09:32] pitti, with Saviq offering to take the risk of the re-order we get around using dbus-x11 at all ... and make xnox happy too ;) [09:33] ah, ok; it seems a bit curious that this dbus-x11 fix would actually fix things [09:34] well, the dbus-launch call for gdbus makes things currently work [09:34] s/for/from/ [09:34] hm, "work" [09:35] yeah [09:35] it still means that this spawns another bus which no othe process wants.. [09:35] well, "not fail" is probably better :) [09:35] no, it spawns *the* session dbus ... the upstart job wont fire if there is one allready [09:36] but that session dbus wont use the upstart defined options for the daemon etc [09:36] urgh :) yes, then Houston we have a problem [09:36] because no other processes will know about that one [09:36] right [09:36] well, the indicators do ... they dont start without dbus-launch available [09:36] (and other weird things happen) [09:37] so we should not install dbus-x11 so that we actually see which processes try to call dbus-launch (and then LART them) [09:37] DON'T *spank" START *spank* A NEW *spank* BUS! *spank* [09:38] right, thats what Saviq will now implement ... [09:38] in the hope that it works [09:38] ogra_, https://code.launchpad.net/~unity-team/unity8/resync-distro-split/+merge/221845 + https://code.launchpad.net/~unity-team/unity8/fix-split-dbus/+merge/221847 [09:39] * sil2100 keeps his fingers crossed [09:39] if not we'll have to roll back and leave it to mterry to come up with a proper solution [09:41] Saviq, both acked ... (with a comment on the second) [09:42] ogra_, yeah, added telepathy-ofono test plan to the landing [09:42] sil2100, line 36 is ready for you [09:43] Saviq: excellent! The reorder seems ok... [09:43] Let me assign [09:43] Saviq: silo 20 for you [09:44] Let's get it building and tested o/ [09:44] ++ [09:44] builds [09:44] and then get an image that fixes our world ;) [09:45] @pilot in === udevbot changed the topic of #ubuntu-devel to: Utopic boot fixed in sysv-rc 2.88dsf-41ubuntu15, boot with init=/lib/systemd/systemd until then | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> trusty | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patc [09:49] ogra_, Saviq: let's hope that it does! [09:49] ogra_, hmm... so without dbus-x11 it's upstart that will start dbus, and indicators in greeter should then work again, 'cause the gdbus → dbus-launch *before* upstart caused things to mess around? [09:50] it should [09:50] ok it's an easy thing to check on 61, /me tries [09:50] let me quickly try your change on my flo [09:52] but yeah, in any case, the fact that gdbus just launches dbus... nasty [09:52] ogra_, looks legit! [09:52] yay [09:53] * ogra_ reboots with the change [09:53] well, it does that if tehre is no $DBUS_SESSION_BUS_ADDRESS -- not having that is the actual bug [09:54] Saviq, no indicators for me ... are you sure you removed dbus-x11 ? [09:54] (i purged it) [09:54] ogra_, I just have 61, so no dbus-x11, never installed it [09:54] hm [09:54] oh wait [09:54] let me reflash then :/ [09:55] ogra_, no, I have it here [09:55] aha [09:55] somehow [09:55] so that doesnt really fix it [09:55] mitya57: for https://code.launchpad.net/~chris-good/ubuntu/trusty/netkit-rwall/fix-for-1277981/+merge/216563, it looks like the source package isn't version 3.0, so how would you expect a dep3 patch in that case? I don't see any patch system in use. [09:56] :| [09:56] I was looking at https://bugs.launchpad.net/ubuntu/+source/netkit-rwall/+bug/1277981 but just realised it's the same bug. [09:56] Launchpad bug 1277981 in netkit-rwall (Ubuntu Precise) "rwall adds \377 bytes to short messages" [Undecided,New] [09:56] Saviq, trying something ... [09:57] ogra_, so yeah, no dice here either :| [09:57] rbasak: He could switch to 3.0, or use dh_quilt, or just add the patch to debian/patches to indicate that it is a patch [09:58] also, three changelog entries for one upload looks like an overkill [09:59] is there an easy way for me to do "apt-get source libdbus-cpp3=utopic" for example where I am on trusty? [09:59] (i.e. I want to get the source package from utopic version of a package, on my trusty system) [10:00] popey, download off of launchpad easiest probably, otherwise you'd need to add utopic repos to your system [10:00] yeah, figured it was going to be that way, thanks [10:02] popey: use pull-lp-source from ubuntu-dev-tools [10:02] neat! [10:02] thanks [10:05] ;/ [10:06] ogra_: what are you trying now? [10:06] sil2100, a few other things ... gimme a bit [10:08] Saviq, so even when adding "initctl start dbus" to the script (and actually getting a proper dbus) i dont get indicators ... looks almost like greeter-started never gets emitted [10:09] ogra_, well, don't they crash for you? [10:09] Saviq, they do [10:09] ogra_, so they are getting triggered, but their env doesn't have the dbus details, I'd say [10:09] mitya57: he's not the DM for the package though. Isn't adding a patch system in an Ubuntu delta a little invasive? I agree that he should send the patch upstream or get it in through Debian though. No need to introduce an Ubuntu delta for this. [10:10] Saviq, right, looking into that atm [10:10] mitya57: I agree about the excessive changelog, though I assume that he's just unfamiliar with tooling. I'd have just fixed that up had I uploaded (which I won't) [10:10] ogra_, it's like upstart a) never started dbus or b) didn't put their details into its global env [10:10] mitya57: (also, he needs to fix Utopic first now. Easier to just fix Debian) [10:11] I agree. [10:13] Saviq, right, i have code in place here that calls initctl start dbus now ... pulls the address from it and exports [10:13] lets see [10:13] \o/ [10:13] * ogra_ got indicators [10:14] that looks good ! [10:14] \o/ [10:15] ogra_, just push under my MP [10:15] ogra_, it's ~unity-team, so you should be able to [10:15] ogra_, or well, gimme a diff and I will [10:15] (test and push) [10:16] Saviq, paste.ubuntu.com/7579305/ ... preparing an MP [10:17] ogra_, I'll just add it to mine, let's not break things up in multiple MPs [10:17] ok [10:18] Damn, hackish [10:18] ogra_, wonder if we should use set_greeter_var for it, though [10:18] 'Morning folks [10:18] ogra_, or erm, put it on the upstart env [10:18] sil2100, i'll leave the proper cleanup to mterry :P [10:18] ogra_: +1 ;p [10:18] ogra_, or does "start dbus" take care of it already? [10:19] Saviq, well, calling start dbus is the first wrong thing ... the rest is just fallout :P [10:19] Saviq, it doesnt give us the address and doesnt export it either ... but luckily stores in that file that i source [10:20] its a hack on top of a hack [10:20] but seems to work fine at least [10:20] mhm [10:21] this needs some serious re-work to be right [10:22] in fact i think much of it should move into proper upstart jobs and get the right ordering [10:26] * ogra_ looks if it is possible to pull the address more elegantly out of the upstart session global vars instead [10:27] ogra_, well, upstart get-env? [10:27] right [10:27] thats what i'm trying here [10:27] but iits a bit fiddly [10:30] Saviq, [10:30] /sbin/initctl start dbus [10:30] export DBUS_SESSION_BUS_ADDRESS="$(/sbin/initctl get-env DBUS_SESSION_BUS_ADDRESS)" [10:30] drop the file ... this works too [10:31] one hack less [10:31] hmm [10:31] Saviq: i've updated https://wiki.ubuntu.com/Touch/CrossCompile with some notes from the session. Is there anything missing? And where should I circulate it, such that people from the session see it? [10:32] Saviq: also, I didn't yet find where unity-scope-go bindings in cgo are, and trying to cross-compile those. Can you please remind me who can point me to them? === FJKong is now known as FJKong_afk [10:34] xnox, jamesh [10:34] xnox, and ubuntu-phone@ would definitely be a place to post this [10:35] xnox, there's some common data in https://wiki.ubuntu.com/SimpleSbuild too, maybe we should combine those [10:35] grr [10:37] ogra_, kicked another build in the silo with your fix, then [10:37] yay [10:37] Saviq: \o/ [10:37] * Saviq tries to repro the split bug [10:37] let me re-flash my device so i can test on a virgin install [10:38] Now it looks so much nicer - although still a bit hackish :) [10:39] sil2100, yeah, the starting of dbus should not be needed ... but init is started with --no-startup-event which makes the dbus upstart job not being called [10:40] ogra_, does mtp-server respawns here constantly :| [10:40] (since it is "start on startup") [10:40] -does [10:40] not for me [10:40] under the greeter session (where it should probably never start in the first place) [10:40] yeah [10:40] why doesnt it do that here [10:41] do you have a porper cable in use ? i'm not sure this is related [10:41] (sadly i'm flashing now so my device is taken for the next 12-15 min) [10:42] ogra_, I can access it fine [10:42] ogra_, but there's the user one running (working), and then the greeter one respawning and crashing in a loop [10:42] which kind of makes sense [10:42] given it's [10:42] start on :sys:android-mtp-on or :sys:android-usb-connected [10:43] hmpf [10:44] how can i uniquely know i'm in a lightdm session now ... [10:46] Saviq, "start on :sys:android-mtp-on or :sys:android-usb-connected and not unity8-greeter-started" [10:46] Saviq, try chaning it like that and see if the user mtp-server still starts fine [10:46] hmm, i think that needs some brackets to group the old arg [10:47] Saviq, "start on (:sys:android-mtp-on or :sys:android-usb-connected) and not unity8-greeter-started" [10:47] more like that i guess [10:47] ogra_, ok, I'm starting to feel like we're not progressing at all... [10:47] the unity8-greeter-started shouldnt be in the users env [10:47] Saviq, why is that ? [10:48] There's still some time, we can push the revert if this doesn't work [10:48] right [10:48] * sil2100 upgrades his phone [10:49] * ogra_ gets some breakfast while teh flo downloads 62 ... [10:49] Saviq, wht i dont get is why mtp didnt start before for you but now does ... it isnt related to dbus in any way [10:50] its not like we changed anything else [10:50] execpt for the dbus bits [10:51] ogra_, no mtp at all now [10:52] * Saviq doesn't get how that could work... they're events, not states, or am I dumb? [10:55] Saviq, well, i dont get why you have it all of a sudden [10:55] * Saviq reflashes [10:55] Saviq: correct, upstart only has events. There is a separate job which emits yeah/nay events (android-mtp-on & android-mtp-off events) [10:56] Saviq: on system level, which are re-emitted into session init as "sys:android-mtp-on" for example [10:56] right [10:56] xnox, sure [10:56] start on (:sys:android-mtp-on or :sys:android-usb-connected) and not unity8-greeter-started [10:56] that I don't get [10:56] Saviq: it's a fake approximation of the state =) [10:56] there is another system job that emits android-mtp-on if the android property is set [10:57] * ogra_ wrote both these jobs [10:57] Saviq: the first two are emitted, however, I don't know who/where/what emits "unity8-greeter-started" or how "not" works. [10:57] Saviq: i don't think that's valid job. [10:57] it just hands through the porperty to upstart [10:57] xnox, "unity8-greeter-started" is emitted by the new greeter [10:58] ogra_, oh so it's a property or an event? [10:58] which should only spawn inside the lightdm session [10:58] ogra_: you apear to be waiting for event called "not" though. [10:58] Saviq, we have an upstart property watcher ... the property is watched ... on change it emits the event [10:58] ogra_: well not you, but that job. [10:58] start on condition [10:58] eeek [10:58] indeed [10:59] so that explains why it didn't start at all [10:59] xnox, well, we only want mtp if that event doesnt even exist [10:59] ogra_: not possible =) [10:59] or rather if the greeter doesnt run in our session [10:59] right [10:59] :/ [10:59] ogra_: pre-start script [10:59] there must be sommething we can check for thoush [11:00] *though [11:00] ! status unity8-greeter-started || {stop; exit 0} [11:00] end script [11:00] * ogra_ idly waits for his device to finish flashing [11:00] ogra_: if that's a job. [11:00] ogra_: but it's not a job. [11:00] well, an event [11:00] ogra_: check for the job presence instead..... [11:00] it has a sub-job we could look for [11:00] barry, what is the status of Debian #749692? [11:00] right [11:00] Debian bug 749692 in python-pip-whl "python-pip-whl is missing dependencies on dependent wheels" [Serious,Open] http://bugs.debian.org/749692 [11:00] that was my initial idea [11:01] ogra_: we don't at all store state, thus one has no idea if an event fired in the past and is now gone. Nor one can negate, future events. [11:02] right, i think your pre-start thing will work [11:02] ↑ yeah, that's why I didn't understand it... [11:02] Saviq, add a pre-start script [11:02] ! status unity8-greeter-started || {stop; exit 0} [11:02] let's see, flashing now [11:02] jodh: hey James, thanks for the procenv fix; need a sponsor for Debian? [11:03] ogra_: is unity8-greeter-started an actual job? [11:03] no [11:03] err, no, one sec ... [11:03] ogra_: status can only be run on jobs, not events.... [11:03] there is an actual job though [11:03] ogra_: see upstart cookbook on how to make mutually exclusive jobs. [11:03] unity8-greeter-init [11:03] pitti: thanks for the offer, but I have upload rights for procenv (it's currently building on their buildd's). [11:03] ogra_: there is a snippet [11:03] Saviq, use that [11:04] jodh: FYI, I have some improvements for the sbuild test to automatically use the host's apt proxy, so that it runs much much faster locally; I'll test/upload this once procenv actually becomes buildable again [11:04] jodh: ah, sweet; thanks [11:04] Saviq: ogra_: once you have a merge proposal, I'd offer to review it. [11:04] my prob is that i cant reproduce it at all ... and dont get how Saviq got to that state [11:05] ogra_, it does make sense, though - there's only one usb cable, who gets it? [11:05] the system first of all :) [11:05] (well, the active session, probably) [11:05] pitti: thanks. I'd like to understand a bit more about why 3.15 dropped that feature, but I plan to add extra procenv guards to avoid such a problem happening again. [11:05] right [11:05] it seems to be a race i dont see on flo [11:05] yeah, I'm on mako [11:05] right [11:06] phablet@ubuntu-phablet:~$ initctl status unity8-greeter-init [11:06] unity8-greeter-init stop/waiting [11:06] so there we go [11:07] ogra_, that's a task :| [11:07] Saviq, ! status unity8-greeter-init || {stop; exit 0} [11:07] thats what you want in pre-start [11:07] in the mtp-server job [11:07] try it [11:07] k [11:08] hmm, probably we dont want the negation [11:08] * ogra_ is confused [11:09] I don't really think this will help, it's a task, it just goes to stopped straight away [11:10] sigh [11:10] Saviq, haha ... [11:11] how about "and started unity8" ;) [11:11] lightdm should never start that [11:12] since the greeter is its shell [11:13] ogra_, USER != lightdm? [11:13] oh ! [11:13] that sounds about right [11:13] yeah, that should work too [11:20] * ogra_ tests silo [11:20] what am I doing wrong?!? http://pastebin.ubuntu.com/7579709/ [11:20] /bin/sh: 1: [: lightdm: unexpected operator [11:20] ah sh? [11:20] yeah [11:21] POSIX ... drop one = [11:21] ok good [11:22] silo confirmed to work fine [11:22] ogra_, on that note http://paste.ubuntu.com/7579717/ [11:22] the list of things running in the greeter session, we should probably strip some of the [11:22] m [11:23] but yeah, not necessarily now [11:23] yeah, looks ok for now [11:26] xnox, http://paste.ubuntu.com/7579742/ [11:26] please take a look [11:27] Saviq, i guess i need to upload that, right ? [11:27] (core dev ... etc) [11:27] hm, I wonder why I can't upgrade to the unity8 from the silo PPA [11:27] sil2100, i just pulled the debs and did a dpkg -i *.deb [11:27] worked fine [11:28] Yeah, will try that as well then [11:28] A bit strange though [11:28] you need unity8-common from the i386 build ... [11:28] ogra_, that broke user mtp for me (pre-start needs exit 0 always?) [11:28] Saviq, err [11:28] no, the code is wrong [11:28] needs to use curly brackets [11:28] sorry, fixing [11:29] another bashism :) [11:30] Saviq, xnox http://paste.ubuntu.com/7579772/ [11:30] that should work [11:31] hi mterry btw ... [11:31] ogra_, hello! I just read the thread [11:31] mterry: ! [11:31] Am responding to some of the bugs [11:31] mterry: FINALLY! [11:31] hehe, yeah ... the world fell apart as expected :) [11:32] ogra_, sil2100: the dbus thing doesn't make any sense [11:32] mterry, we have it fixed now [11:32] ogra_, can't say that it does... [11:32] ogra_, job failed to start [11:32] mterry, but another issue with mtp showed up [11:32] mterry: ogra_ and Saviq are doing a nice job of trying to workaround/fix the issues, but I guess someone knowledgable in the very core would be helpful [11:32] ogra_, sil2100: /usr/lib/lightdm/lightdm-greeter-session launches dbus for the greeter, upstart does it for the session [11:32] Saviq, sigh [11:33] mterry, only if youhave dbus-x11 installed which spawns multiple session dbuses becaause Xsession.d scripts get processed too [11:33] (and drags in X11 deps ... ) [11:33] ogra_, http://pastebin.ubuntu.com/7579797/ works for me [11:33] Saviq, hmm, k [11:34] +/- ; [11:34] Saviq, can you try without the exit 0 [11:34] that should be a no-op [11:34] ogra_, why does the Xsession.d script do that in Mir? And why didn't we see that in testing I wonder [11:35] mterry, that's a great question indeed [11:35] mterry, locally run AP tests work fine ... in the lab AP somehow connects to the extra spawned dbus it seems [11:35] woah [11:35] so you didnt see that ... but in any case running multiple session buses is wrong [11:35] and for that we have a fix [11:36] But I've also done plenty of ps aux | greps in my testing. I feel like I would have noticed a whole extra dbus, not to mention the problems that would cause the greeter session [11:36] mterry, what i find more interesting is why didnt you see the mtp issue [11:36] your desktop should have been plastered with mtp errors [11:36] ogra_, what's the mtp issue? [11:36] mterry, it starts for lightdm [11:36] and when the user one starts it clashes [11:36] and crashes [11:36] ogra_, no, no errors on desktop [11:36] Saviq, oh ? [11:37] ogra_, it crashes in the *lightdm* session [11:37] ah, k [11:37] ogra_, not in user [11:37] so just a .crash file [11:37] so anyway, it works fine, connects fine, *just* apport dumping your battery down the drain [11:37] Saviq, anyway, does dropping exit 0 still work ? [11:37] * ogra_ would liek to get rid fo that [11:37] ogra_, worse than that, I just lost indicators again :| [11:37] oh my [11:38] Saviq, with no changes to the greeter stuff and using the silo packages ? [11:38] * ogra_ reboots his flo 10 times ... lets see [11:38] ogra_, no, patched manually, will flash again and get the silo now [11:38] but I would have seen the crashes in /var/crash then... [11:39] mterry, yeah, I do have the feeling that something moved under our feet :| [11:39] ogra_, and why was it only flo that had the dbus problem? [11:39] mterry, http://ci.ubuntu.com/smokeng/utopic/touch/ [11:39] not only flo [11:40] i just dont have a mako for hacking [11:40] Saviq tests mako, i test flo atm [11:40] ogra_: that pastebin is good. [11:40] ogra_, on the mailing list only flo was listed as having the black-boot problem [11:40] ogra_, all had it? (We also tested flo in Malta...) [11:40] mterry, black boot ? [11:40] mterry, yeah, no black boot [11:40] ogra_, people were saying there was a boot problem getting any session on flo [11:40] mterry, that was with the half done landing ... unrelated [11:40] ogra_, I don't think it was the half done landing [11:41] mterry, unity8 didnt land til sunday late afternoon [11:41] all other bits from the silo did [11:41] ogra_, I don't think the exit 0 is a noop [11:41] ogra_, if USER != lightdm [11:41] ogra_, it will exit with ['s retcode [11:41] ogra_, (A) I'm not sure the half done landing caused any problems. I *thought* I set all the dependencies correct -- in this case, ubuntu-touch-session woudln't have landed until unity8 did, so no split boot would be enabled. [11:41] (B) people reported same black boot after unity8 landed [11:41] Saviq, which either triggers stop or not ... [11:42] ogra_, yeah, and when not [11:42] Saviq, the exit 0 is after the "if" [11:42] ogra_, pre-start exits with 1 [11:42] ogra_, so job fails [11:42] Saviq: did you test it. [11:42] i dont get why the curly brackes we use everywhere else didnt work for you [11:43] "[foo] && bar" construct is considered guarded, and works correctly under `set -e` [11:43] * mterry re-reads thread to see which symptoms were from the second dbus [11:43] mterry, the half done landing was an infra prob ... unity8 was stuck somewhere [11:43] mterry, not your fault [11:43] xnox, I did [11:43] Saviq: ogra_: it can be changed to ' [ "$USER" != "lightdm" ] || { stop; exit 0; } [11:43] mterry: right, it wasn't on your side [11:43] mterry, the double dbus caused http://ci.ubuntu.com/smokeng/utopic/touch/ to regress heavily [11:43] ogra_, oh, so if ubuntu-touch-session got through then without unity8, yeah that could cause problems [11:43] xnox, ok let me try that [11:43] mterry, which doesnt show up when testing locally [11:44] not sure why || would behave differently than &&? [11:44] * mterry has to run real quick for 15m, be back [11:44] In 15 minutes we will commence the big revert ;p! [11:44] Saviq, 10 reboots in a loop ... i always had indicators here [11:45] Saviq: it shouldn't. maybe -1 exit is comming later? also you do need to fully stop the job, for the new config to take effect on next start. (restart is not enough, one needs stop&start) [11:45] sil2100, thanks for telling us ... :P [11:45] sil2100, the silo looks fine for me, did you try ? [11:45] xnox, yeah yeah, I had it stopped and went "start foo", it barfed [11:46] xnox, I'll try in a sec, flashing [11:47] ogra_: rebooting and looking, but what about that adb problem? Is the pre-start hack working? [11:47] sil2100, mtp, not adb, and yes, we're almost ther [11:47] e [11:47] sil2100, it should ... waiting for Saviq for a final test, then i'll upload to the silo [11:47] s/adb/mtp [11:47] ACK [11:47] ;) [11:47] sil2100, we use the same code xnox pointed to above in a ton of other scripts ... should definitely work [11:49] \o/ [11:49] Ok, I like how it works [11:50] got indicators ? [11:50] Yep! [11:50] great [11:50] Nice greeter indicators indeed on my mako [11:50] now just mtp ... [11:51] Trying the fix outlined above [11:51] sil2100, check if they opertes right [11:51] *operate [11:51] sil2100, battery should look different in the greeter than in the session [11:51] clock too [11:51] if you expand them [11:52] So far so good, they look different indeed + disabling/enabling wifi works [11:52] good [11:52] then all should be fine with that landing [11:53] * sil2100 tries to run some AP tests to see if all is ok [11:53] ++ [11:53] good idea [11:53] perferably some of the ones we know did fail [11:53] sudoku is a good one for that [11:57] xnox, Saviq, final version that works fine here ... no crashes and mtp still starts fine for the user http://paste.ubuntu.com/7579893/ [11:58] sil2100, feel free to try that too (and check if there are crashes in /var/crash for the 111 user after applying it ) [11:58] ogra_, http://paste.ubuntu.com/7579899/ [11:58] * Saviq had some network weirdness [11:59] * mterry is back [11:59] Saviq, yeah, identical to mine http://paste.ubuntu.com/7579893/ [11:59] Is there anything I can help with or did you heroes already just solve something? [11:59] Saviq, works fine for me ... did you verify on mako ? [11:59] ogra_, yes, have mtp for user, no crash [12:00] mterry, i think we are fine for now ... but read the rest of the thread there are more regressions [12:00] mterry, i guess bfiller would appreciate if you could help with these [12:00] Saviq, good, dputting to the silo ... then a final test of the package, then lets publish and fire off an image [12:01] ogra_, yeah, I'll do some telephony stress-testing in the mean time [12:01] mterry: some regressions might have been fixed by ogra_'s and Saviq's fixes, but some others might still be a problem [12:01] ogra_, all the telephony ones? Yeah, I saw that. Some were known, but some are surprises yeah [12:01] Saviq, ++ [12:01] mterry, btw shouldnt the indicators only show different behavior when the phone is locked [12:01] * sil2100 runs sudoku-app tests [12:01] pmcgowan: they do right now, right? [12:02] sil2100, but we have no actual "locking" enabled atm [12:02] pmcgowan, no they have a slightly different UI even in no-password mode to my knowledge [12:02] sil2100, they are aways reduced features from greeter - without lock [12:02] pmcgowan, they export differences via phone vs phone_greeter profiles [12:02] mterry, thats different than android and ios afaik [12:02] more a question for design [12:02] and surely not a blocker for now [12:02] pmcgowan, right. We have the information available to indicators to show what they wish on the greeter [12:03] pmcgowan, indeed, and then we're the first doing that kind of thing on a phone AFAICT [12:03] pmcgowan, we export current user, whether they need a password, and that we are in a greeter [12:03] not a blocker, just noticed in 59 [12:03] mterry, ok [12:03] mterry, the boot animation is really really tiny ... is that wanted ? its only like 1-1.5cm on the flo screen [12:04] mterry, I also looked at the memory overhead for all the additional processes, its not terrible but not great either [12:04] pmcgowan, huh ? it doubled [12:04] ogra_, I don't know about the scaling... Mirco wrote the actual gl code. It probably should scale bigger on flo [12:04] ogra_, its around 40MB more [12:04] and causes issues with app lifecycle ... apps dies way eralier [12:04] pmcgowan, yeah. We double the shell memory [12:04] pmcgowan, not what i see [12:04] ogra_, oh, perhaps I mssed something [12:05] From what I saw it was much higher than before [12:05] pmcgowan, and some of the extra telephony processes etc [12:05] pmcgowan, mterry, but a lot of that mem should be shared, no? [12:05] mterry, see https://docs.google.com/a/canonical.com/spreadsheets/d/1kBNHXCh941rcl7ZUbpjpRlyMtNAZmqCRhEy0jOM4Izo/edit#gid=0 [12:05] same libs etc. [12:05] Saviq, yeah I counted PSS [12:05] oh k [12:05] pmcgowan, bug 1325580 [12:05] bug 1325580 in unity8 (Ubuntu) "after split greeter landing unity8 and the greeter consume a lot more memory" [Undecided,New] https://launchpad.net/bugs/1325580 [12:06] pmcgowan, will definitely need improvements ... [12:06] yeah, that's to be fixed for sure, shell should have reduced, greeter shouldn't be that big [12:06] right [12:06] ogra_, pmcgowan: are you saying that unity8 RSS got bigger by itself after split landing? [12:06] and well, we can probably strip the greeter session (there's mediascanner running, for example) [12:06] ogra_: all sudoku tests passed locally \o/ [12:06] hud [12:06] and there are a lot upstart jobs we dont want in the greeter ... [12:06] Or just that having an extra greeter process is causing problems? [12:06] sil2100, yay [12:06] ogra_: let me revert and see if I had those failures before actually... [12:06] mterry, I was saying the latter [12:06] ogra_, we don't start most of them -- we have a custom startup event in greeter shell [12:06] mterry, well, we have two full sessions atm [12:07] As per smoketesting [12:07] right [12:07] we dont start most of them but still too many [12:07] the greeter itself shouldnt eat 90M+ either [12:07] we should not start maliit in the greeter until it's needed, that's for sure [12:07] ogra_, mediascanner is an interesting one -- wonder why it starts [12:07] might need the same change we used for mtp [12:07] hud, should be gone, too [12:07] we need to fix maliit to begin with [12:08] Yeah, maliit probably shouldn't be the biggest RSS consumer anyway [12:08] ++ [12:08] thats already known issue [12:08] +1 [12:08] anyway ... lets see that we get out of TRAINCON-0 now [12:08] that, too [12:08] then we can look into optimizations [12:08] ogra_, so what fixes do we have lined up? [12:08] * ogra_ is also curious about boot time [12:08] mterry, silo 20 [12:09] proper dbus handling and dropping of dbus-x11 [12:09] ogra_, boot probably suffered. I remember doing some testing and it got slightly worse, but surprisingly not as bad as I expected [12:09] and mtp suppression in lightdm sessions [12:09] ogra_, but I don't have those numbers [12:09] mterry, i'll produce bootcharts once w ehave a proper image [12:09] one step at a time :) [12:09] currently we are around 30sec [12:10] http://people.canonical.com/~ogra/touch-bootcharts/ubuntu-phablet-utopic-49.png [12:10] mterry, I don't seem to get dialer when accepting a call [12:10] thats the last one i did [12:10] ogra_, Saviq, sil2100, others: thanks for taking care of this yesterday/today. I owe you all beers and hugs. I would have been able to help a little last night, but my flight got delayed 3h because someone died on it(!) [12:10] OH GOD ! [12:10] mterry: oh crap... [12:10] maan [12:10] mterry, I mean it doesn't unlock [12:10] Saviq, that's new... [12:11] Saviq, you press the button, does it launch dialer in session and just fail to unlock? [12:11] mterry, yes [12:11] mterry, when I launch from launcher, unlocks fine [12:11] Saviq, they come from different places... notification is via us pretending to be url-dispatcher [12:12] Saviq, but if it launches in session, we are seeing the event [12:12] mterry, yeah, so by then it's greeter that should unlock itself, that's what fails [12:13] mterry, btw, I wrote on one of the bugs... I feel like we need to converge on just one notification UI [12:13] Saviq, mtp has built in the silo ... can you test the deb [12:13] sil2100, ^^^ [12:13] ogra_, doing [12:13] * ogra_ does too on flo [12:13] Saviq, yeah. I just looked at code, and we are doing a hide right after telling session. Odd [12:13] Saviq: I'm ready to publish anytime [12:14] Saviq, one process can't currently draw on each session -- I suppose we could make a system daemon that talked to USC and overlayed a notification [12:14] mterry, well, greeter can, can't it [12:14] Saviq, not on user session when you're in it [12:14] * ogra_ reboots with the mtp-server deb [12:15] mterry, oh thought greeter is just a layer on top [12:15] Saviq, it's its own Mir session -- can we interleave Mir surfaces and sessions? [12:15] mterry, understood it's a complete session that hides, now [12:15] mterry, they get composited are they not [12:15] mterry, as you swipe the greeter away [12:15] mterry, anyway... LATER [12:16] Saviq, yeah but that's just one session on top of another. But you're right, I think we could interleave if we wanted. But we'd have to proxy notifications that only session sees through the greeter in that case [12:16] Saviq, sure. :) [12:16] mterry, yeah, some smarts need to happen [12:16] mterry, but yeah, it reliably does not unlock for me [12:17] Saviq, reliably. OK. Let me get a phone hooked up with latest image [12:17] mterry, can you start looking into that? [12:17] great [12:17] mtp is fine here === fginther` is now known as fginther [12:23] ogra_, sil2100, should I run AP locally or are we going for fur smoke test [12:23] ? [12:23] i think sil2100 tested a few [12:23] ogra_, +1 on mtp [12:23] dialer and messaging would be most useful [12:23] Saviq: I ran sudoku app which was said to be failing [12:23] but I don't want to delay [12:23] Saviq: and it passed [12:23] and given that we were never able to reproduce the AP failures locally anway i would go for smoke [12:24] +1 then, let me just run through manual tests for ofono [12:24] Saviq: but those passed with the old unity8 from #62 as well... [12:24] they always passed locally [12:24] and failed in the lab [12:24] except when plars did the hackery of removing Xsession.d .. [12:25] this part should be fine now so AP should pass in the lab [12:25] lets probably take that to the -ci-eng channel now [12:25] I would say, let's get this released and check the image results [12:25] ++ === _salem is now known as salem_ [12:50] doko: i'm working on this whole stack today, so i will verify that particular bug === tedg is now known as ted [13:15] rbasak: Hi Robie! [13:17] GunnarHj: hi! [13:18] rbasak: Thanks for looking at bug 1314402! How would you suggest that we ask for input from other developers? [13:18] bug 1314402 in Ubuntu "Please upload skype-translation to the archive" [Wishlist,In progress] https://launchpad.net/bugs/1314402 [13:18] GunnarHj: np, thank you for your work! ubuntu-devel or ubuntu-motu maybe? [13:18] (as in, mailing lists) [13:19] Or if somebody experienced on here can answer, I'd be happy with that too - I would just copy and paste into the bug for future reference in that case. [13:19] Others: the issue is that GunnarHj's proposed package provides extra translations for Skype, so sort of integrates with that package but without being able to change that package. [13:20] And Skype could in future provide new translations which would need to override the skype-translations package without breaking anything. [13:20] So GunnarHj has arranged for the skype-translations binary package postinsts to insert symlinks, but only if regular files don't exist in their place. Then a future skype package would just overwrite those symlinks. [13:20] I think we all accept that this is hacky, but don't have a better solution. Is this acceptable for upload to universe? [13:21] GunnarHj: is that an accurate summary? Anything to add? [13:22] rbasak: Thanks, yes I think that's pretty much it. Let's see if someone chimes in. Otherwise I can try one of the lists. [13:36] seb128, Laney: A while ago you provided some input wrt bug 1314402 and my symlink idea to avoid future conflicts with the Skype package, and I made a minor change. Now rbasak is sponsoring the request, and is asking whether the idea is a reasonable approach that could be accepted for uploading to universe. Please see rbasaks questions above (13:19 UTC). Would appreciate your input (again). [13:36] bug 1314402 in Ubuntu "Please upload skype-translation to the archive" [Wishlist,In progress] https://launchpad.net/bugs/1314402 [13:42] GunnarHj, Laney is on vac today, and I've no strong opinion, I feel it's hacky and it's going to bite us back, but I have too much to do to argue against it, so if somebody wants to upload just go for it [13:46] GunnarHj, seb128: well, that's what makes me reluctant :-/ [13:49] seb128, rbasak: Ok, thanks seb128 (I think). ;) All I can say is that my intention is to monitor it to prevent that anything goes wrong (even if I currently don't see what it could be). [13:51] GunnarHj, creating symlinks in postinst that are meant to be overwritten by other debs is just a weird hack, sorry [13:53] seb128: everything in the partner archvie is a hack though :) [13:53] seb128, rbasak: I don't claim it's not. It's just that it's the only way I could come up with to make it possible to package those translations. [13:53] slangasek: I see that you've done most/all of skype uploads to partner. Do you have any comment on this, please? ^^ [13:54] GunnarHj, hacks create unreliability in the system and whats makes our upgrades fragile [13:54] (going back ~40 minutes) [13:54] GunnarHj, to me the proper solution there seems to work with upstream to have them include the translations, or check a different paths in addition to their [13:54] * rbasak wonders if there's a better approach here, such as adding support into the partner skype package. [13:56] I don't know what form that might take though. [13:58] seb128, rbasak: Well, admittedly I haven't tried to approach upstream. As regards doing something in the partner repository, I think that would be difficult since people may alternatively install Skype directly from the Skype web site. [14:01] Pragmatically I think that having something community-maintained and in universe that makes for a better i8n experience for something in partner is something we should support, since Ubuntu is supposed to be for everyone and the community is volunteering translations. [14:01] But I'm not sure it makes sense to go the step further and have packages in universe support an even more third party source than the partner archive is. [14:02] If users are installing Skype directly from the web site, then they can install translations directly from the other source. [14:03] rbasak: Well, that's a valid point indeed. Actually, in the proposed package I refer to the partner repository in the descriptions in debian/control. [14:04] GunnarHj: I'm trying to think of how we might make this work with less of hack assuming that we could make a change to how the partner repository's skype package handles it. [14:05] rbasak: Yeah.. This is something I haven't thought much about so far. [14:05] GunnarHj: what if the skype package's postinst installed the symlinks instead, and the preinst removed them? [14:06] skype-translations would still provide the actual translations, and the skype package would them hook into them if present. [14:06] One catch is that removing skype-translations would lead to a tree of broken symlinks. [14:07] * rbasak doesn't know [14:07] I think a mailing list thread is appropriate at this point :) [14:08] rbasak: Maybe you are right. I'll think a little more about it, and then start a thread. Thanks for your thoughts so far. [14:09] GunnarHj: no problem. Thank you for working on this. It's a tough situation and I appreciate you persevering to improve Ubuntu. === marrusl_ is now known as marrusl [14:49] mlankhorst, can you take a quick look at https://bugs.launchpad.net/qt/+bug/1318584 [14:49] Launchpad bug 1318584 in Next Generation Checkbox (GUI) "checkbox-gui crashed when switching video out mode to external only mode" [Medium,Confirmed] [14:50] pitti: poke [14:51] * pitti does a jump to the left [14:51] :D [14:51] pitti: is there any advantage to running package tests on the builder vs on the autopkgtest setup? [14:52] shadeslayer: in general, if a package has "make check" like upstream tests, run them during package build [14:52] shadeslayer: that'll cover all architectures and we also have more hardware for it, and failures should cause FTBFS which is more "obvious' [14:53] right [14:53] shadeslayer: if you can run an upstream test suite against the installed packages, then the autopkgtest can do that [14:53] shadeslayer: for some test suites that's easy (some projects have a "make installcheck"), for others it's hard/impossible [14:54] shadeslayer: in the latter case it's usually better to come up with a simple smoke test that ensures that the package works at all (has exectuables/includes/files etc. at the right place and enough dependencies) [14:54] shadeslayer: so in short: upstream tests during build -> check the fine details; smoke tests during autopkgtest -> ensure that the package is by and large right [14:55] roger [14:59] rbasak: what's the gist of your question? I guess you're not asking me to comment on whether everything in the partner archive is a hack ;) [15:17] slangasek: so GunnarHj wants to add a new skype-translations package to universe, which will augment the skype package by providing translations not available upstream. [15:18] slangasek: the awkward thing is that skype looks for translations in one place, so I'm not sure how to technically do this without skype-translations messing with the directory that skype ships. [15:18] slangasek: GunnarHj has a solution with symlinks that appears to work, but it is definitely a hack. I wonder if a better way is to add support to the skype package somehow. [15:19] Or, if not, then is the mechanism GunnarHj has come up with acceptable for upload to universe. I'm reluctant to upload without a +1 from someone else on the approach. [15:19] (that first sentence should have been a question) === salem_ is now known as _salem [15:34] rbasak: what's wrong with skype-translations shipping files in the same directory as skype itself? This seems perfectly reasonable to me [15:34] slangasek: For the case you have time to take a closer look, the skype-translation package that rbasak has reviewed is built in utopic at [15:34] https://launchpad.net/~gunnarhj/+archive/skype-translation/+packages [15:35] as for adding it to the skype package itself, I would say no unless it gets upstreamed === FJKong_afk is now known as FJKong [15:36] slangasek: The problem is possible conflicts if later Skype versions are bundled with the same translations. [15:36] GunnarHj: so use a pre-emptive "replaces"? [15:37] slangasek: Err.. What's that in English? ;) [15:38] have skype-translations declare Replaces: skype, so that the skype-translations versions of the files will always be used without complaints from the package manager [15:39] slangasek, the issue is in the other way [15:39] slangasek, new skype might includes translations that are in skype-translation [15:39] slangasek: I did not know that would be acceptable. Thanks! I wonder if it's possible to do it the other way round though then? So a new skype will replace older translations in skype-translation? [15:39] slangasek, so skype would fail to install [15:39] seb128: not with a Replaces it wouldn't [15:39] unless upstream skype add the proper replaces [15:40] no, there would be no failure to install [15:40] you can always install a "replaced" package, it just doesn't get all of its files unpacked [15:40] hum? [15:40] skype 6 would start shipping de.po which is in skype-translation [15:40] now, if this is not acceptable because we must prefer the upstream translations over the ones in the skype-translations package, then this doesn't solve the problem [15:40] how would that not fail on a file conflict [15:40] because that's what Replaces means [15:40] (if skype doesn't add the Replaces) [15:41] well, that means having skype to add a Replaces to their package [15:41] which they didn't do yet [15:41] No... [15:41] no, it does not! [15:41] Replaces tells you /which package wins/ in the case of a file conflict [15:41] seb128: If skype-translation replaces skype, it always wins. Install order doesn't matter. [15:41] slangasek: But that would mean that if there is a skype-translation translation installed, it would take precedence over the translation bundled with Skype. Would that be an acceptable solution? [15:41] The only minor bug there is that if you remove skype-translation, you'll have files "missing" from skype. [15:41] oh, ok [15:42] GunnarHj: it's acceptable from an archive perspective; it just puts the burden on the maintainer of skype-translations to make sure the package is kept up to date [15:42] learning every day ;-) [15:42] I though replaces was unidirectional [15:42] slangasek: Well, I'm ready to assume that role... [15:43] seb128: It is. It's just that install order doesn't matter. An installed package can Replaces a package you're about to install, and the new one just won't have all its files installed. [15:43] And, of course, the real problem here is that if there's an overlap, then skype-translations is updated to remove the overlap, peole who already upgraded skype just won't have that translation anymore. [15:44] (translations installed, includes de.po, new skype installed, its own de.po is replaced, new translations installed, de.po removed) [15:44] Which is why unconditional replaces is generally a bad idea. [15:46] infinity: What if you just drop a translation from skype-translation, if it gets bundled via a new Skype version? Then it wouldn't be removed. [15:46] GunnarHj: That depends on upgrade order. If your new translations is upgraded BEFORE the new skype, all is well. If the new skype is upgraded first, the file goes missing. [15:48] This isn't to say that this hack isn't preferable to having no translations at all, perhaps, just that there's a limitation here that can't be solved without upstream interaction. [15:48] Having skype read from a secondary location is much cleaner, in that it avoids this hack. [15:49] infinity: There is just a tiny detail... How to get Microsoft listen to such a request? [15:49] How does skype do translations? [15:49] Is it just gettext? [15:49] Or something fancy? [15:50] Cause our glibc is already patched to read secondary locations (this is how langpacks work) [15:50] If you used the langpack location for your translations, maybe it would Just Work? [15:50] ie: /usr/share/locale-langpack/* [15:51] infinity: Nothing fancy. Special .ts XML files that are converted to .qm files. [15:51] Oh. So, yes. Fancy, from my POV. ;) [15:52] So, the much messier, but won't-cause-disappearing-files-or-conflicts option is to dpkg-divert every one of the files you ship. [15:52] So that if skype ships the same file, it gets diverted, but exists. [15:52] And then when you remove it from yours, the skype one is moved back to where it should live. [15:53] infinity: That's something new to me. Sounds interesting. [15:55] GunnarHj: The manpage can be a bit daunting, as is getting the right syntax. But in plain english, a dpkg-divert says "if another package tries to install $file, please install it to $file.otherlocation instead", and then when you remove $file from your package, you also remove the diversion, so the other owner's file gets moved back to where it belongs. [15:56] infinity: Can you think of a package where that feature is made use of? [15:56] infinity: (as an example) [15:58] pkgbinarymangler has the scariest diversion in the entire archive. :P [15:58] (utopic-amd64)root@cthulhu:/home/adconrad# dpkg -S /usr/bin/dpkg-deb [15:58] diversion by pkgbinarymangler from: /usr/bin/dpkg-deb [15:58] diversion by pkgbinarymangler to: /usr/bin/dpkg-deb.pkgbinarymangler [15:58] dpkg, pkgbinarymangler: /usr/bin/dpkg-deb [15:59] (do not try that one at home, kids) [15:59] GunnarHj: There's hackish stuff in pkgbinarymangler's preinst to make sure dpkg-deb always exists, obviously that doesn't matter much for diverting a translation, so you can ignore that bit. [16:00] infinity: Ok.. I will take a look, and try to figure out if and if so how this could be applied to my simple package. [16:00] infinity: Thanks for the tip! [16:01] GunnarHj: In the case of a package diverting multiple files (and potentially removing some), I'd probably do it with variable and shell loops. [16:02] infinity: Sounds reasonable. [16:02] GunnarHj: ie: CURRENT_TRANS="de kr jp"; OLD_TRANS="es fr", and make sure you're removing diversions for OLD_TRANS on upgrade. [16:03] infinity: Think I get the picture. Have some reading and testing to do now. ;) [16:21] pitti, ugh ... is there any way to not make ofono-phonesim-autostart pull dbus-x11 into the test env ? === _salem is now known as salem_ [17:04] ok it's gotta be pulseaudio. crashing my utopic laptop anytime i've played, let's say, about 10 mins of audio [17:04] hard crash though, nothing in syslog, alt-sysrq doesn't work, have to hold down power button === salem_ is now known as _salem [17:26] mlankhorst, who can I ping about nouveau-specific issues? I could do with some help on bug 1309044 [17:26] bug 1309044 in xserver-xorg-video-nouveau (Ubuntu) "Unity webapps crash Ubuntu 14.04 LTS on my computer" [Undecided,New] https://launchpad.net/bugs/1309044 [18:18] serge 11285 26898 0 13:15 ? 00:00:01 /bin/bash /usr/bin/pomigrate2 --use-compendium --pot2po --quiet tmp.Cvh7SoRbeB/af /home/serge/po/af /home/serge/po/templates [18:19] * hallyn_ purges translate-toolkit for lack of better idea === _salem is now known as salem_ === roadmr is now known as roadmr_afk === salem_ is now known as _salem === AndroUser2 is now known as brendand [19:13] More utopic trouble anyone? [19:17] Stuck on 'Started Accounts Service' [19:18] Strange thing is i don't even remember upgrading [19:20] Now it's colord.service [19:27] Ahh - it was fsking unity8-greeter at it again [19:27] Managed to install itself behind my back === _salem is now known as salem_ === ted is now known as tedg === roadmr_afk is now known as roadmr [20:33] GunnarHj: hey there, were you the one requesting the svtplay-dl sync for trusty? Seems likely to be a mistake (trusty instead of utopic), if so, I'll reject it from the New queue. [20:34] stgraber: Yes, it was me, and no, it was no mistake. [20:34] GunnarHj: ah, ok, what's the rationale for getting that new package into the archive post-release? [20:34] stgraber: It's already in utopic; this is a SRU, sort of... [20:35] stgraber: The rationale is to make it more easily available to users already in 14.04. [20:35] GunnarHj: ok, sounds more like something for trusty-backports than for the trusty-updates [20:36] (which to a user wouldn't make any difference since both are enabled by default) [20:36] stgraber: Is backports enabled by default these days? [20:36] GunnarHj: it is, yes [20:38] stgraber: Ok, didn't know. Well, in that case a backport would be just as good, I suppose. But I also thought that since this is a standalone package, that can't break anything existing, it didn't matter... [20:40] GunnarHj: we usually only allow new packages in stable releases for post-release hardware enablement. Backport from new releases (whether the package already exists in a past release or not) should go through -backports. [20:40] GunnarHj: ok, so I'll reject that upload. Please run "requestbackport svtplay-dl" on your machine to automatically file the backport request, then a member of ubuntu-backporters will process it for you. === salem_ is now known as _salem [20:40] rbasak: hey there, can you add the SRU paperwork to bug 1309991 please? [20:40] bug 1309991 in dict-st (Ubuntu) "crashes when install comodo free antivirus for linux" [Undecided,Invalid] https://launchpad.net/bugs/1309991 [20:42] stgraber: Ok, will do. Thanks for letting me know. [20:50] pitti: hey, your util-linux upload is missing the usual SRU paperwork, though the bug is sufficiently obvious that I'll accept it anyway (the title pretty much being the testcase anyway) [20:54] bdrung: can you update both the bugs referenced in that audacity upload with the SRU paperwork stuff? they both seem to be lacking testcases at least. [20:54] stgraber: i can quickly add a test case for the libav bug === alexisb is now known as alexisb_out [21:13] lool: can you update bug 1310715 with SRU information (rational, testcase, regression potential, ...)? [21:13] bug 1310715 in ubuntu-touch-meta (Ubuntu Trusty) "Provide final 14.04 frameworks" [High,New] https://launchpad.net/bugs/1310715 [21:29] stgraber: 1076928 updated [21:40] stgraber: paperwork for both audacity bugs done. [21:40] bdrung: cool, thanks. Re-reviewing now [21:41] bdrung: both of those have been fixed in utopic right? (LP says that's not the case but I suspect it's wrong) [21:41] stgraber: audacity should migrate in utopic [21:41] stgraber: audacity is still stuck in proposed due to libav [21:42] mdeslaur: will we have something equivalent to the apparmor status in upstart jobs when we move to systemd? [21:42] s/status/stanza/ [21:43] bdrung: ah ok, that makes sense then [21:44] stgraber: do you know why libav didn't migrate? [21:45] bdrung: no, but I can look it up for you [21:45] bdrung: libav is a pretty involved ongoing transition. [21:45] http://people.canonical.com/~ubuntu-archive/proposed-migration/update_excuses.html#libav [21:45] that page says that libav is a valid candidate [21:46] bdrung: Sure, and http://people.canonical.com/~ubuntu-archive/proposed-migration/update_output.txt shows how many dozens of packages break if it migrates. [21:46] bdrung: right, in which case you need to also look at http://people.canonical.com/~ubuntu-archive/proposed-migration/update_output.txt [21:46] bdrung: You need to read both pages as a whole, it's two steps in the process. [21:47] http://people.canonical.com/~ubuntu-archive/transitions/html/libav10.html seems relevant too [21:48] that page is easier to understand than the update_output.txt [21:49] yeah, update_output.txt isn't the most readable thing ever, it assumes you know how britney works quite well (or that your brain somehow adapted to make sense of that file) === Sarvatt_ is now known as Sarvatt === pitti_ is now known as pitti === xymox_ is now known as xymox === tyhicks` is now known as tyhicks === ValicekB_ is now known as ValicekB === timrc is now known as timrc-afk === timrc-afk is now known as timrc [23:43] cjwatson, bug #1326143 the user has no efi system partition, yet grub-install failed to fall back to grub-pc for some reason... any clue as to how that could happen? [23:43] bug 1326143 in grub-installer (Ubuntu) "fatal error installing grub to USB HDD when installing system to USB HDD" [Undecided,New] https://launchpad.net/bugs/1326143 === timrc is now known as timrc-afk === timrc-afk is now known as timrc