/srv/irclogs.ubuntu.com/2016/07/13/#ubuntu-devel.txt

=== _salem is now known as salem_
=== salem_ is now known as _salem
cpaelzergood morning05:26
=== JanC_ is now known as JanC
pittiGood morning06:08
tsimonq2o/ pitti, verification-done on bug 1575460 as of 1 min ago :)06:14
ubottubug 1575460 in lubuntu-meta (Ubuntu Xenial) "Intel video driver not installed by default on Lubuntu 16.04 fresh install" [Undecided,Fix committed] https://launchpad.net/bugs/157546006:14
tsimonq2pitti: how are you? :)06:15
pittia bit tired, but quite fine, thanks! how about yourself?06:16
tsimonq2great :)06:16
ginggsLogan: hi, please send your fix-isnan.patch for leocad to Debian bug #81881907:29
ubottuDebian bug 818819 in leocad "leocad: FTBFS with libc 2.23: 'isnan' was not declared in this scope" [Serious,Open] http://bugs.debian.org/81881907:29
Markus23Dear FOSS developers! Please fully fill out our survey at http://elektra.limequery.org/625192 and a donation will go to FOSS projects. The survey is carefully crafted and helps research! Thank you! If you have any questions you can ask me.08:01
mwhudsoncan someone explain to me how to use livecd-rootfs?08:57
mwhudsonor point me to some documentation08:57
pittiogra perhaps ^ ?09:03
mwhudsonpitti: hi :-)09:09
mwhudsonpitti: steve and i were talking about https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1599799 a little today09:10
ubottuLaunchpad bug 1599799 in snapd (Ubuntu) "snapd > 2.0.2 fails on yakkety" [High,Triaged]09:10
mwhudsonpitti: given that snapcraft failure you posted was with snapd 2.0.2, it seems that this is some problem that's caused by, or maybe revealed by, some change in yakkety, not snapd09:11
mwhudsonpitti: obvious candidate would be systemd, i think?09:11
pittimwhudson: yes, it's certainly a change in some underlying thing (kernel/systemd/util-linux/whatever)09:14
mwhudsonpitti: do you have any ideas on how to figure out what?09:15
mwhudsoni was idly wondering if you could reproduce it by booting a yakkety vm and just installing and uninstalling a snap in a loop09:16
pittimwhudson: I don't know what snapd is trying to do there, but the bug reproduces perfectly locally, so it should be quite simple to look what exactly fails there09:17
pittiquite obviously it's setting up some loop device, and apparently that fails09:17
mwhudsonyeah09:17
mwhudsoni don't really see how that could fail though...09:18
pittiwell, watch it live and see what happens :)09:20
pittithere's only so much you can learn from that tiny log09:20
mwhudsonis it as bad as snapd just not working at all in yakkety?09:30
mwhudsoni guess i can find that out easily enough09:30
pittimwhudson: y-proposed only, 2.0.2 in yakkety still works09:31
pitti(well, the tests pass, so I guess it works well enough)09:32
mwhudsonpitti: not all the time, according to that snapcraft failure09:32
mwhudsonbut yeah true, not completely broken09:32
pittiactually, 2.0.2 started to fail now as well,  for a different reason09:33
mwhudsonoh good09:33
pittiit last succeeded on June 9 (2.0.2)09:34
mwhudsonwait no, the other thing09:34
pitti... value *exec.Error = &exec.Error{Name:"hello-world.echo", Err:(*errors.errorString)(0xc82000e670)} ("exec: \"hello-world.echo\": executable file not found in $PATH")09:34
pittimaybe hello-world changed in the store?09:37
mwhudsonsounds like a great test, in that case09:40
mwhudsonpitti: it's passed on xenial reasonably recently though09:40
mwhudsonoh no, not that recently09:42
* pitti runs locally on x and y09:43
mwhudsonheh yep looks like the hello-word snap no longer provides hello-world.echo09:43
ogramwhudson, it is really badly documented ...  livecd-rootfs is onlöy a bunch of config files for live-build09:43
mwhudsonogra: well i guess i'm glad that i didn't miss the docs then...09:44
pittimwhudson: xenial has 2.0.10 already (breaking the SRU rules), so that also introduces some jitter09:44
mwhudsonogra: i notice that some of the config has hard-coded paths in /usr09:44
ogramwhudson, this and https://lists.ubuntu.com/archives/ubuntu-devel/2011-June/033458.html and http://bazaar.launchpad.net/~ogra/project-rootstock-ng/trunk/files might be the best hints you can get09:45
mwhudsonogra: so i guess if someone tells me to "use lp:livecd-rootfs" i check it out, dpkg-buildpackage & dpkg -i, then run lb config $whatever?09:45
tsdgeosanyone knows who do i have to "complain" because compiz-core-dbgsym in yakkety ddbs is too old?09:45
ogramwhudson, it isnt that easy, but essentially, yes ... (you need to have the right ENV setup and to mimic the builds proper you need to have a stack of chroots09:45
ogra)09:46
mwhudsonogra: to be less mysterious, i'm trying to follow http://people.canonical.com/~mtrudel/console-conf/README09:46
ograsee the links above, they should explain it09:46
mwhudsonwhich i think covers the ENV part09:46
mwhudsonok, /me reads09:46
ografrom rootstock specifically http://bazaar.launchpad.net/~ogra/project-rootstock-ng/trunk/view/head:/rootstock-touch09:47
mwhudsoni don't think i've used live-build since 2011 or so, almost long enough09:47
ograit s awful and painful ...09:47
mwhudsonand shell09:48
mwhudsonthat's about the limit of my memories09:48
pittimwhudson: ah, 2.0.10 dropped that HelloWorld test09:48
mwhudsonpitti: oh ok09:48
ogramwhudson, well, livecd-rootfs used to be a single shell script ... despite being spaghetti code it was a million times easier to maintain and use09:49
mwhudsonubuntu-image will save us all09:50
mwhudsonright?09:50
ograhah09:50
ogra(for now i'd be happy if ubuntu-image saved just snappy :P )09:51
mwhudsonogra: http://bazaar.launchpad.net/~ogra/project-rootstock-ng/trunk/view/head:/rootstock-touch is fairly terrifying09:57
ogralol, sorry :)09:57
ograit describes the build process pretty well though ... :)09:58
mwhudsonogra: why does it run lb inside the chroot? isolation?09:59
ograit comes from a time before lxd :) ... but yes, clean build env ... and you dont really want to taint your PC with build scripts10:01
ograeffectively it mimics a live builder10:01
ogra(it is just doing the same as the launchpad live builders did by that time)10:01
mwhudsonfair enough10:02
cjwatsonand still do, because we want to run lb in a chroot of the appropriate Ubuntu series rather than whatever the host's base system is10:09
ogracjwatson, good to know ... i really didnt look anymore since the switch to launchpad buildd10:11
mwhudsonuh why the heck would lb build fail with 'E: Unable to locate package zsync'10:16
ograsounds like a missing dependency10:17
mwhudsonor missing universe?10:17
ograoh, right, not in main10:18
ogragiven that we run all our images through it on cdimage, someone should probably MIR it eventually :)10:19
mwhudsonum i seem to have created a precise chroot somehow10:19
mwhudsonseems unlikely to be what i wanted...10:20
ogradid you set the right env vars ?10:20
mwhudsoni ran PROJECT=ubuntu-core SUBPROJECT=system-image EXTRA_PPAS=snappy-dev/image SUITE=xenial ARCH=amd64 lb config10:20
mwhudsonwhich looks plausible to me...10:21
mwhudsonoh10:21
mwhudsonbut i put the sudo on the wrong side of the env :(10:21
ograEXTRA_PPAS="snappy-dev/image snappy-dev/edge" ... but yeah, the rest looks ok10:21
* mwhudson swigs more beer10:22
ograif you buuild core you definitely need universe btw10:22
=== jamesh_ is now known as jamesh
mwhudsonnope still deboostrapping precise10:25
ogradid you properly link the /usr/share/livecd-rootfs/live-build/auto scripts `10:29
ogra?10:29
mwhudsonogra: no, just figured that out myself10:34
ogra:)10:34
mwhudsonok that looks better10:36
mwhudsondeboostrap is still running with --components=main,restricted but we'll see if that matters in the long run10:37
ograwe fixed a lot of the universe deps on our way to xenial ... but i'm not sure everything is gone ... the images definitely still have universe enabled10:37
mwhudsonwell that looks moderately successful10:47
mwhudsonstill exited with status 1 mind10:47
ograheh10:50
ogradid it spit out two snaps ?10:50
mwhudson99zz-check-uid-gid.chroot had a sad it seems10:51
mwhudsonogra: i don't think so, where would they be?10:51
ograin $PWD10:51
mwhudsonthen no10:51
ograthen it didnt finish10:51
mwhudsonogra: http://paste.ubuntu.com/19262524/10:52
ograpaste the error ... todays xenial builds definitekly worked on the buildds... 99zz-check-uid-gid.chroot usually indicates that a system user was added10:53
ograhmm, the uuidd group was added by something10:53
mwhudsonthe uuidd package, i assume10:54
=== hikiko is now known as hikiko|ln
ograwell, i dont get how you get it there ... it isnt like the seed changed in xenial10:55
mwhudsonpulled in by lupin-casper apparently10:58
ograuh10:58
ogranothing you want really10:58
ograyou still use PROJECT=ubuntu-core SUBPROJECT=system-image ?10:59
mwhudsonys10:59
ograthat shouldnt pull in such stuff ... weird10:59
mwhudsonit's only excluded for "ubuntu-server|ubuntu-touch|ubuntu-touch-custom)" apparently10:59
ograwell, and for all images that dont use an initrd or kernel at all :)10:59
ogralike all system-image ones should11:00
mwhudsoni see11:00
ogra(we build a kernel snap during the ubuntu-core build, but thats a separate hack, not using live-build mechanisms )11:00
ogratry adding IMAGEFORMAT="plain"11:02
ograand PREINSTALLED="true"11:02
ogra(wild guess though)11:03
mwhudsonok one more try and then bed :)11:08
flexiondotorgrbasak, I've seen you comments on my mate-hud sponsoring package.11:14
flexiondotorgI've corrected the license.11:15
flexiondotorgI've updated to adhere to Debian Python Policy.11:16
flexiondotorgI can make the package quilt too. But so far all the Ubuntu MATE specific packages in the Ubuntu archive are native.11:17
flexiondotorgSo, is this simply a case of splitting the debian packaging from the source?11:17
mwhudsoni have a snap!11:20
ograyay11:23
ograyou shoudl have two :)11:23
ograa kernel and an os snap11:23
mwhudsonit's not finished yet :)11:23
ograah11:23
mwhudsonalthough i have livecd.ubuntu-core.os.snap  ubuntu-core_16.04+20160713.23-17_amd64.snap11:24
mwhudson so far11:24
ograright, it creates a clean new chroot and in there creates a kernel snap11:24
mwhudsonah ok11:24
ograso that takes a bit11:24
mwhudsonyeah, it's getting kernel packages now, which seems consistent with making a kernel snap11:24
ograyup11:24
mwhudsonfor next time is there an easy way to make it use the same proxy apt is configured to use?11:25
ograshzould be done soon then ... it just installs them, creates an initrd and calls snapcraft snap11:25
ograyou can use MIRROR= and point to a local packageproxy11:25
ograiirc11:25
ogra(see rootstock :) )11:26
* ogra notes it is late at your place :)11:26
ogra(by the snap version :) )11:27
rbasakflexiondotorg: if you think the package should definitely be native, I'm happy for you to make that case. As long as it makes sense and wasn't a mistake.11:27
flexiondotorgOK. I'll push the changes and update the bug in a bit :-)11:28
rbasakflexiondotorg: I'd expect it to be quilt format though, because that more easily allows Debian/Ubuntu to patch on top of upstream releases if necessary. For the existing Ubuntu MATE specific packages, do "upstreams" exist?11:28
rbasakflexiondotorg: in this case, for example, what if Fedora wanted MATE with HUD support or something? It doesn't feel distro-specific to me.11:29
flexiondotorgrbasak, Those MATE packages in Debian and Ubuntu are all quilt.11:29
flexiondotorgThose specific to Ubuntu MATE, and only in the Ubuntu archive, are currently all native.11:29
rbasakflexiondotorg: note that debian/patches/ exists in the version I reviewed, which AFAIK doesn't make sense for a native package.11:29
flexiondotorgmate-hud can only work on Ubuntu.11:30
flexiondotorgNot other distro I've checked carries the required libraries.11:30
rbasakOK, but that's because of missing dependencies, which isn't fundamental.11:30
flexiondotorgrbasak, I'll drop debian/patches it is leftover from my skeleton.11:31
rbasakAs an exmaple, unity, unity8 and mir are all non-native packages.11:31
mwhudsonogra: heh yes indeed11:31
* mwhudson zzz11:31
flexiondotorgrbasak, So I am perfectly happy to make it non-native.11:31
rbasakOTOH, dpkg is native because it would make no sense for dpkg to be a separate upstream to Debian.11:31
rbasakflexiondotorg: I don't want you to break consistency just because of one reviewers opinion.11:31
flexiondotorgI can split the packaging from the "upstream".11:31
rbasakSo sorry, I'm not sure what my opinion is. If you have a good reason, perhaps document in the bug and we'll leave it to the archive admins to decide?11:32
flexiondotorgrbasak, Things are the way they are because that was how the very first Ubuntu MATE packages were introduced.11:32
flexiondotorgI quite happy to do "the right thing" :-)11:32
flexiondotorgI'll make it non-native.11:33
rbasakflexiondotorg: would you mind asking on the ubuntu-devel ML or something? I'd appreciate other opinions, and then the thread will be archived and you can have consistency. That's "the right thing", IMHO. Or if you wish, I'm happy to upload and leave it to the archive admins on NEW review if you wish, since it appears to be debateable.11:33
flexiondotorgrbasak, I will make it non-native. It does seem the sensible choice and no effort.11:34
rbasakflexiondotorg: OK, thanks.11:35
=== hikiko|ln is now known as hikiko
flexiondotorgrbasak, I've update the open posting of the bug and added a comment - https://bugs.launchpad.net/ubuntu/+bug/160227012:14
ubottuLaunchpad bug 1602270 in Ubuntu "[needs-packaging] mate-hud" [Wishlist,New]12:14
flexiondotorgRebuilt and tested.12:14
rbasakflexiondotorg: thanks. I reviewed from your .dsc before. Should I be using your git repo on bitbucket now? When I reviewed, there was no postinst. On bitbucket, there is a postinst that calls glib-compile-schemas. Should this not use a dpkg trigger? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587661 suggests that a suitable trigger is available. Finally, for an upload, I'll need an orig tarball12:51
ubottuDebian bug 587661 in glib2.0 "should install glib-compile-schemas in libglib2.0-bin" [Wishlist,Fixed]12:51
rbasakfrom somewhere. Should I just be using uscan?12:51
flexiondotorgrbasak, I update the .dsc link in the opening post too :-)13:12
flexiondotorgSo if the dget of that .dsc is OK. Then drop the ~yakkety1.2 suffix and upload please.13:13
flexiondotorgrbasak, https://launchpad.net/~ubuntu-mate-dev/+archive/ubuntu/crazy-mate/+files/mate-hud_16.10.0-1~yakkety1.2.dsc13:13
=== _salem is now known as salem_
rbasakpitti: I have the known mysql-5.7 dep8 failure on ppc64el holding up proposed migration again. Can we override it to treat as "always failed"?14:13
pittirbasak: yep, bumped the hint'14:14
rbasakThanks!14:27
tseliotpitti: you rejected u-d-c in xenial because it's not yet in yakkety. The truth is u-d-c in yakkety keeps failing because of this: The following packages have unmet dependencies:  sbuild-build-depends-ubuntu-drivers-common-dummy : Depends: python3-aptdaemon.pkcompat but it is not going to be installed14:31
tseliothttps://launchpadlibrarian.net/272774340/buildlog_ubuntu-yakkety-amd64.ubuntu-drivers-common_1%3A0.4.19_BUILDING.txt.gz14:31
argescking: bug 1599219 1599221 1599259 did these get fixed in yakkety?15:07
ubottubug 1599219 in spl-linux (Ubuntu Xenial) "SRU: spl-linux: xenial: apply fix Fix do_div() types in condvar:timeout" [Medium,In progress] https://launchpad.net/bugs/159921915:07
argeswell the first two relaly15:07
ckingarges, 1599219 says it's been fixed in spl 0.6.5.7 (in Yakkety),  1599221 says it's in yakkety and needed to be backported, so if spl 0.6.5.7-0ubuntu4 is released then yes15:10
argescking: ok i'll fixup those tasks in the bug, it makes review a bit easier for me than having to parse through version numbers and released versions etc15:11
slangasekcking: is stress-ng autopkgtest failing on armhf because the tests are broken, or because the kernel is broken? :)15:38
ckingslangasek, got a link to that so I can figure it out?15:39
* cking found it, just a sec15:40
slangasekcking: http://autopkgtest.ubuntu.com/packages/s/stress-ng/yakkety/armhf/15:40
slangasekk15:40
ckingslangasek, looks like the semantics on arm are different from x86 when it comes write prot on the text segment, which is not what I expected, but why this didn't happen previously I don't know as I'm sure that's passed before15:44
slangasek:)15:45
ckinghrm, it passed on the dragonboard too when I tested it, most bizzare15:47
slangasekdragonboard being an arm64 host kernel, I imagine?15:49
smoserhey. in a container, i'm seeing -.mount fail occasionally15:58
smoserwhat seems odd is that it ever succeeds.15:58
smoseras when it fails, systemctl status -- -.mount15:59
smosershows:15:59
smoserExecMount=/bin/mount /dev/disk/by-label/cloudimg-rootfs / -t ext415:59
jderosetyhicks: so in terms of getting the ecryptfs-utils fixes into 16.04.1, will a new upstream 112 release be made or will 111-0ubuntu1 just be patched?16:21
=== JanC is now known as Guest81961
=== JanC_ is now known as JanC
tyhicksjderose: 111-0ubuntu1 will be patched16:52
tyhicksjderose: they'll go through the security pocket and I'll release them by tomorrow16:52
jderosetyhicks: do you have patched yet, or would be helpful for me to attach an updated patch to lp:159715416:52
jderoseer, have a patch yet...16:53
tyhicksjderose: I have debdiffs prepared but haven't tested16:53
tyhicksjderose: I'll upload them to the ubuntu-security-proposed ppa shortly and point you there so you can test16:53
jderosetyhicks: awesome, thanks. yeah, i'll help test them as so as there are builds16:53
ckingslangasek, yep, arm64 dragonboard it works fine, so I wonder what the kernel is on that arm64 test environment is17:02
tyhicksjderose: wily and xenial updates are building in https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa17:12
slangasekcking: autopkgtest [23:32:03]: testbed running kernel: Linux 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:13:13 UTC 201617:13
ckingslangasek, ok, I'll get access to a box later tonight or tomorrow and figure out what the root cause is17:14
ckingta17:14
slangasekcking: of course, that doesn't tell you if it's an arm64 or armhf host17:15
jderosetyhicks: thanks!17:15
slangasek(and I don't recall which it is)17:15
ckingno probs, I can dig into it from now17:15
=== PaulW2U_ is now known as PaulW2U
tyhicksjderose: thanks for offering to test! (note that I haven't staretd my testing of those security updates just yet)17:18
jderosetyhicks: no problem, System76 is always happy to help with testing :)17:19
tyhicks \o/17:19
semiosisslangasek: whats the next step for my merge request?  i haven't seen Odd_Bloke around in a couple days to ask about the localhost thing.  thoughts?18:18
semiosishttps://code.launchpad.net/~semiosis/livecd-rootfs/fix-for-1565985/+merge/29830518:19
smoserslangasek, or someone else systemd boot knowledgable.. care to read bug https://bugs.launchpad.net/juju-core/+bug/1602192 .19:06
ubottuLaunchpad bug 1602192 in juju-core "deploy 30 nodes on lxd, machines never leave pending" [Critical,In progress]19:06
smosermy last two comments i think are the crux of the issue.19:06
smoseri ping you by name because other people i know that could answer this are typically europe time zone19:07
smoser(pitti and xnox )19:07
slangaseksmoser: the job output notes that this is from systemd-fstab-generator.  Does /etc/fstab have different contents on the successful vs. failed containers?19:36
smoserno19:37
slangaseksemiosis: we do really need the input from the cloud team regarding correctness of the hostname resolution change (and whether to make it in both places or neither).  If Odd_Bloke is unavailable, perhaps rcj or gaughen can help19:37
slangaseksmoser: ok. what are the contents there?19:37
smoser# cat /etc/fstab19:38
smoserLABEL=cloudimg-rootfs   /        ext4   defaults        0 019:38
slangasekalright19:38
slangasekso has udev/systemd failed to resolve that label to a device?19:38
slangasek(is /dev/disk/by-label/cloudimg-rootfs present?)19:39
smosernever in a container.19:39
smoserno udev19:39
smoserso that is strictly wrong. but in most cases (probably > 90% of the time) something addresses that.19:40
semiosisslangasek: fwiw, as far as correctness goes, Odd_Bloke already had me change from installing libnss-myhostname (as was done in pre-xenial vagrant boxes) to using this cloud-init method.19:41
semiosisslangasek: you also had concerns about the virtualbox packages not being in main.  if that's a blocker for you, what direction would you suggest taking?  i'd be happy to start down that path19:42
semiosis...if necessary19:42
slangaseksemiosis: I've been talking with gaughen already about a path forward on virtualbox.  We can probably land this change and deal with the MIR for virtualbox later, provided we agree that's the direction to go19:58
semiosisslangasek: that sounds great to me.  thanks for your time.  let me know if there's anything else I can do to help move things forward.19:59
jderosetyhicks: finished testing ecryptfs-utils packages from https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/+packages everything seem solid, no issues found. i tested both ecryptfs-setup-swap and ecryptfs-utils.postinst20:09
gaughenslangasek, semiosis I'm reading the scrollback20:13
tyhicksjderose: thank you for reporting back :)20:18
tyhicksjderose: did you only test on GPT partitioned devices that were affected by the bug?20:19
jderosetyhicks: thus far yes. still need to check for regressions on non-GPT partitioned drives20:19
jderosewe'll keep testing though20:19
tyhicksjderose: ok - I'll be testing that situation, as well20:20
tyhicksjderose: I just wanted to make sure I understood what testing you've already done20:21
jderosetyhicks: ah, gotcha. on a UEFI system with an NVMe drive and an oem install, i first tested that ecryptfs-setup-swap correctly worked when going through oem-firstrun and choosing encrypted home directory. then i unset bit 63 and ran `sudo apt-get install --reinstall ecryptfs-utils` to make sure ecryptfs-utils.postinst would correctly re-set bit 63. both worked fine.20:25
jderosetyhicks: okay, i finished tested on an non-NVMe SSD, in both UEFI (GPT partitioning) and BIOS (msdos partitioning)... no issues found, everything seems shiny.21:07
tyhicksjderose: thanks again :)21:08
jderosealso, i made sure that the new ecryptfs-utils.postinst script would re-set bit 63 okay even when on a standard SSD (non-NVMe)21:08
jderosenp :)21:08
jderosetyhicks: oh, i've only been testing xenial so far, haven't tested wily at all. need help testing wily?21:13
tyhicksjderose: no, I can handle wily21:13
jderosetyhicks: cool, thanks!21:15
naccmdeslaur: ping re: python-django 1.8.7-1ubuntu2; i'm trying to merge to yakkety, and it seems like our xenial CVE fix ended upnot being the one taken upstream (the patch's commit sha doesn't match anything on github or anonscm and there's no dep3 url in the patch)22:55
naccmdeslaur: the merge is fine, in that upstream has the right CVE fix, just wanted to bring to your attention, in case xenial needs a corrected fix22:56
=== salem_ is now known as _salem

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