/srv/irclogs.ubuntu.com/2017/07/31/#ubuntu-devel.txt

=== maclin1 is now known as maclin
ackkhi, can anyone advise on how to debug this issue: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1697450 ?08:46
ubottuLaunchpad bug 1697450 in ubiquity (Ubuntu) "Installer freezes at session startup" [Undecided,New]08:46
ackkit's actually not an ubiquity-specifc problem08:46
ackk*specific08:46
chipchahello at all11:31
rbasak!dmb-ping15:02
ubottubdmurray, BenC, cyphermox, infinity, micahg, rbasak, sil2100: DMB ping.15:02
jbichaslangasek: should we set python3.6 as the only supported python3 version for artful now?16:29
slangasekjbicha: I defer to mwhudson who is managing this transition.  Is there urgency?16:30
jbichamwhudson deferred to you or doko when I asked him :)16:30
jbichano urgency, but I assume we won't be providing python3.5 at all by the time artful is released?16:31
slangasekcorrect16:31
jbichamost of python3.5's rdepends now are because it's still 'supported'16:32
slangasek"now are" what?16:32
jbichabecause python3.5 is supported, some packages have dependencies on both python3.5 and python3.6 when they are built16:35
jbichaI think that's all of 'reverse-depends src:python3.5' except for a couple packages that FTBFS16:36
=== alan_g is now known as alan_g|EOD
=== ogra_ is now known as ogra
naccdannf: are you still working on LP: #1676884 in debian?17:28
ubottuLaunchpad bug 1676884 in makedumpfile (Ubuntu) "kdump-tools uses the wrong crashkernel command line parameter in ppc64le" [High,New] https://launchpad.net/bugs/167688417:28
dannfnacc: i've proposed a fix for it, but it hasn't been merged yet17:29
dannfnacc: at least, the kdump-tools bit17:29
naccdannf: ok, wasn't sure how active you were on it, i just got pinged by the submitter on status17:29
xnoxjuliank, apt without unatteded-upgrades --download-only flag is useless for us. Whilst apt update is happening randomly, the heavy download all the debs is still staggered with upgrade at 6am.17:37
xnoxjuliank, because apt-get --download-only is not the default17:38
xnoxand --download-only is missing.17:38
xnoxand --download-only is missing from unattened-upgrades17:38
juliankxnox: Yeah, we need to SRU that as well.17:38
juliankBut then we're done17:38
xnoxbut is it in debian, or ubuntu? i don't see where/when download only mode in unattened upgrade was intorduced.17:39
xnoxhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=86391117:39
ubottuDebian bug 863911 in unattended-upgrades "unattended-upgrades: Needs a --download-only mode" [Important,Open]17:39
juliankNo, it's not, apparently mvo is really busy. I should pick the commits and upload it myself17:39
juliankIt's in the git17:39
xnoxis this the only bit that is needed? https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=863911;filename=unattended-upgrade.diff;msg=5 ?17:40
xnoxwe'd love to keep this minimal, if we must ship it by thursday.17:40
juliankNo, we also need the test suite fix rbalint made17:40
xnoxcause e.g. https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=863911;filename=unattended-upgrade.diff;msg=5 is reviewable by slangasek / infinity17:40
xnoxjuliank, can you point to where that is? which git repository?17:41
xnoxor rbasak17:41
xnoxunping17:41
xnoxrbasak, unping17:41
xnoxrbalint, ping ^17:41
juliankThat's it: https://github.com/mvo5/unattended-upgrades/commit/2e5deed4a3ef77fb0dcc02525eb32ed134b98a91 https://github.com/mvo5/unattended-upgrades/commit/f26edb4425e488d7acdb825b0b6e8e327d2d51e617:41
juliankI mentioned these commits a week ago ... ;)17:41
xnoxgood you =)17:42
juliankxnox: In any case, it would be good to coordinate with rbalint so we don't end up with conflicting uploads ;)17:43
juliankhe's working on bug 169098017:43
ubottubug 1690980 in OEM Priority Project "unattended-upgrades does not block shutdown of system, as it is designed to" [Critical,Triaged] https://launchpad.net/bugs/169098017:43
xnoxyeah i know.17:43
juliankok17:44
juliankxnox: Apparently mvo tagged a new u-u release (0.94) 3 days ago, but did not upload it.17:45
juliankSlightly odd17:45
rbalintjuliank, xnox: yes, i'm wondering why mvo did not upload it yet17:49
rbalintjuliank, xnox: bdmurray said he would give u-u another round of tests for LP: #169098017:53
ubottuLaunchpad bug 1690980 in OEM Priority Project "unattended-upgrades does not block shutdown of system, as it is designed to" [Critical,Triaged] https://launchpad.net/bugs/169098017:53
xnoxjuliank, rbalint - i would consider upload /just/ the download-only bits, without the rest of the u-u bits for shutdowns etc.17:54
cjwatsonstgraber: A week or two ago you posted a buildd-chroot-to-LXD-image conversion script, which has been very useful to me, thanks - I'm attempting to integrate it into launchpad-buildd.  However, I'm running into difficulty because the chroot doesn't have any networking tools, so AFAICS the network is never brought up inside the container and there's no way to do so.  Did you get the chroot to ...17:55
cjwatson... the point of having working networking?17:55
juliankxnox: I agree17:55
rbalintxnox, juliank: i pinged mvo via email17:55
stgrabercjwatson: yeah, I don't believe I did anything with the network in there after I go the script going.18:01
cjwatsonIt's not totally obvious to me what the best way to proceed is :-(18:02
rbalintxnox, juliank: i would wait for a few hours18:02
=== JanC is now known as Guest68181
=== JanC_ is now known as JanC
bdmurrayrbalint: I will do the test soon18:05
cjwatsoninfinity: ^- are you aware of this "make at least some builds use containers rather than chroots" project, and do you have any thoughts about handling it from the chroot management point of view?  It just suddenly got a lot more complicated if we're going to have to munge the chroots in non-trivial ways to make them work as containers.18:06
rbalintbdmurray: thanks!18:06
stgrabercjwatson: printf "lxc.network.0.ipv4=10.204.119.2/24\nlxc.network.0.ipv4.gateway=10.204.119.1" | lxc config set test-xenial raw.lxc -18:07
infinitycjwatson: Err, no.  I'm not aware of this, and why is this happening?18:08
bdmurrayrbalint: given that the fix for the bug will be SRU'ed can you add the test case we discussed on friday to the bug description?18:08
cjwatsoninfinity: basically in order to be able to use snaps as build-dependencies for other snaps.  get slangasek to fill you in :)18:08
cjwatsonstgraber: hm, interesting.  how would I pick those addresses?18:09
infinitycjwatson: Could someone maybe fix snapd to work in chroots?18:09
stgrabercjwatson: that's a bit of a workaround because LXD doesn't usually let you pre-configure the network namespace (as it's very rarely a good idea), but in this case it's probably your best bet short of adding a bunch of stuff to the chroot18:09
infinitySort of a long-standing bug anyway.18:09
stgrabercjwatson: just needs to be an address in whatever subnet lxdbr0 is using. You can configure lxdbr0 with a fixed subnet to make that easier18:10
cjwatsoninfinity: that's a pretty big ask18:10
rbalintbdmurray: sure18:11
infinitycjwatson: So is converting the buildd setup to use containers.18:11
cjwatsoninfinity: I have that mostly done18:11
cjwatsonapart from this roadblock that I discovered at the eleventh hour18:12
infinitycjwatson: It also just leaves a bad taste in my mouth to add even more stuff to build-essential.18:12
cjwatsonyeah, I'd prefer to avoid that18:12
infinitycjwatson: (I mean, not actually build-essential, but "build-cruft")18:12
infinitycjwatson: And if you're running in full containers with networking and systemd, that's what you get.18:12
cjwatsonif stgraber's gadget works then maybe we can still use basically identical root images18:12
cjwatsonstgraber: heh, "lxd init --auto" in this container apparently gave me an IPv6-only lxdbr0 ...18:13
slangasekinfinity: running any services in chroots is a no-go in systemd land18:14
cjwatsonslangasek: the chroots already ship a policy-rc.d that disables nearly everything18:14
cjwatsonso assuming that works properly in a lxd/systemd context ...18:15
infinityIt does.18:15
cjwatson(that's a slight tangent, but relevant to the question you asked the other day)18:15
slangasekcjwatson: yes; my point is that you *can't* run systemd in a chroot, so "make snapd run in a chroot" is very much not a snapd issue18:15
infinityslangasek: I suppose I could argue it's a snapd issue for implementing everything it does as systemd jobs, but... :P18:16
infinityThe very notion that I can't install snaps in a chroot has always rubbed me the wrong way.  Seems like a step backward.18:17
stgrabercjwatson: yeah, I'm assuming you're doing all that with LXD 2.0.x rather than the backport (which makes sense). LXD 2.0.x is a bit more annoying to configure due to not having the nice "lxc network XYZ" commands. You likely just want to replace /etc/default/lxd-bridge with some static version of the config, then bounce the lxd-bridge service.18:18
infinitycjwatson: Anyhow, if container-based buildds become the new hotness, I might look at further optimising by making the root image a squash instead of a tarball, and we can just mount it instead of unpacking.18:20
infinitycjwatson: Though, I suppose we need to keep both methods alive and well or we have some large hurdles for new arch bootstrapping for that inevitable "we never thought we'd have another, but there it is" port.18:21
cjwatsoninfinity: Right, I'm making it switchable18:21
cjwatsoninfinity: Not least because I don't want to change .deb builds (yet, anyway)18:22
infinityActually, I take that back.  I could make a chroot-based sbuild use a squash base trivially too.  So maybe I'll look into that later.18:22
infinity(or schroot, given your low prio pending MP)18:23
cjwatsoninfinity: The tarball is useful here because we need to munge it a little bit for LXD.  http://paste.ubuntu.com/25119707/ was stgraber's prototype of this18:23
infinitycjwatson: I could be blind, but I'm missing the bit where that changes anything.18:26
infinityOh.  I see.18:27
infinitySo, the hardlink thing would just go away if it was a filesystem instead of a tarball.18:28
cjwatsoninfinity: metadata insertion too18:28
infinityThen you'd just have the metadata thing, which I'd kinda like to hope can live beside an image instead of in it.18:28
infinityCause didn't we have a mandate for a "one true rootfs", it would seem silly for that to have to have LXD stuff in it.18:28
infinityBut also, we could just build it that way if we had to.18:28
cjwatsoninfinity: and although it's not in that prototype, so far I've in practice needed to insert /etc/{hosts,hostname,resolv.conf} into the image rather than applying it just after starting things up the way we do for chroots (can't do lxc file push until after lxc start, and lxc start does things that look at those files)18:29
cjwatsonoh wait, actually lxc file push does work as long as I do it after lxc init, never mind that bit18:30
stgraberI was about to say :)18:31
stgraberinfinity: yeah, I'm only stuffing the metadata in the tarball because I needed to repack it anyway18:32
stgraberinfinity: LXD does support taking two tarballs, one which is the rootfs and another that's the metadata bits, but it needs the rootfs tarball to contain the rootfs at its root (which the build chroots don't)18:32
infinitystgraber: Sure, that's fixable.18:33
infinitystgraber: Though, as I said, I was tossing around s/tgz/squash/ as an opimisation.18:33
infinityoptimisation, too.18:33
infinityTyping is hard.18:33
cjwatsonI'd be happy to make launchpad-buildd tolerate either ./ or chroot-autobuild/ if we were planning to change the chroots to match.18:34
infinityYeah, that's a trivial change.18:35
cjwatsonI'm tearing all that stuff apart and putting it together differently anyway18:36
infinityThe only reason it's the way it is is Kinnison originally did it that way, and I didn't strip the leading component because I prefer things to not vomit on my FS when I unpack them.18:36
infinityThough I did ubuntu-core^Wubuntu-base without a leading path, cause it's The Right Way to do a rootfs.18:36
cjwatson(sbuild-launchpad-chroot might want pre-adjustment too, though.)18:36
cjwatsonThough stgraber's munger doesn't change it to be without a leading path - it changes it to have a leading rootfs/18:38
cjwatsonUnless that's different in the two-tarball case.18:38
infinityHuh, indeed it does.  That's odd.18:39
infinity"Guys, you shouldn't hardcode leading paths, cause I hardcode different leading... Oh."18:40
stgraberhaha, no. LXD either takes a single tarball with metadata and rootfs mixed, in which case the rootfs must be under "rootfs/". Or it takes two tarballs, one with the metadata and the other with the rootfs at its root.18:40
rbalintbdmurray: the plan is back-porting the whole u-u package, not just the targeted fix thus there will be a new bug for that18:41
stgraberthat second format is what we used for the cloud-images for example and what you'd want to use if you want to avoid repacking18:41
cjwatsonah right18:41
bdmurrayrbalint: ah, got it18:42
infinitystgraber: Probably a few years late to question the design, but rather than "/metadata and /rootfs/<realstuff>", why not "/<realstuff> and /var/lib/lxd-init/metadata", so it didn't need the leading component?18:42
stgraberinfinity: that'd be putting a file in the container root filesystem which the container user wouldn't otherwise need to see18:44
stgraberinfinity: also, some of our images don't have such a thing as /var :)18:44
infinitystgraber: Sure.18:44
infinitystgraber: /lib/lxc-init/poop then. :P18:44
infinitystgraber: But yeah, I get the urge to make it pristine and poop-free.18:45
infinityEver absentmindedly scratch at a limb and, a bit later, look down and realise you're bleeding profusely?18:46
stgraberit's also possible that someone would publish an image which contains confidential information in the image metadata that needs to be used by the host when creating the container but shouldn't be visible to the user inside the container18:46
infinityYeah, me neither...18:46
infinity(AFK)18:46
slangasekinfinity the leper18:52
slangaseknacc: does LP: #1700826 have your ack on behalf of server team?  dannf raised all the MPs, but I haven't seen an acknowledgement from the server team that this is wanted on server-ship so I'm not merging it with my core-dev hat19:55
ubottuLaunchpad bug 1700826 in ubuntu-meta (Ubuntu Zesty) "please include numactl on the ubuntu-server iso" [Undecided,In progress] https://launchpad.net/bugs/170082619:55
naccslangasek: let me double-check with the team tmrw AM21:09
mwhudsonjbicha, slangasek, doko: the only reason to not de-support python3.5 would be any entanglement with other transitions i guess22:08
mwhudsoni presume it would be much easier than the "support 3.6" transition22:08
slangasekmwhudson: in general, the dropping of python3.5 from python3-all* should not entangle anything else and you just get small self-contained transitions of individual dependency trees as they get rebuilt22:48
slangasekand then eventually we sweep up the remainder with some no-change rebuilds so that we can rip out python3.522:48
mwhudsonslangasek: so we should aim to do that before feature freeze?23:10
slangasekmwhudson: yes - and from my side I know of no blockers for doing it immediately, given that 3.5+3.6 has migrated to artful23:10
mwhudsonslangasek: ok, sounds like something i can get on with during my intermittent availability23:11
slangasekmwhudson: you may want to double-check with doko to be extra-sure there aren't known entanglements I'm overlooking, since gcc is impending23:11
mwhudsonslangasek: start with the python3-defaults update, then gradually work through the things preventing it migrating?23:11
mwhudsonslangasek: ok23:12
slangasekmwhudson: there should in fact be nothing that prevents it from migrating, IIUC23:12
mwhudsonoh right yes23:12
mwhudsonjust things preventing us removing python3.523:12
slangasekeven things that had a versioned runtime dep on python3-something (<< 3.6) have already been resolved, so yeah23:13
=== mwsb is now known as chu

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