/srv/irclogs.ubuntu.com/2014/05/09/#ubuntu-devel.txt

xnoxzyga: barry: what's the status on pyotherside? =) I'd like to port usb-creator and ubiquity to qt5, and i think pyotherside is the way of the future =)00:08
xnoxzyga: barry: also that should pull in qt stuff into main ;-)00:08
xnox(well pyotherside)00:08
=== _salem is now known as salem_
slangasekbdmurray: done01:27
zygaxnox: you can play with it on a ppa01:31
zygaxnox: it's still in NEW in debian01:31
zygaxnox: I was playing with it on nexus 7 today, a bit slow so far01:31
zygaxnox: works okay on the desktop though01:31
zygaxnox: get the package and have a look at the examples01:31
zygaxnox: if you need armhf packages they are built in ppa:checkbox-dev/ppa01:32
zygaxnox: as for pulling into main, qt is in main already01:33
zygaxnox: so is python, only pyotherside isnt01:33
zygaxnox: depending on what you need to call from ubiquity and usb-creator you should have fairly easy access to anything visible from python (gi, dbus)01:36
zygaxnox: keep in mind though, that you can only return simple objects (think json) across the qml/python bridge01:36
zygaxnox: so you can list all partitions and keep a model in python (if needed) but you must dumb it down to a list of dicts of strings/ints/lists etc if you want to push it to qml01:37
zygaxnox: I think it generally works but needs consideration on how the app will work01:37
ScottKSince ubiquity and usb-creator already use PyQt, seems like a lot of work.01:39
zygaScottK: I think it depends on QML, if you want Qt5 -- fine, if you need to work in QML current bindings are a bit heavyweight and you need to rewrite the UI anyway01:40
ScottKusb-creator-kde uses PyKDE4, so that'd be a tough one to support.01:43
zygaScottK: pyotherside is remarkably tiny, that is a good thing to support01:44
ScottKHow do you do KDE bindings with it?01:45
zygaScottK: well, it doesn't do anything related to KDE01:45
zygaScottK: I meant in comparison to python + something-qt01:46
ScottKSo it's not helpful for at least one of the usb-creator front ends.01:46
ScottKAlso, does it provide a dbus mainloop?01:47
ScottKYou kind of need that for these apps too.01:47
zygaScottK: from what I think so far you just use qt5 + python dbus loop (the one already packaged)01:47
ScottKOK.01:48
zygaScottK: the thing with pyotherside is that you don't block the UI no matter what happens in python01:48
zygaScottK: python can be busy computing stuff/waiting for stuff and QML is not affected because all the requests are asynchronous01:49
zygaScottK: it's kind of paiful at first but seems to work better than our C++ + QML approach earlier01:49
xnoxScottK: it's async gui which can receive callbacks from python, or send requests async to python.01:49
ScottKSeems more interesting for new projects than porting existing stuff to Qt5.01:50
zygaScottK: yeah, I think you are right01:50
zygaScottK: if you need to jump from qt4 or gtk to QML+SDK then it makes sense IMHO01:50
xnoxScottK: currently we have a lot of glue code in the backend which does "display this" "query that", which tries to be "toolkit" agnostic, but really isn't.01:50
zygaxnox: :-)01:50
zygaxnox: do you want it to work on the phone/tablet or just on the desktop?01:51
xnoxScottK: i'd rather have "oh i'm shiny ui", "oh backend told me to display 10 usb disks in a list", "oh user made all of it's selections lets shove it into backend", "oh backend didn't like it"01:51
xnoxor "oh backend says we are 20% done"01:52
xnoxzyga: i want to have as little gui code in my backends as possible & I must send / communicate with UI in async manner.01:52
ScottKI wonder when we have bindings for KF5 if this'll be easy using bits of it.01:52
zygaxnox: so I think this will just work for you01:53
zygaxnox: we're in the same situation with checkbox01:53
zygaScottK: KF5?01:53
xnoxScottK: so far pyotherside looks like the best model-view-controller separation that i can find.01:53
ScottKKDE Frameworks 5, the Qt5 based replacement for KDE libs.01:54
zygaah01:54
xnoxScottK: where models are in python, yet view/controller is in qml/qt/gui01:54
ScottKInstead of one big library, it's (IIRC) 61 so it doesn't have to be heavy.01:54
ScottKxnox: Do you know where we are on Qt 5.3?01:55
ScottKLooks like the new plasma will need 5.3.01:55
xnoxScottK: does that double the number of kde* packages in the archive? or even tripple it?01:55
ScottKNot even.01:55
xnoxScottK: i'm not that much involved in qt packaging. Send email to ubuntu-devel?01:55
xnoxScottK: well i guess you're keeping qt4 ones for now as well.01:56
ScottKOn my list.  I just thought you might know.01:56
ScottKYes.  For 14.10 we'll release a Qt4/KDE4 based desktop.01:56
xnoxScottK: busy working on upstart/python2-removals mostly.01:56
ScottKWe want all of KF5 in the archive though so it's available for developers.01:56
ScottKNot sure if plasma 2 will make it in the archive or not, but we'll definitely make it available somewhere so we want 5.3 if we can get it.01:57
robert_ancellbdmurray, is there a way to generate the errors.ubuntu.com graph as far back as we have data?02:00
xnoxrobert_ancell: if i remember correctly all data is not in one place. at one point cassandra fell over it's head and data was archived elsewhere, and then a new cassandra got brought up to deal with fresh data.02:02
robert_ancellxnox, oh so the graph (which seems to show ~1 year of data?) is all the "new data" only?02:02
xnoxrobert_ancell: it's highly inaccurate though. It counts total amount of users using heuristics of unique count of machines submitted any reports over a period of past X days.02:02
robert_ancellxnox, I was wondering why it all converges like crazy on the left - I wonder if that is a side effect of the heuristic02:03
xnoxrobert_ancell: and then counts a rate of errors within that pool. which clearly is bogus during a surge of machines, aka release date.02:03
xnox... or like inception of the data base =)02:04
robert_ancellha!02:04
xnoxi think it was also up for a couple of days, then down for a few and up again. making the beginning of the graph look crazy =)02:05
xnoxrobert_ancell: login on the top right and look at https://errors.ubuntu.com/ops/instances/02:06
robert_ancellxnox, whats the y-axis there?02:07
xnoxrobert_ancell: it tells the tale that everyone uses LTS and upgrades to next LTS.02:07
xnoxrobert_ancell: and !lts migrate to next release swiftly see 13.10 release date.02:08
xnoxrobert_ancell: in my high scool that graph would get zero marks, because units are not specified.02:08
robert_ancellI think any school would do that02:08
xnoxrobert_ancell: so i guess this is calculating Ingress Mind Units per ubuntu release over time =)02:09
robert_ancellI wonder if this is absolute number of reports?02:09
xnoxrobert_ancell: or maybe unique machines making a report?02:11
robert_ancellIt does seem like a more useful graph than the first one02:11
xnoxrobert_ancell: not sure which of the two is worse: only 100k of crash reports, or only 100k of users reporting.02:11
xnoxrobert_ancell: this one is raw data, the other one applies a lot of math to answer the question "Is this release more stable than the other one"02:12
=== salem_ is now known as _salem
xnoxrobert_ancell: the most useful bit however is, that we track SRU regressions via errors histograms per package/version combos. And we phase the SRU updates, thus broken SRUs get detected quickly and pulled (set phasing to zero -> update manager doesn't upgrade it)02:13
robert_ancellthe latter graph suggests 75% of 13.10 users have migrated in a month which is pretty impressive02:13
xnoxrobert_ancell: well they get notification to upgrade. Average time for SRU update is ~2 weeks. (you can see drop-off in crash reports on a given bucket/bug)02:14
xnoxrobert_ancell: so a month for a "i will need to download this for a long time" sounds awesome =)02:15
sarnoldI seem to recall that -updates gets suggested weekly, while -security is suggested daily; is that correct?02:15
robert_ancellyeah, I'd have expected people to be a lot more conservative. I guess the 13.10ers are all developers and willing to do the upgrade02:15
xnoxsarnold: sounds about right.02:15
xnoxsarnold: oh, in that case 1w to update is near-instant =) as in when offered.02:16
xnoxsarnold: i wonder if we should change that to daily though.02:16
robert_ancelldevelopers or technically minded users02:16
sarnoldxnox: yeah, and 2w is "oh it bugged me once already I should do that"  :)02:16
xnoxsarnold: because only ~10% will get the update offered on day one anyway.02:16
sarnoldxnox: I'm mindful of the complaints I've heard about firefox/thunderbird "gee another update already??" -- but we do security updates nearly every MTWT, we're probably already giving that feeling..02:17
mun24Hi all02:32
mun24I compiled wu-ftpd but is not accepting connection02:33
sarnoldmun24: I'm headed out but three thoughts: (a) ftp is a horrible protocol, please don't use it unless you have to (b) check firewalling, iptables -L or ufw.. (c) check netstat -anp to make sure it's listening on the ports and IPs you expect02:37
slangasek(d) if you're going to run an ftp server, why would you not run one that's been updated in the past decade with at least some attempt at security02:39
mun24that is for minternal purpose02:39
mun24internal02:39
mun24I want to do high speed upload. I already wrote a windows client for it02:39
mun24but experiencing some problem so want to troubleshoot02:40
slangasekwell, this isn't really the channel for that02:40
mun24I just want to understand how to install wu-ftpd server after compiling it02:41
slangasekthere are plenty of ftp servers in the archive that you could install and run; if you choose not to use them and compile a different one for yourself, you're not going to find support for it on this channel02:43
TheMuso@pilot out03:39
=== udevbot changed the topic of #ubuntu-devel to: Trusty Final released! | Archive: Open | 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 | Patch Pilots:
=== thegatta_ is now known as thegattaca
=== micahg_ is now known as micahg
pittiGood morning04:41
dholbachgood morning06:47
Riddellgood morning dholbach06:57
dholbachhi Riddell07:00
pitticjwatson, infinity: ah, FYI, jibel is on holiday today, so the britney fix will have to wait until Monday07:28
didrockspitti: all those frenchies…07:29
pittidpm: it seems I finally managed to put out all the fires in http://d-jenkins.ubuntu-ci:8080/view/Utopic/view/AutoPkgTest/, so I'll get to your langpack mail ASAP08:28
dpmawesome, thanks pitti!08:28
pittiand I officially hate 9p now :)08:29
=== oSoMoN_ is now known as oSoMoN
dpmhi happyaron, so regarding your e-mail, would you recommend to test "Droid sans fallback" in the touch images for Simplified Chinese? Do you happen to know how to set the default font?08:47
happyarondpm: I don't know about touch, but for desktop version it's set by language-selector08:48
dpmyeah, I don't know if we can use the same, we'd probably have to put the image in RW mode08:49
dpmpitti, if we'd want to test different fonts for Simplified Chinese on the phone images, would you happen to know how to switch fonts? Or do you know who to best ask?08:49
pittidpm: I only have a very vague idea about how fonts are selected; I think font packages ship some fontconfig snippets whcih define a font selection priority for glyph ranges08:54
cjwatsonpitti: hm, ok, thanks08:54
pittidpm: so that e. g. a font optimized for Korean could mark the Korean-specific glyphs as preferred, but leave latin or math chars to other fonts08:55
pittidpm: so for switching fonts you'd have to edit those08:56
pittidpm: but I'm afraid the above already exhausts my fontconfig knowledge08:56
dpmpitti, that's definitely much more than I knew, so thanks :)08:57
pittidpm: GunnarHj might have an idea08:57
pittidpm: I don't think he's an "expert" either, but at least he recently fixed a couple of bugs in that area08:57
dpmok, cool08:57
jameshmardy: not sure if you saw it or not, but I replied on https://bugs.launchpad.net/ubuntu/+source/signon-plugin-oauth2/+bug/1316021 that your signon-plugin-oauth2 fix solved the problem for me09:03
ubottuLaunchpad bug 1316021 in signon-plugin-oauth2 (Ubuntu) "OAuth2 Tokens from providers that don't provide an expiry date are incorrectly expired on first use" [Undecided,Confirmed]09:03
pitticjwatson: do you know why we have ubuntu-touch.utopic seeds, but the packages (e. g. unity8 or indicator-bluetooth) don't have a corresponding Task: ?09:06
cjwatsonpitti: We only generate tasks for a subset of seeds; the ubuntu-touch seeds are only used to generate metapackages09:20
cjwatsonpitti: A seed only gets a corresponding task if it has some Task-* headers09:21
cjwatsonOh, ubuntu-touch does have Task-* headers, now that I look09:22
cjwatsonpitti: In that case it's because ubuntu-touch isn't listed in FLAVOURS in cronscripts/publishing/cron.germinate in Launchpad09:23
cjwatsonpitti: I'd probably only fix this if the touch people actually want tasks for some reason09:23
pitticjwatson: I was looking at that as dpm asked me about options for generating touch langpacsk09:24
pitticjwatson: so I'm looking for way to tell "is package X on touch"09:24
pittiand I first looked at Tasks: and then at http://people.canonical.com/~ubuntu-archive/germinate-output/09:25
pitticjwatson: ubuntu-touch depends: helps quite a bit indeed, but doesn't get us dependencies; but I suppose langpack-o-matic could just run germinate by itself for that?09:25
pittii. e. check out lp:~ubuntu-core-dev/ubuntu-seeds/ubuntu-touch.$RELEASE, run germinate, use the result as a package list to match against?09:26
ogra_cjwatson, are the task headers not needed for proper germinate output ?09:26
pittiI thought the Tasks: headers come *from* the germinate output?09:26
cjwatsonpitti is correct09:26
ogra_ah, k09:26
cjwatsonpitti: So, I mean, I could if it would be useful to you, certainly09:27
cjwatsonI just didn't want to bother if it was only for consistency or something09:27
ogra_pitti, important thing: touch uses no-install-recommends ...09:27
pitticjwatson: if it's possible that langpack-o-matic runs germinate by itself, that's fine by me (certainly much cheaper to only do that once a month or so and without adding to the size of Packages.gz)09:27
cjwatsonpitti: You can certainly do that if you like09:28
ogra_(but the germinate output reflects that since a few weeks)09:28
pittiogra_: ah, good09:28
cjwatsonogra_: A bit more than that, I thought - didn't I fix that in r136, 2013-11-21?09:29
* pitti RTFMs germinate to find out the invocation09:29
ogra_cjwatson, only half of it ... xnox recently found that you need some "* ..." entry inside the seed file too, you added it to STRUCTURE back then09:29
cjwatsonOh, it actually looks like no-follow-recommends isn't honoured in STRUCTURE at all09:30
xnoxcjwatson: i did add Feature: no-follow-recommends in e.g. r17109:30
cjwatsonxnox probably should have got me to fix germinate instead09:30
ogra_PES uses the germinate file as input for their own git server (they branch all the trees of all touch packages) and that had a weird set of packages ... which made us look09:31
mardyjamesh: oh, I didn't see it! I'll try to get that merged soon, then09:31
xnoxcjwatson: hm. I've inspected lubuntu seed (which did work as expected) and mimicked it.09:31
cjwatsonSo the seed change is an OK fix, but I'll fix germinate to honour the way I thought it worked when I made my change09:31
jameshmardy: thanks for doing the fix.09:31
cjwatsonHm, or maybe that would have bad effects on inner seeds inherited from platform09:32
xnoxogra_: hm, not their own git server. they branch bzr branches, and index them for search similar to e.g. opengrok but using some other indexer. aka similar to ubuntu-codesearch.surgut.co.uk but limited in scope with history.09:32
cjwatsonMight need to think about that09:32
ogra_xnox, oh, i thought it was a git server with a gerrit instance09:32
xnoxogra_: git + gerrit is used for e.g. android code hosting like https://code-review.phablet.ubuntu.com/#/q/status:open,n,z09:33
ogra_yeah i know09:33
xnoxogra_: and the code search indexer will be public once it's hosted on prodstack.09:33
ogra_not talking about our android trees ... i though that PES server was git too09:34
ogra_thanks for clearifying :)09:34
pitticjwatson: does that look like a reasonable invocation? germinate -v --bzr --no-installer -s ubuntu-touch.utopic -d utopic -a armhf -c main,universe -m http://ports.ubuntu.com/09:46
pitticjwatson: I'm just a bit unsure how to use the result; for example, the generated "touch" file does not contain most of the indicators which are in the seeds (like indicator-bluetooth); that one is in "all", but that also has firefox and lots of stuff which we don't need09:47
pitticjwatson: so "touch" plus "sdk-libs" looks reasonable, does that sound right?09:47
xnox$ seeded-in-ubuntu indicator-bluetooth -> ubuntu-touch: daily-preinstalled09:48
xnoxpitti: so somehow at least generators on ubuntuwire figure it out.09:48
xnoxpitti: firefox is in, because i think its translations debs get pulled in via langpacks chain of dependencies.09:49
cjwatsonpitti: Generally speaking you need to follow through the inheritance tree given in the "structure" output file09:50
cjwatsonpitti: I'd recommend using --no-rdepends, since that makes a noticeable performance difference; --bzr is probably mostly unnecessary these days; and -v is likely to be very boring :-)09:50
pitticjwatson: oh wow, it's really fast with --no-rdepends, thanks :)09:52
cjwatsonxnox: seeded-in-ubuntu isn't a very useful comparison for this, I think, because AIUI it looks at image manifests09:52
cjwatson(Its name is a lie)09:52
cjwatsontouch: minimal sdk-libs09:53
cjwatsonpitti: ^- so that bit in structure tells you that the touch seed assumes that those other two seeds are already in place (and iterate)09:53
pitticjwatson: ack; so if I expand this by hand, that would be touch plus sdk-libs plus minimal; and I ignore supported and -dev09:54
cjwatsonYeah, in general just ignore output files that aren't explicitly on your chain09:54
cjwatsonSince there'll be a ton of random stuff09:54
cjwatsonThey're pretty much all used for *something somewhere*, but most consumers only need small bits09:55
pitticjwatson: yeah, wrt. langpacks I think we can safely ignore -dev09:55
cjwatsonI suspect so, yes09:55
pittiI'm mostly interested in the visible part of the images that we ship09:55
pittiI assume apps/clicks will continue to ship their own translations; I don't think it makes any sense to langpackify them09:56
cjwatsonRight09:56
pittiand I'm not entirely sure yet whether and when we'll move to touch langpacks; this is mostly research for dpm and for discussion at this point09:56
ogra_pitti, hopefully before release :)10:02
dpmthanks pitti10:29
cjwatsonxnox: A few packages are dep-wait on the latest debhelper, and you're TIL; could you merge it?10:53
=== MacSlow is now known as MacSlow|lunch
xnox cjwatson ack.11:00
xnoxalso delta can become smaller, since we released lts.11:00
=== aerocarbine is now known as aero
=== aero is now known as aerocarbine
mptev_, bdmurray: Is there a reference anywhere for how a developer can report a RecoverableError?11:22
xnoxtedg: ^ ?11:28
xnoxtedg wrote a few...11:28
xnoxslangasek: why do we _not_ call update-rc.d by default if both init.d & upstart jobs are present?11:37
xnoxpitti: does systemd, for sysv init units, need update-rc.d call? (and thus symlinks in rc*.d dirs?)11:37
pittixnox: yes, unless of course there's a real unit with the same name to replace it11:39
xnoxpitti: thanks.11:39
pittiit keeps the sysvinit semantics (just starting everything would be wrong and too much)11:39
xnoxpitti: =) so i guess debhelper in ubuntu, should start calling udpate-rc.d then =)))))) we have that conditional if [ ! -e /etc/init/$foo.conf ]....11:40
pittixnox: ah, you mean for providing sysv fallbacks with systemd? yes, that sounds sensible11:41
pittixnox: not sure why it didn't create symlinks, perhaps just for avoiding unnecessary work?11:41
pittixnox: how does upstart run the sysv scripts, directly parsing LSB headers?11:41
pittixnox: ah no, ignore that question, that was stupid11:41
pittixnox: so yes, either extend the test to /etc/init/$foo.conf && /lib/systemd/system/$foo.service or, just call update-rc.d11:42
pittiwe need update-rc.d for enabling systemd units too11:42
xnoxpitti: i'm trying to recall, if things would break. On debian side, startpar et.al. are upstart aware and thus do not run symlinks from rx*.d directories if there is equivalent upstart job.11:46
xnoxpitti: i'm not sure if that was done or not.11:46
xnoxpitti: or depeneds on the merge of doom that didn't happen.11:46
xnoxpitti: i think it's safer if i go with extending the check to "...and no unit file"11:47
pittixnox: hm, I can't tell off the back of my head, but I think eventually we need to fix that anyway as names of units, jobs, and init.d scripts don't always match up11:48
pittixnox: that would be the "service" script, right?11:48
pittixnox: so our service script is already upstart aware, but not yet systemd (or openrc) aware, that's the current delta to -5311:49
pitti(looking at my local merge)11:49
xnoxand there is no delta to startpar?11:50
pittixnox: there's quite a large one; startpar was split out into a separate package11:51
pittiwhich is stuck in -proposed until we merge11:51
pittixnox: in our version it's a huge patch against sysvinit11:51
pittiI haven't checked the "net diff" between those11:51
xnox"net interdiff" i guess =)))) oh, my.11:51
pittias I thought it's fairly uninteresting to us?11:51
pittixnox: well, it's a native source package now11:52
xnoxit's just e.g. if a job is stuck in waiting state (waiting for some event) i don't want runlevel 2 kick in and do service foo start, disrespecting (potentially extra) "start on..." conditions and thus starting a job pre-maturely.11:53
xnoxi'll do this change separately rebuild at least rcS/rc0/rc6 jobs and make sure my desktop at least boots/shuts-down without problems.11:54
=== _salem is now known as salem_
xnoxdiff -r -U4 sysvinit-2.88dsf/startpar/ startpar-0.59/ | diffstat is only 11 files changed, 116 insertions(+), 41 deletions(-)12:06
xnoxpitti: so i wonder, if we can inspect that delta, and land split out startpar, on top of our sysvinit.12:06
xnoxpitti: would that make future sysvinit merge smaller?12:07
=== MacSlow|lunch is now known as MacSlow
xnoxpitti: the two are exact equivalents, sans refactoring and new one accepting options if it needs to be executed against /etc/init.d or /etc/rcX.d etc.12:10
xnoxpitti: can i see your sysvinit merge somewhere?12:11
pittixnox: startpar is already in utopic-proposed, and I uploaded our Ubuntu delta there12:11
xnoxpitti: ah, cool.12:12
pittixnox: http://people.canonical.com/~pitti/tmp/sysvinit_2.88dsf-53ubuntu1.dsc12:12
pittixnox: NB that this currently moves to insserv, i. e. dynamic reordering of the [SK]NN levels12:12
pittixnox: I didn't have time to continue working on this since I asked slangasek and you (and devel@) about insserv12:12
pittixnox: so perhaps run it in a VM (although I've run it on my desktop for a week without any problems)12:13
pittixnox: oh, and that one has "Drop startpar dependencies, we don't need that in Ubuntu where we only support upstart." → I'm not currently sure whether that's actually true, that point was on my TODO list12:14
xnoxpitti: i guess in debian we do need upstart & upstart-core.12:15
xnoxpitti: well, first we need to land "Remove various initscripts (and an ifupdown hook) that have been replaced by upstart jobs shipped in other packages."12:16
xnoxas in, reinstate those init.d scripts, iff there is no systemd unit for them.12:16
xnoxor they are needed for insserv to work.12:17
pittixnox: mostly for the latter, yes12:17
pittixnox: quickly running through them and seeing which we are missing12:18
pitti- /etc/init.d/motd12:19
pittixnox: ^ yes, that's the only one12:19
pittixnox: oh, and the ubuntu specific /etc/init.d/ondemand12:19
pittixnox: seems we don't have an upstart job for that12:20
xnoxfunny, ha =)12:21
xnoxpitti: in your test machines do you have /etc/init.d/.legacy-bootordering ?12:26
xnox(and new sysvinit)12:26
pittixnox: I do, but I think with that merge this is ignored as that isn't supported any more12:27
pittii. e. -53 only supports insserv now12:28
pittixnox: and I think we still have some delta for this in the merge; but I kept it for now as I wasn't sure whether we go that route12:28
pittiit seems we agreed on "if we add back the important init.d scripts so that insserv gets things right, we use it", right?12:28
xnoxcause conversion is suppose to run.12:29
xnoxi'll revert that portion and thus trigger conversion to insserv with current sysvinit and check how far it would get me.12:29
pittixnox: I'm not currently sure how to tell apart "good" from "bad"12:29
pittii. e. what constitutes a broken ordering12:30
xnoxpitti: (a) will sysv-rc succeed to configure and migrate to insserv (b) ability to boot, reboot, shutdown, halt, use single user mode.12:31
xnoxthe rest are bugs we would be able to sort out.12:31
pittiah, that's simple enough12:32
pittixnox: ah, warning, I don't think that merge adjusts the update-rc.d path to insserv for our changed location12:33
pittixnox: it's pretty much an "in the middle of testing and see what's wrong" state, when I had to stop and put out fires :/12:34
pittixnox: I hope I can get back to it next week though12:34
pittias with our current update-rc.d, many packages fail to upgrade/configure badly12:34
pitti(when running systemd)12:34
xnoxi wonder what would happen if i execute all of: grep -A1 '! -e "/etc/init/' *.postinst | grep update-rc.d12:38
=== oSoMoN__ is now known as oSoMoN
=== oSoMoN_ is now known as oSoMoN
=== wedgwood is now known as Guest40395
=== wedgwood1 is now known as wedgwood
psusixnox: a while back you patched the reboot command in upstart to try and pass the REBOOTCOMMAND to the reboot syscall... it seems this patch introduced a bug #1174272, but I really wonder.. why did you do this? it looks like the kernel itnores the argument anyhow and sysvinit never bothered trying to pass it14:08
ubottubug 1174272 in upstart (Ubuntu) "'reboot now' reverting to maintenance mode" [Undecided,In progress] https://launchpad.net/bugs/117427214:08
ogra_psusi, the phones (which are using an android bootloader and kernel source) need an arg handed over ... i.e. to boot into recovery mode14:11
ogra_sudo reboot -f recovery ... sudo reboot -f bootloader ... etc14:11
psusiahh14:12
ogra_the bootloader picks it up and pre-fills bootreason= on the kernel cmdline ... the kernel then picks it up and boots to whatever is defined for a bootreason14:13
psusiok... proposing branch merge now of a one line fix to correct the regression that caused14:13
psusiwould have been nice to mention that in the changelog ;)14:14
psusihttps://code.launchpad.net/~psusi/ubuntu/utopic/upstart/fix-reboot/+merge/21899714:20
xnoxpsusi: this is wrong.14:20
xnoxpsusi: time option may not be passed to reboot command.14:21
xnoxpsusi: why do you expect that?14:21
xnoxpsusi: all of "reboot, halt, poweroff" do not take a time parameter.14:21
xnoxpsusi: "shutdown -r now" is to perform reboot with a time parapeter, aka emmidiately now.14:22
psusixnox: I know that, but REBOOTCOMMAND is only supposed to be honored in conjunction with --force14:22
psusiotherwise it should be ignored14:22
psusiyour patch to pass REBOOTCOMMAND with --force added a new mode enum, REBOOTFORCE, that caused the non --force path to forget to add the -r switch to the regular reboot command14:23
xnoxpsusi: looking.14:23
xnoxpsusi: but i have to.14:23
psusifixing it is as simple as adding the new enum to the case statement and letting it fall into the old one ;)14:23
xnoxpsusi: -f bypasses invoking shutdown first, before doing reboot syscall.14:25
xnoxpsusi: the rebootcommand is always passed to the syscall.14:25
psusiright.. and without -f, we invoke shutdown... which should be with the -r switch, but your new REBOOTCOMMAND enum caused the -r to be dropped14:26
psusithe syscall is only invoked with --force, man page even explicitly says that without --force, shutdown is run *without* REBOOTCOMMAND14:26
bdmurraympt: there is an issue with recoverable problems that needs to be addressed - bug 131676314:26
ubottubug 1316763 in Daisy "bucketing of recoverable problems is done poorly" [Undecided,New] https://launchpad.net/bugs/131676314:26
psusiwhich is true, it is run without rebootcommand, but also without -r, which is wrong14:27
xnoxpsusi: syscall is invoked, if one is in runlevel 0, 6, or --force was given.14:31
psusixnox: right.. and otherwise shutdown is run...14:31
xnoxpsusi: remember that shutdown(8) -r eventually calls reboot.14:31
psusithe error is that shutdown is being run without the -r switch because of the new enum you added... so instead of rebooting, it goes ot single user mod14:31
xnoxpsusi: "reboot now" is not suppose to invoke "shutdown -r"14:32
psusiyes, it is14:32
psusireboot is supposed to invoke shutdown -r... any argument following it is ignored14:32
psusi( again, when not using --force or in runlevel 0 or 6 )14:33
psusiin other words, reboot now, or reboot foo, or reboot whatever used to all work since the argument was completely ignored... as it is supposed to be according to the man page... after your patch, it has the side effect of dropping the -r switch to shutdown so instead of a reboot, you get single user mode14:34
xnoxpsusi: i still didn't get your argumentation.14:35
xnoxpsusi: i understand marga's comments though.14:35
xnoxpsusi: where she says it wouldn't be a bug if syscall with "now" arg would be executed =))))14:36
psusidid you look at the actual patch yet?  it's pretty clear when you look at the code ;)14:36
* psusi waits to hear the sound of a facepalm14:36
xnoxpsusi: the patch is also wrong, not future proof, against wrong branch =)14:36
xnoxpsusi: http://paste.ubuntu.com/7421706/ ?14:36
psusiagainst the wrong branch?14:36
psusiahh, that works too14:37
xnoxpsusi: yes, upstart is developed in lp:upstart.14:38
xnoxpsusi: the bug is that, we went down runlevel2 codepath. Valid modes in runlevel2 codepath are only those that it handles.14:38
xnoxpsusi: and as per manpage, REBOOTCOMMAND mode should only be valid when force is active.14:38
psusiright, that's what I've been saying... otherwise it's ignored ;)14:39
xnoxpsusi: and slitgthly above "force" is defined as --force or runlevel 0 or runlevel 6.14:39
psusicjwatson: the grub ls command is built into the normal module and so should never need to load a module when run right?  Or did this change in the latest grub?15:24
psusithis bug #1316068 is just weird...15:25
ubottubug 1316068 in grub2 (Ubuntu) "error: disk 'hd0,msdos5' not found" [Undecided,New] https://launchpad.net/bugs/131606815:25
cjwatsonpsusi: ls is a separate module15:29
seb128who is "owning" ubottu? can we get it in #ubuntu-desktop as well? ;-)15:30
seb128(we had an ubot but it went away recently)15:30
cjwatsonpsusi: but if grub has been improperly installed then it might need to load modules to read a given filesystem; anyway you seem to be on the right track with the info you're asking for there15:31
cjwatsonpsusi: could be a partition table parsing bug or something, hard to say as yet15:31
=== darkbasic_ is now known as darkbasic
=== buxy_bak is now known as buxy
=== jasoncwarner___ is now known as jasoncwarner
xnoxhttps://bugs.launchpad.net/reminders-app/+bug/131797716:41
ubottuLaunchpad bug 1317977 in Ubuntu Reminders app "GPLv3 license terms violation" [High,Confirmed]16:41
=== mbiebl_ is now known as mbiebl
ogra_xnox, should have posted that in #ubuntu-app-dev ... thats where the devs are16:48
ogra_err16:48
ogra_#ubuntu-app-devel16:48
ogra_mhall119, ^^^16:49
xnoxogra_: i'm actually not sure if that app is shipped.16:50
xnoxogra_: it's in ppa only? can't find it pre-installed, nor in the ubuntu archive.16:50
xnoxogra_: is it in the store?16:50
ogra_xnox, it is pending, we are waiting for it to be switched to the actual server from the test server16:50
ogra_was discussed over the last days in #ubuntu-touch16:50
ogra_it is supposed to be preinstalled afaik16:50
ogra_once it points to the right server so you dont need to use fake accounts16:51
ogra_good catch btw16:51
=== roadmr is now known as roadmr_afk
popeyxnox: its in a ppa and in the click store17:08
popeythanks xnox17:08
dpmxnox, if you tell us what we need to do to fix it, we can do it straight away17:08
infinitydpm: Adding an exception to your license is the quickest fix, and he copy-pastaed some boilerplate in the bug.17:09
dpminfinity, xnox, argh, sorry, I misread the bullet points17:10
dpmok, will do that17:10
psusicjwatson: ok, I thoguht it was part of the normal module... but here's what is so weird... if the normal module loaded, then it obviously managed to find /boot/grub... so now when it tries to load the ls module, how can it claim that it can't find the /boot partition?17:16
cjwatsonCould be various reasons.  Maybe it's not actually trying to find /boot, but /.17:17
cjwatsonOr maybe the signed EFI image is in use in which case normal is built into the core image17:17
cjwatsonDon't know really without that debugging output you asked for17:18
psusisince he's using an msdos partition table, that should preclude EFI as a possibility...17:23
cjwatsonProbably, but you never know :)17:26
cjwatsonAnyway, not enough information to say, but there are various possibilities17:26
dpminfinity, xnox, so essentially doing this for all source files should be enough? -> https://code.launchpad.net/~dpm/reminders-app/fix-1317977-openssl-exception/+merge/21903717:31
dpmhi tedg, so following up on the e-mail, can you help me setting up the translations exports for indicator-network? If you're happy with it, I'd like to wrap it up for the weekend and start testing the translations next week17:42
dpmtedg, It's just about going to https://translations.launchpad.net/indicator-network/14.04/+link-translations-branch and setting:17:42
dpm~indicator-applet-developers/indicator-network/trunk.14.0417:42
tedgdpm, That's probably not a good idea.17:42
tedgdpm, Indicator-network will be changing all it's translations shortly.17:42
tedgdpm, We should wait for the rewrite to land.17:42
tedgdpm, It's got a silo, but I don't think it's landed yet. There were some ppc64 issues.17:43
dpmtedg, can we set up LP at least, so that's already done? I can hide the translations if necessary, so that translators do not do any unnecessary work17:44
tedgdpm, Hmm, the new one doesn't have any translation files setup :-/17:47
dpmok, I think I'll call it a week then, we can follow up on Monday. For now, I'll disable translations in Launchpad17:48
tedgdpm, Yeah, I'll ping folks on that. Sorry :-/17:50
dpmnp, we'll follow up next week17:51
=== roadmr_afk is now known as roadmr
mali_hello there. Not sure if this is the right place to ask.. but I am an arch user (I left when unity came about.. guess you know those kind of stories ,p) but.. I see serge and graber? have dome great progress on the LXC part. Now, our kernel doesn't have user name spaces enabled but I have re-compiled that. We also have the nsexec bazaar version we can pull. But regarding newuidmap and the patched shadow, package.. I was wondering if someone here cou18:04
mali_ld point out what I might need ot do to have the right patches for this? we use systemd and you have upstart or sysv still, right? Any tips or perhaps a repo I can find the patches I would need to work with ?18:04
martsbradleyFew days ago with some difficulty was able to download nautilus via bzr, and make a silly change to the code (duplicated the forward button for test) and got it running in my machine via dpkg -i18:56
martsbradleyTo do so I had to make a patch via quilt for the change I made.18:56
martsbradleyThe build tools seemed to mandate the patch.18:56
martsbradleyIs there a very simple way to make changes to the source code, build them to a .deb and install and avoid the need for the patch.     (This is only for my own use after all)18:57
bdmurray@pilot in20:01
=== udevbot changed the topic of #ubuntu-devel to: Trusty Final released! | Archive: Open | 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 | Patch Pilots: bdmurray
=== salem_ is now known as _salem
bdmurrayslangasek: I've seen two sponsorship requests for SRUs for package description typos. Is there some reason to SRU those?20:55
slangasekbdmurray: I ... would not think so20:55
bdmurrayI wasn't sure if I missed some memo20:56
slangasekbdmurray: if the packages were being SRUed for some other reason, that seems ok to include, but certainly doesn't justify an update per se20:56
bdmurraythat was my thought too20:56
dobeycan i get someone to approve the ubuntuone-client and ubuntuone-storage-protocol packages in the proposed queues for saucy and precise please?21:28
dobeyslangasek: ^^ pretty please? :)21:42
slangasekdobey: you mean the ubuntuone-storage-protocol upload for bug #1307549, which has an unanswered question from me asking for a proper test case?23:18
ubottubug 1307549 in ubuntuone-storage-protocol (Ubuntu Saucy) "Should load all available CA Certificates and not just the u1 bundled/shipped ones" [Critical,In progress] https://launchpad.net/bugs/130754923:18
cjwatsoninfinity: Do you have any objection in principle (I haven't tested it yet, won't for a day or two) to http://paste.ubuntu.com/7425787/ in livecd-rootfs and http://paste.ubuntu.com/7425798/ in launchpad-buildd?  It'd be awfully convenient to be able to pass arbitrary extra arguments to "lb config", particularly --apt-http-proxy.23:28
cjwatson(For local testing, in the case of that example)23:29
infinitycjwatson: Nope, no arguments conceptually, though it could mean we need some strict input validation if we intend to pass that all the way back to the API.23:30
cjwatsonDo we, since the LP master basically owns buildds?23:30
infinitycjwatson: I guess it depends on who has the rights to make the API calls.23:31
infinitycjwatson: If that's a strict and trusted subset anyway, then I guess we can throw whatever garbage we want at it and get to keep both pieces.23:31
cjwatson~launchpad-livefs-builders gets to create new LiveFS rows; the owner of a given LiveFS gets to edit it.23:31
cjwatsonAnd vaguely similarly for builds of a given LiveFS.23:32
cjwatsonI think, though, that code is actually reasonably safe to the extent that it doesn't let you append random shell metacharacters and such23:32
infinitycjwatson: I could forsee this being problematic in a future where PPA owners could set up custom builds, maybe.  Though, I guess they can also upload a livecd-rootfs that does Stupid Things too, so maybe I'm overthinking it, and the potential for explosion is already there.23:32
cjwatsonRight, anyone who can do this can already own a build chroot in a myriad other ways.23:33
infinityAnd so long as we don't let the Stupid escape the chroots and clean up sanely afterward, then meh.23:33
infinityI think I was thinking from the POV of current livefs builders, where the chroot isn't ephemeral, so you can break the next build easily by breaking how you call live-build.23:34
infinityNot really an issue in the one-chroot-per-build scenario on LP.23:34
cjwatsonOh, right, indeed, the new style doesn't work that way23:34
infinitySo, yeah, no objections here.23:34
infinityJust had to think through it and convince myself I was silly.23:34
cjwatsonGreat.  I'll see about getting that tested at some point soon23:34
cjwatson<cjwatson@amber ~/src/ubuntu/cdimage/cdimage>$ dogfood-lp env ARCHES=i386 DEBUG=1 bin/for-project ubuntu-touch bin/cron.daily-preinstalled --live23:34
cjwatson===== Building live filesystems =====23:35
cjwatsonFri May  9 23:04:55 UTC 201423:35
cjwatsonMaking progress ...23:35
cjwatsonubuntu-touch-i386 on launchpad:name16/ubuntu-touch starting at 2014-05-10 00:04:5523:35
infinitycjwatson: Does pgraner know you named your computer after his wife?23:35
cjwatsonOnly if she's named after the Roger Zelazny books. :-P23:35
infinityI suppose it's possible.23:36
cjwatsonHmm.  Maybe I need the ability to set arbitrary environment variables too.23:40
cjwatsonIt would be nice to be able to override click_uri in ./live-build/ubuntu-touch/hooks/60-install-click.chroot without having to add specialised launchpad-buildd code just for that23:41
bdmurray@pilot out23:42
=== udevbot changed the topic of #ubuntu-devel to: Trusty Final released! | Archive: Open | 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 | Patch Pilots:
cjwatsonThere's config/environment et al; maybe I can do something with that23:43

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