/srv/irclogs.ubuntu.com/2015/01/21/#ubuntu-devel.txt

=== charles_ is now known as charles
=== _salem is now known as salem_
=== salem_ is now known as _salem
=== neunon_ is now known as neunon
pittiGood morning05:37
=== Malsasa_ is now known as Malsasa
=== FourDollars_ is now known as FourDollars
=== kickinz1|afk is now known as kickinz1
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
dholbachgood morning08:01
=== milli` is now known as milli
=== sil2100_ is now known as sil2100
=== doko_ is now known as doko
=== Malsasa_ is now known as Malsasa
=== Malsasa is now known as Guest41468
=== Malsasa_ is now known as Malsasa
=== kickinz1 is now known as kickinz1|afk
pittijamespage: the neutron regression looks real (ERROR: HYPERV PLUGIN IS NOT RUNNING); maybe some glitch with the new generated init.d/upstart job scripts?11:07
pittithe other tests succeeded11:07
jamespagepitti, looking at that now11:07
pittijamespage: if you think it's a race, I'm happy to restart, but so far they seemed pretty stable11:08
=== cking_ is now known as cking
jamespagepitti, interesting11:16
jamespagepitti, the package in updates also does the same thing; installs and then shutsdown straight away due to missing configuration11:17
jamespagepitti, I guess we where race lucky before :-(11:17
pittijamespage: you mean s/updates/vivid/, I presume? ah, so it didn't wait long enough for the startup to actually finish?11:17
jamespagepitti, quite possibly11:18
jamespagepitti, I'll look at test tests again11:18
sladenI'm out of touch, who holds the keys for developer.ubuntu.com?11:28
sladen...there's a broken example that I'd love to just-fix in 30 seconds11:28
sladeninstead of begging other people to do11:29
sil2100mitya57: hey! So I made qtserialport-opensource-src buildable on amd64, which made qtdoc-opensource-src buildable and made other things buildable as well - waiting for pyqt5 to finish now11:36
sil2100mitya57: my fix for qtserialport-opensource-src was really really dumb but I confirmed that it was actually working on a chroot11:37
zygastgraber: hi, what's the most Ubuntu-portable way of using the freezer subsystem?11:44
zygastgraber: I want to run a process in a new cgroup and once it terminates, freeze that cgroup, inspect any children if may have created (and kill them)11:45
LocutusOfBorg1hi developerz!11:45
zygastgraber: I'd like to support Ubuntu 14.04+ but 12.04 (with LTS kernels) would be also nice11:45
zygastgraber: is there a intermediate service I should be talking?11:45
zygastgraber: systemd / cgroupmgr / something else?11:45
=== _salem is now known as salem_
=== Tribaal_ is now known as Tribaal
mitya57sil2100: o_O, I can't believe that simply swapping two lines fixed it12:49
mitya57Is it a bug in debhelper?12:50
mitya57I thought that file was not generated at all (even reported that as https://bugreports.qt.io/browse/QTBUG-43846)12:52
sil2100mitya57: now this is something I don't understand - from my various experiments in an chroot this is actually what fixed it12:52
sil2100mitya57: as after removing it completely from the .install it was mentioning that it's there but not installed12:52
mitya57Weird12:53
mitya57Anyway, thanks for finding the solution!12:53
mitya57Now I need to do something with qtwebsockets failure on powerpc12:53
sil2100mitya57: and really - in the original order it wasn't generated, but when the -index one is first, is magically gets built - I wonder if that's not some race somewhere, but yeah...12:53
sil2100Maybe there would be a better solution, but at least this one works ;p12:53
mitya57In the report I linked upstream also suggested that it's a race condition12:54
=== kickinz1|afk is now known as kickinz1
=== MacSlow is now known as MacSlow|lunch
=== pgraner-afk is now known as pgraner
=== marcusto_ is now known as marcustomlinson
mitya57sil2100: FYI: https://codereview.qt-project.org/10370113:46
mitya57Maybe at some point in the future we'll be able to drop appmenu-qt5 completely13:46
sil2100mitya57: huh, that's something new!13:47
sil2100mitya57: need to see how they're trying to do that, but yeah, I wouldn't mind this being upstream13:47
alexbligh1rbasak, I hate to bug you, but have you had a chance to look at LP#1366174 ?13:52
mitya57sil2100: that is a very early WIP, no real code yet.13:52
rbasakalexbligh1: sorry. I haven't forgotten. I'm still working on MySQL :-(13:53
alexbligh1rbasak, my commiserations ...13:53
rbasakI don't mind you pinging me though. Please do lest I forget. I will get to it eventually.13:54
alexbligh1rbasak, you may regret saying that ...13:54
rbasakI'm also spending an hour a day now on mentoring others to remove me as a bottleneck for this stuff.13:54
alexbligh1Did ubottu die, or does he no longer like decoding bugs in LP#1366174 format?14:00
Unit193LP #136617414:01
ubottuLaunchpad bug 1366174 in apache2 (Ubuntu Trusty) "apache2 SEGV with multiple SSL sites" [High,Triaged] https://launchpad.net/bugs/136617414:01
alexbligh1I could have sworn that worked without the space before.14:02
Unit193Nope.14:03
alexbligh1I stand corrected then.14:04
Unit193There's a couple different formats it likes, but it likes the space.  It'll do links too of course.14:05
LocutusOfBorg1arges, thanks!14:06
argesLocutusOfBorg1: no problem14:07
mdeslaurpitti: "Note that I'm not claiming the merging for this package" - lol, nice try :)14:17
pittimdeslaur: which one was that?14:18
mdeslaurpitti: samba...it made me chuckle, that's all :)14:18
* rbasak ponders adding a disclaimer to every changelog of every upload :-P14:20
pittiwell, I don't think it's unfair; I earn a ton of merges already because people don't merge their's; I don't want to be penalized even further by fixing the archive with no-change uploads :)14:20
=== MacSlow|lunch is now known as MacSlow
=== zyga is now known as zyga-afk
LocutusOfBorg1pitti, can I merge samba then? the merge is easy, no conflicts14:47
pittiif you want to, please14:47
LocutusOfBorg1as soon as I finish testing for bug 141150714:49
ubottubug 1411507 in virtualbox (Ubuntu) "[SRU] virtualbox-guest-dkms 4.3.10-dfsg-1: virtualbox-guest kernel module failed to build [error: 'generic_file_aio_read' undeclared here (not in a function)]" [Undecided,New] https://launchpad.net/bugs/141150714:49
LocutusOfBorg1pitti can you sponsor it or should I open a bug?15:30
LocutusOfBorg1I can send the debdiff by mail15:31
pittiLocutusOfBorg1: bug probably works better in case some other sponsor gets to it earlier, but mail WFM too15:36
stgraberzyga-afk: cgmanager is your best bet for that I think15:36
=== Laney changed the topic of #ubuntu-devel to: Archive: open (alpha 2 freeze) | Devel of Ubuntu (not support or app devel) | build failures -> http://qa.ubuntuwire.com/ftbfs/ | #ubuntu for support and discussion of lucid -> utopic | #ubuntu-app-devel for app development on Ubuntu http://wiki.ubuntu.com/UbuntuDevelopment | See #ubuntu-bugs for http://bit.ly/lv8soi | Patch Pilots:
argesLaney: hey. mind if I merge virt-manager? it will fix a bug for me.15:37
LocutusOfBorg1I think I send it, I can open a bug if needed15:37
Laneyarges: no attachment there, go wild15:37
argesLaney: yay. thanks15:38
hallynpitti: hey.  on bug 1411978, others have reported this.  It seems to happen when you switch to systemd and then back again.  maybe dbus ges removed?  i personally don't think cgmanager is to blame but i could be wrong15:47
ubottubug 1411978 in cgmanager (Ubuntu) "cgmanager and udev 208-8ubuntu8.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Low,Confirmed] https://launchpad.net/bugs/141197815:48
* hallyn tries in a container15:48
pittihallyn: yeah, I followed up there explaining that booting and upgrading with systemd in utopic is unsupported and known broken, so feel free to just invalidate15:49
hallynpitti: you actually said "with upstart", so i got confused15:50
pittihallyn: oh, did I? argh15:50
hallyn:)15:50
pittifollowed up15:51
pittihallyn: wah, wah, hate init systems! :-)15:51
hallynpitti: see bug 1407954 for a dup15:51
ubottubug 1407954 in cgmanager (Ubuntu) "package cgmanager 0.32-4ubuntu1.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [High,Incomplete] https://launchpad.net/bugs/140795415:51
pittihallyn: AFAIK cgmanager isn't even using the system d-bus, is it? it implements its own server15:53
hallynno, but the upstart init job starting does15:54
hallynso i htink it's a pakcaging bug with systemd or more likely upstart15:54
hallynthough, hm, dbus shouldn't be required15:55
hallynworthwhile question might be "how did you switch back to upstart'15:57
seb128apw, hey, your most recent casper upload doesn't seem to be in the vcs, is that a push omission?16:01
apwseb128, that'd be me doing it wrong i recon16:02
apwseb128, shall i repair that ?16:02
seb128apw, that would be great, thanks :-)16:02
* apw slaps self16:02
=== Malsasa_ is now known as Malsasa
apwseb128, ok i think that is repaired16:14
seb128apw, looks so, thanks!16:15
apwseb128, thanks for catching, and checking16:15
hallynstgraber: weren't there autogenerated docs on the lxc api posted somewhere?  (they're no tlinked on https://linuxcontainers.org/lxc/introduction/)16:25
stgraberhallyn: they're linked from the documentation page16:25
stgraberhallyn: https://linuxcontainers.org/lxc/apidoc/16:25
hallynawesome, thanks16:26
hallynstgraber: oh, i see.  ihave to use menus to find the docs page :)16:27
hallyniow, my non-javascript browser is sol16:27
=== zyga-afk is now known as zyga
stgraberhallyn: works in w3m :)16:28
hallyncourse the apidoc page itself requires js so just as well16:28
stgraberbut yeah, I guess a graphical browser which does CSS but no JS would be a problem16:28
zygastgraber: can I use cgmanager on 12.04 as well?16:28
zygastgraber: or can I just do wild-west manual cgroup poking there and don't look back>?16:28
stgraberzyga: cgmanager works fine on 12.04 though it's not in the archive so you'll need a backport (like the ones we maintain in ppa:ubuntu-lxc/stable)16:29
zygastgraber: that sounds okay16:31
zygastgraber: how about on the phone, the codebase I work on supports 12.04+ and the phone16:31
stgrabercgmanager is on the phone and used by default by upstart and the app launcher16:31
zygaexcellent, thanks16:31
zygaI'll google for the API and see what we can do with it16:32
zygastgraber: just one last question, how does it cooperate with systemd?16:32
stgraberworks fine alongside it, they usually don't touch the same cgroups16:32
zygastgraber: ok16:32
zygastgraber: my use case is to put a process in a new cgroup and freeze it at some point time later (to reliably kill all children)16:33
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
jamespageanyone know which bit of systemd populates /etc/machine-id ? and what should happen on a upstart based system?17:01
mitya57sil2100, returning to appmenu-qt5: can I land it?17:01
jamespagecontext: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/141329317:01
ubottuLaunchpad bug 1413293 in nova (Ubuntu) "Unable to start instances, empty /etc/machine-id file." [Undecided,New]17:01
sil2100mitya57: yeah, it should be fine to do so - I double tested that all works fine even without Qt 5.417:03
mitya57sil2100, then I will now land three my branches :)17:03
jamespageutlemming, smoser: reading http://www.freedesktop.org/software/systemd/man/systemd-machine-id-setup.html is this something we need todo for vivid on first boot for cloud-images?17:05
jamespage^^ see above bug for context17:06
utlemmingjamespage: looking17:06
jamespageutlemming, 14.04 deploys don't get that file, so I'm wondering whether its a bit of cruft from the build process for vivid17:07
jamespageesp as vivid is still upstart right now17:07
utlemmingjamespage: I think this is an artifact of us switching from cloud image custom live build to using a stock live build17:08
smoserreading17:09
smoserit would seem, yes. that we shoudl set that17:10
xnoxjamespage: at the moment /etccc/machine-id is borked up on ubuntu17:16
xnoxjamespage: it should be done by "first boot job" or the "installer", in practice it's done on the livefs builder and thus all ubuntu desktops have the same one.17:16
xnoxdito dbus machine-id17:16
Odd_Blokexnox: jamespage: Am I right in thinking that we would (ideally) not have /etc/machine-id on the images at all (so it'll be generated at boot time)?17:18
xnoxjamespage: smoser: ideally, the livefs builder should be fixed to delete/omit those. But then something should be enabled to generate it properly.17:18
jamespageOdd_Bloke, xnox: on a systemd boot, if its empty it gets populated automatically17:18
xnoxOdd_Bloke: yes.17:18
jamespagejust not under upstart17:18
jamespageso removal for now might be best17:18
xnoxjamespage: cool. needs an upstart job + removal on the image builder17:18
jamespagedumb here just thought he'd try a complete openstack deploy with systemd17:19
jamespagehowever forgot that juju only installs upstart configs right now :-)17:19
jamespagebang!17:19
xnox=)))))17:19
SpamapSsmoser: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1413279 <-- I won't have time to fix until about 3 weeks from now, but it might be a pretty easy fix for you to slam in there... just sayin.17:22
ubottuLaunchpad bug 1413279 in ifupdown (Ubuntu) "upstart event static-network-up emited to early" [High,Triaged]17:22
Odd_BlokeWe intentionally truncate /etc/machine-id at the moment (rather than deleting it).17:23
smoserSpamapS, well, isn't bug 1413279 a dupe of bug 1379427 ?17:24
ubottubug 1413279 in ifupdown (Ubuntu) "upstart event static-network-up emited to early" [High,Triaged] https://launchpad.net/bugs/141327917:24
ubottubug 1379427 in ifupdown (Ubuntu) "/etc/network/if-up.d/upstart emits static-network-up to early" [High,Triaged] https://launchpad.net/bugs/137942717:24
smosersecond, "family" isn't really enough... as i could quite reasonably have 2 or more ipv6 addresses configured for an nic, couldn't i?17:25
SpamapSsmoser: first: yes. second: yes you can, but ifup won't return until they're all assigned.17:25
smoserah. that would seem to make sense then.17:26
SpamapSman page is somewhat silent on duplicate sections17:27
SpamapSsmoser: unfortunately I think this might mean you have to touch ifquery :-/17:28
SpamapSsmoser: as it makes no distinction on family17:28
LocutusOfBorg1pitti, sorry, mdeslaur pushed a samba update, should I redo the merge?17:38
mdeslaurLocutusOfBorg1: sorry about that17:38
LocutusOfBorg1no need to be sorry, I'm just asking how to proceed :)17:39
LocutusOfBorg1I think you will override also another upload because of CVEs (virtualbox)17:39
LocutusOfBorg1I'm preparing the debdiff right now (this week I hope)17:39
Odd_Blokejamespage: xnox: So mvo added a patch to (just) truncate /etc/machine-id on 2014-10-29; his comment reads "truncate, do not remove otherwise systemd is unhappy". Has systemd learned to cope with it missing since then?17:46
jamespageOdd_Bloke, not sure17:46
xnoxOdd_Bloke: no. something should generate it. systemd can cope with it not being there, only when the whole /etc is empty as far as i can tell.17:48
xnox(well precisely condition first boot is satisfied)17:48
xnoxOdd_Bloke: mvo: actually looking at recent source code from systemd, if /etc/machine-id is not present conditionfirstboot is satisifed and then units that have conditionfirstboot are triggered17:55
xnoxe.g. set presets, generate machine id, etc....17:55
=== SturmFlut|AFK is now known as SturmFlut
pfsmorigo_cjwatson, hi, some of the fixes in grub2 needs to be added to 14.04 as well. 14.04 seems to be using release 9 and all our fixes are after that...18:15
cjwatsonslangasek,infinity: ^- could one of you help pfsmorigo_ out?18:17
cjwatsonpfsmorigo_: I moved to the Launchpad team at the start of the year - I'm still maintaining grub2 in Debian, but hopefully slangasek can give you a new routine contact for Ubuntu grub2 things18:18
pfsmorigo_cjwatson, I see18:18
cjwatsonThere's an ubuntu/trusty branch in the Debian git repository, which ideally would be kept up to date; infinity has access or I can give it to others18:19
=== pgraner is now known as pgraner-errand
infinityI do indeed have access, haven't looked at it since the switch to the new patch system.18:25
cjwatsonhttp://lists.alioth.debian.org/pipermail/pkg-grub-devel/2014-January/013883.html has some recipes.18:26
infinitypfsmorigo_: Can you highlight the fixes that need SRUing, file some bugs (or if bugs already existed and were closed, point them out to me), etc?18:26
pfsmorigo_infinity, LP#: 1334793, 1338471, 1295255...18:31
pfsmorigo_infinity, do you prefer that I open a new lauchpad with all patches so you can apply it?18:33
pfsmorigo_infinity, there are two fixes without launchpad18:33
infinitypfsmorigo_: One bug that points at all the fixes might be helpful.18:33
pfsmorigo_infinity, ok, will do that18:34
pfsmorigo_infinity, tks18:34
=== salem_ is now known as _salem
hallynsay, https://bugs.launchpad.net/bugs/1412671 is telling me i took a wrong turn.  but that's the buglink in the bug email i'm looking at.  is launchpad having trouble?18:45
ubottuError: launchpad bug 1412671 not found18:45
hallynexactly18:46
=== greyback__ is now known as greyback
=== pgraner-errand is now known as pgraner
=== _salem is now known as salem_
infinityhallyn: Could be a private bug you're not subscribed to.19:18
hallynd'oh, right.  i thought i was logged in, but maybe i'm not19:21
hallynhm, i am19:21
sarnoldI can't see it either; it's marked private19:22
hallynwell that's a shame :)19:22
hallyni figured if it ws marked private, package owners would still be able to se eit19:22
hallynlooks like i misunderstood19:22
sarnoldI always get a giggle when I see someone file a bug report Private Security then beg for help then mark it Private -- and no one else will ever see that bug again...19:22
hallynbut i often see private bugs tha i can open.  i'm confused.  what is one supposed to do then?  is the bug submitter supposed to add people s/he trusts?19:23
sarnoldgood question :/19:24
hallynok completely separate question - libvirt needs libcurl-dev to build --with-esx.  apt is telling me i have to choose between openssl, nss, and gnutls versions.  which do we recommend?  all 3 are in main...19:25
mdeslaurhallyn: it's a licensing issue19:27
hallynoh gah19:27
hallynnow that you mention it i recall libvirt having to deal with that19:27
tewardany way to achieve distro-specific pages (for default pages in a webserver) without scripting debian/rules to specify the file to copy over?  (maybe in the .install file, or some other method with debhelper or such?)19:32
hallynmdeslaur: so do you know offhand whichone to use with lgpl code?19:37
mdeslaurhallyn: is there an openssl exception in that lgpl code? if not, I think gnutls19:39
mdeslaurhallyn: this is what, libvirt?19:40
mdeslaursince libvirt already build-deps on libgnutls-dev, I'm guessing the curl gnutls backend would be appropriate19:40
hallynmdeslaur: yeah libvirt, and gnutls is mentione din configure.ac, so i'm going with that - thanks19:43
=== alexisb is now known as alexisb_bbl
=== salem_ is now known as _salem
=== kickinz1 is now known as kickinz1|afk
=== kickinz1|afk is now known as kickinz1
infinityteward: Doing it in Debian rules based on dpkg-vendor is probably your best option.20:55
=== kickinz1 is now known as kickinz1|afk
=== Laney is now known as Guest54456
* Snow-Man is really anxious for a new kernel which fixes #1404558. :(22:11
infinitySnow-Man: Test out the kernel in -proposed, pretty please?22:26
infinitySnow-Man: Enable trusty-proposed, apt-get install linux-image-generic, disable proposed.22:27
Snow-Manit was tested and confiirmed?22:27
infinitySnow-Man: Since it seems to be an intermittent issue, more testing would be nice.22:27
infinitySnow-Man: But stgraber's testing has been good.22:27
* Snow-Man sighs.22:28
Snow-Manhaving a bug that completely breaks ipv6 be released is pretty terrible and that it's taking this long to get it fixed is extremely frustrating. :(22:29
infinitystgraber: It's been 5 more days since you commented, are you still confident that LP: #1404558 is fixed?22:31
ubottuLaunchpad bug 1404558 in linux (Ubuntu Trusty) "IPv6 related kernel panic following upgrade to 3.13.0-43" [Critical,Fix committed] https://launchpad.net/bugs/140455822:31
infinitySnow-Man: Our kernel SRU process really doesn't allow for rapid turnaround of every single patch and bugfix (we pull out all the stops and burn a lot of hours to do emergency security updates, but we can't push a new kernel every two days for every bug).22:32
infinitySnow-Man: So, frustrating, yes, but the alternatives are worse. :/22:32
Snow-Maninfinity: How about a bit more testing w/ ipv6 before releasing it to the masses? :/22:33
infinitySnow-Man: I'm all for that.  Though, in this case, it seemed to need a 24h burn test w/ IPv6.  Most testsuites are geared to testing specific functionality.22:34
Snow-Manit definitely didn't take that long to trigger here22:34
infinitySnow-Man: Not saying testing can't be improved, it always can be, but bugs happen. :(22:34
Snow-Manit was more about the amount of ipv6 activity.22:35
stgraberinfinity: yep, still no kernel panic22:35
infinitySnow-Man: Anyhow, based on stgraber's comment, and his lack of followup in 5 days, I'm assuming the -proposed kernel will make your machine happy.22:35
infinitySnow-Man: Oh, and look, even better. :)22:35
infinitystgraber: Thanks.22:35
Snow-ManI'm going through and installing the kernel from proposed on my various VMs, but it'll take me a few hours to get it done.22:35
Snow-ManI would have preferred to not deal with pulling in -proposed and then having to do another round of upgrades in the relative near-term, but it is what it is.22:36
infinitySnow-Man: The testing versus reactive thing is a bit of a rock and a hard place.  The reason the kernel in proposed isn't released yet is because we do a bunch of testing, and it's not all done yet.  The reason the bug happened is because we need more testing, always.  Never seems to be enough.22:36
Snow-Manugh.  I dunno why, but v6 from the ubuntu mirrors isn't working out too well for me either atm. :/22:38
stgraberSnow-Man: us.archive ?22:38
Snow-Manyes22:39
stgraberSnow-Man: over an HE.net tunnel?22:39
Snow-Mansixxs, but with an HE pop22:39
stgraberok, so yeah, known issue, it's been broken for over a week now22:40
stgraberthe route goes through Internap and they've got some bad config which drops everything on the floor at the moment22:40
Snow-Man:(22:40
stgraberthere are Canonical, HE.net and Internap tickets open about the issue22:40
JanCthe problem with bugs that only happen "once in a while" is often that they may happen more often for one test environment than for another; they may happen once every minute for the user and once every month for the developer trying to fix it...  :-/22:42
pfsmorigo_is there a way to access shell directly when I do a ssh into the installation?22:46
pfsmorigo_ssh installer@ip shows me a menu directly22:46
sarnoldpfsmorigo_: try "ssh installer@ip /bin/bash"  ?22:53
pfsmorigo_sarnold, nope, it still shows the meny22:54
pfsmorigo_*menu22:54
pfsmorigo_sarnold, maybe if I log as root@22:55
=== alexisb_bbl is now known as alexisb

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