/srv/irclogs.ubuntu.com/2020/04/17/#cloud-init.txt

andras-kovacsOdd_Bloke: Thanks for the info! I made in Azure an Ubuntu 18.04 with official cloud-init support so looking those configs closer I cloud make my own Red Hat 7.8 template work also (with waagent and cloud-init together!)10:05
* andras-kovacs sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/VjXqdileLrLUzHDfVYukbNAv >10:08
andras-kovacsOr should I just forget about it because all the other things work?10:10
Odd_Blokeandras-kovacs: So I suspect that we should handle the absence of that file gracefully, but need more details.  Could you file a bug and attach the `cloud-init collect-logs` tarball to it, please?13:35
smoseranyone else using launchpad-chroot ? blackboxsw it think you do17:01
smoseri'm trying to use sbuild-it -> sbuild17:01
smoserand the sources.list is getting busted by 90apt-sources17:03
blackboxswsmoser: I do via build-package script17:05
smoserright. same thing.17:06
smoseryou build focal ?17:06
smoserbuild-apckage calls sbuild17:06
blackboxswwill give it a go17:06
blackboxswsmoser: we just pushed up a change yesterday that fixed a unittest leak that was breaking ppa builds FTBS etc.17:07
blackboxswbut should be unrelated to aptsources... checking17:07
smoserthis is just launchpad-croot being proken17:08
smoserbrooken17:08
blackboxswI get you :)17:08
* blackboxsw waits on sbuild17:10
smoseryou use sbuild-launchpad-chroot ?17:11
smoserdo others still use that17:11
smoserthe problem is that in the launchpad 'livecd.ubuntu-base.rootfs.tar.gz' that gets downloaded17:12
smoserbioinc has just one line in /etc/apt/sources.list:17:12
smoser http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse17:12
smoserand focal has a "full /etc/apt/sources.list" (just like in a container or whatever)17:12
smoserand /etc/schroot/setup.d/90apt-sources parses that wrong17:13
smoserin the 'APT_POCKETS' part17:13
blackboxswhrm smoser I may have fallen out of sbuild-launchpad-chroot usage. I: 01launchpad-chroot: [focal-amd64] Processing config17:14
blackboxswI: 01launchpad-chroot: [focal-amd64] Doesn't exist.17:14
blackboxswdigging into what that means for my focal sbuild17:14
smoserrel=focal; sudo sbuild-launchpad-chroot create --architecture=amd64 --name=$rel-amd64 --series=$rel17:15
Odd_BlokeI tried to start using launchpad-chroot earlier in the cycle and it didn't work (so I just kept doing what I was doing already).17:23
blackboxswsmoser: can reproduce the problem now17:25
blackboxswhttps://paste.ubuntu.com/p/QcFRJB53xt/17:27
smoserblackboxsw: https://bugs.launchpad.net/ubuntu/+source/sbuild-launchpad-chroot/+bug/187216318:12
ubot5Ubuntu bug 1872163 in sbuild-launchpad-chroot (Ubuntu) "focal chroots broken due to change in sources.list" [Undecided,Confirmed]18:12
smoseri filed https://bugs.launchpad.net/ubuntu/+source/sbuild-launchpad-chroot/+bug/187350718:12
ubot5Ubuntu bug 1872163 in sbuild-launchpad-chroot (Ubuntu) "duplicate for #1873507 focal chroots broken due to change in sources.list" [Undecided,Confirmed]18:12
smoseri dont really udnerstand. i thought launchpad itself used launchpad-sbuild-chroot18:13
blackboxswsmoser: thanks for the links and bugs since I broke my own build system by switching back to sbuild-launchpad-chroot. I've fixed it locally :)20:03
blackboxswpastbin coming and I'll put up a patch for it20:03
blackboxswsmoser: # See focal for how to upgrade to20:03
blackboxsw# newer versions of the distribution.20:03
blackboxswdeb http://archive.ubuntu.com/ubuntu/ focal main restricted20:03
blackboxsw# deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted20:03
blackboxswwhoa20:04
blackboxswsorry about that20:04
blackboxswhttps://paste.ubuntu.com/p/vJ25FrJGVj/20:04
blackboxswsince it's multiline now sbuild-launchad-chroot needs to be able to also ignore empty lines20:04
blackboxswwhich was what was killing things20:04
smoserdid that work ?20:12
blackboxswyes20:12
blackboxswputting up an MP20:12
smosermy patch worked too20:12
smoser:)20:12
smoseryours does work generically ?20:13
blackboxswsmoser: here's what it appends https://pastebin.ubuntu.com/p/FnyjzQD6TW/20:20
blackboxswis that bogus to have -proposed on universe etc?20:20
blackboxswahh shoot I forgot the part that avoids dups20:21
smoserno thats fine.20:21
smoserand desired20:21
smoseri honestly think its probably unintended that the sources.list file is there20:21
blackboxswI think so too. But it would be nice to also allow multiple lines if intended20:22
blackboxswhere's the update with avoiding duplicates20:23
blackboxswactually we don't need the duplication reduction, as the APT_COMPONENTS will also reset additional apt config lines all to "main universe" anyway, so if we did have separate lines specifying different components, they are all going to get rewritten anyway to the same component sets. So duplication is inevitable without a rewrite of the whole script, which is not worth it in my mind20:54
blackboxswput up the following PR  https://code.launchpad.net/~chad.smith/ubuntu/+source/sbuild-launchpad-chroot/+git/sbuild-launchpad-chroot/+merge/38252920:57

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