/srv/irclogs.ubuntu.com/2016/10/20/#snappy.txt

dr1337Hi guys is it possible to build an ubuntu image using local snaps defined in the model assertion instead of having to go through the snap store?02:53
mupBug #1635101 opened: /snap/bin is not added to path for "sudo su" <Snappy:New> <https://launchpad.net/bugs/1635101>03:30
dr1337_mwhudson: most of the devs are in Europe so they would be asleep05:04
dr1337_mwhudson: and I agree the documentation is very patchy with lots of different components being constantly rewritten with out of date instructions. I'm almost at the point of giving up on Snappy and going with something easier like ResinOS.05:05
ogra_rharper, we do not purge, but snap prepare-image has a function that disables it if there is no cloud-init config in the gadget snap06:18
ogra_jdstrand, hmm, didnt you recently say you addded linux-generic-bbb to the kernel exceptions so it auto-lands ? https://myapps.developer.ubuntu.com/dev/click-apps/5912/review/rev/5/ is in manual review now07:10
jdstrandogra_: I did but the store doesn't have it yet07:14
ogra_ah07:14
jdstrandogra_: approved but not published07:14
ogra_yep, got the mail, thanks :)07:15
jdstrandnp07:15
ogra_and published too ... :)07:16
mupPR snapd#2192 opened: snap: fix FTBFS because the buildds do not allow writing to syslog <Created by mvo5> <https://github.com/snapcore/snapd/pull/2192>07:28
mupPR snapd#2192 closed: snap: fix FTBFS because the buildds do not allow writing to syslog <Critical> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2192>07:56
mwhudsonogra_: ah maybe i need to update my snapd then07:59
=== King_InuYasha is now known as Son_Goku
mwhudsonpitti: yo08:23
pittihey mwhudson, how are you?08:23
mwhudsonpitti: i'm ok08:24
mwhudsonpitti: netplan and nameservers, how much work does that sound?08:24
pittimwhudson: ok, jumping back :)08:24
pittimwhudson: not that much, I just moved it to the top of my list as it seems to become a blocker RSN?08:25
mwhudsonpitti: seems so if https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1634540 is critical08:25
mupBug #1634540: Configuring a static IP address generates a netplan file without a gateway <nplan (Ubuntu):Invalid by pitti> <subiquity (Ubuntu):Fix Committed> <https://launchpad.net/bugs/1634540>08:25
mwhudsonbecause if you configure static addresses and no nameserver you're going to have a hard time talking to the store..08:25
mwhudsoni guess we *could* put login.ubuntu.com's ip address in /etc/hosts :-)08:26
pittimwhudson: well, if you don't configure a nameserver, resolved defaults to 8.8.8.8, so it shoudln't completely fail08:26
mwhudsonpitti: oh huh08:26
pittimwhudson: but it's better to be able to configure it of course08:26
mwhudsonpitti: it definitely failed for me in qemu08:26
mwhudsonpitti: is that user mode networking being odd?08:27
pittimwhudson: it would only work if you ... oh crap, this is xenial, so no resolved08:27
pittinevermind :)08:27
mwhudsonha08:27
* pitti just doesn't live in stable releases08:27
mwhudsonwell we already backported netplan itself for this...08:28
mwhudsonbackporting resolvd does feel a bit large-hammer08:28
pittinah08:29
pittiwe really don't want to do that08:29
pittimwhudson: both networkd and NM support manual nameservers, so it's just a matter of adding the glue to pass it on, and writing tests08:30
pittimwhudson: I'll start on that now08:30
mwhudsonyeah, networkd looked pretty straightforward at least08:30
pittimwhudson: getting that into xenial-updates will take a bit longer, but you can park it in your PPA in the meantime08:30
mwhudson(i know nothing about NM really)08:30
mwhudsonyeah ppas r us08:30
pittimwhudson: is yakkety a thing for snappy at all? or just x (and zesty/devel of course)?08:31
* pitti hopes not -- please no non-LTS releases any more, EVAR08:31
mwhudsonjust xenial + ppas i think really08:31
mwhudsonand of course xenial implies devel release first, not that that rule is being stuck too 100%08:32
pittiI just don't want to repeat the vivid pain :)08:32
mwhudsonxnox is in the hague, he can attack anyone who suggests anything like that08:33
xnoxpitti, sure.... would you like to maintain yakkety, or whould you like to SRU everything from yakkety to xenial?08:34
ogra_mwhudson, i was just wondering, is VPN support in console-conf on the roadmap ?08:34
xnoxpeople are talking about SRUing all of systemd user session work, and all of perfonal/unity8 as SRUs into xenial for ever.08:34
pittixnox: I want to forget that yakkety exists :) I want to backport necessary stuff from devel (i. e. z now) to x08:34
mwhudsoni'd better get on with the ui for nameservers...08:35
pittixnox: uh, ambitious :)08:35
mwhudsonogra_: noone has mentioned it to me08:35
ogra_xnox, we should really just SRU zesty altogether :P08:35
pittiit works great!08:35
pittiship it08:35
ogra_mwhudson, yeah, just came to my mind that IoT setups might want to use it08:35
mwhudsonogra_: is openvpn-client even in core08:35
mwhudson?08:35
pittiurgh, happy typing of X.509 certificates into your serial console :)08:36
ogra_mwhudson, nops, apparently not08:37
mwhudsonsounds like using telnet to debug http/208:37
ahayzenHey, has anyone experienced a situation where building a snap in a yakkety container is different to a snap built from in a VM ?  As the snap i've built from the container doesn't work on the host, whereas the one from the VM does and they both have the same size but a different md5sum08:37
mwhudsonogra_: i guess the gadget snap can provide it somehow?08:37
ogra_yeah, well, i will try to discuss it with the team here08:38
mwhudsonogra_: anyway, sounds like a medium term thing ...08:38
ogra_right, not super urgent ... definitely not for the release ... for that getting wifi to work on the pi3 would be a bit more important ;)08:38
mwhudsonogra_: do you have any idea what's actually going wrong there?08:39
ogra_mwhudson, not the slightest .... wlan doesnt work at all ... when you try to configure it it times out ... when you *then* try to do anything else network related ... i.e. try to set up wired, that doesnt work either anymore ....08:46
mwhudsonogra_: but if you run through console-conf on wired, then wlan works?08:47
ogra_btw, i just talked to mvo, we'll seed openvpn stuff so you have something you can later attach to08:47
ogra_iirc (have to test that again) if you configure both, iit doesnt work08:48
ogra_it only works if i use wired only08:48
ogra_it also works if i manually bring up wlan after booting08:48
ogra_fgimenez might be able to give more details, he tests that stuff all day atm08:48
mwhudsonpitti: http://paste.ubuntu.com/23352576/ <- does that match planned syntax08:51
pittimwhudson: looks good; I'm writing test cases like this:08:52
pitti    enblue:08:52
pitti      addresses: ["192.168.1.3/24"]08:52
pitti      nameservers:08:52
pitti        search: [lab, kitchen]08:52
pitti        addresses: [8.8.8.8]''')08:52
pittimwhudson: which is the same thing, just different YAML syntax08:52
mwhudsonogra_: can you do something like create /var/log/journal so the journal persists and then see what ends up in there08:52
mwhudsonpitti: wait, it's per interface?08:52
pittimwhudson: NM seems to have trouble with multiple search domains, argh08:52
pittimwhudson: yes, it is; nameservers usually are08:53
mwhudsonpitti: ok fine, but that's not what https://git.launchpad.net/netplan/tree/doc/netplan.md has :)08:53
pittimwhudson: right, I'll fix that08:54
pittithat was obviously an error08:54
pittithanks for pointing out08:54
* mwhudson rebases :)08:55
pittimwhudson: http://paste.ubuntu.com/23352599/09:01
mwhudsonpitti: looks plausible at least09:02
pittimwhudson: as I said, NM does not actaully seem to properly configure multiple search domains (I just see "search lab" in /etc/resolv.conf), but I hope that won't block you09:03
mwhudsonpitti: i don't think that's important here no09:03
mwhudsonmaybe morphis could say more09:03
mwhudsonpitti: you're probably not the ideal person to ask this but do you think it makes sense to allow configuring nameservers when using DHCP for an interface?09:05
pittimwhudson: it's technically possible to configure this; my gut feeling is that it doesn't make much sense to expose this corner case in the UI, though09:06
mwhudsonpitti: ok09:06
ogra_pitti, mwhudson, seeding the openvpn package is enough for you guys to have everything you need to later implement something in netplan and console-conf ?09:09
mwhudsonogra_: i don't think that's something i can answer off the top of my head09:10
pittiogra_: probably; but doesn't make much sense to seed it until we actually can use it09:10
ogra_well, we release in two weeks, i just want to have all the requirements there so you can get to it later09:11
pittiwe can seed it if/once we support it; until then, it's just dead weight09:11
pittialso, I don't think we want to abstract this in any form09:11
pittiif you want to configure openvpn, then add an openvpn config file09:12
pittithis isn't related to different backends like networkd vs. ifupdown vs. NetworkManager09:12
ogra_ok09:12
pittiI mean, maybe we want to put it into the yaml some day, but that shouldn't be a blocker09:13
mupBug #1631791 changed: ubuntu-core/core unconditionally switches to the stable channel on all-snap images <Snappy:Confirmed> <https://launchpad.net/bugs/1631791>09:15
mwhudsonpitti: http://paste.ubuntu.com/23352666/ <- better?09:22
ogra_ppisati, hmm, the uart oops on pi3 is supposed to be fixed with todays -security/-update kernels, right ?09:27
=== drizztbsd is now known as timothy
ogra_ppisati, the QA team just showed me an oops that looks suspiciously like it09:28
ogra_ppisati, https://rocket.ubuntu.com/file-upload/E5QyRTm7Xq6nojq3E/photo_2016-10-20_10-39-04.jpg09:28
mupPR snapd#2162 closed: interfaces: add shutdown interface <Critical> <Created by morphis> <Merged by jdstrand> <https://github.com/snapcore/snapd/pull/2162>09:31
zygaSon_Goku: hey09:33
zygaSon_Goku: I pushed some small change09:33
zygaSon_Goku: let's try to run that for real09:33
Son_GokuI just pulled and it built09:33
Son_Gokudon't know if it works, though09:33
=== drizztbsd is now known as timothy
Son_Gokuah, I'm missing that patch09:34
* Son_Goku pulls again09:34
zygaSon_Goku: I'm just rebuilding both to install now09:34
=== drizztbsd is now known as timothy
ppisatiogra_: cannot open that image09:37
ppisatiogra_: anyhow, >= 4.4.0-1028.34 should be fine09:37
ogra_4.4.0-1029 is what we (should) have in the store09:38
ogra_hmm, https://launchpadlibrarian.net/290063684/buildlog_snap_ubuntu_xenial_armhf_pi2-kernel_BUILDING.txt.gz09:42
ogra_-1028 actually :)09:42
mwhudsoncyphermox: https://github.com/CanonicalLtd/subiquity/pull/17509:43
mupPR CanonicalLtd/subiquity#175: add UI for entering nameservers <Created by mwhudson> <https://github.com/CanonicalLtd/subiquity/pull/175>09:43
ogra_ah, wrong log09:43
ogra_https://launchpadlibrarian.net/290161189/buildlog_snap_ubuntu_xenial_armhf_pi2-kernel_BUILDING.txt.gz09:43
ogra_that has actually -102909:43
ogra_ppisati, hmm, but only:09:44
ogra_Get:5 http://ftpmaster.internal/ubuntu xenial-security/universe armhf linux-image-raspi2 armhf 4.4.0.1029.29 [2324 B]09:44
ogra_ppisati, where is .34 ?09:44
ogra_(also it would amke sense if you could come over to the snappy room, we are discussion uboot watchdog)09:44
ogra_*discussing09:44
ppisatiogra_: i'm here actually09:45
zygaSon_Goku: hmm, I dont see the snapd-selinux package09:47
=== drizztbsd is now known as timothy
zygaSon_Goku: ah, I'm a dork, noatch09:49
zyganoarch*09:49
=== drizztbsd is now known as timothy
mupPR snapd#2193 opened: add raw-usb iterface <Created by teknoraver> <https://github.com/snapcore/snapd/pull/2193>09:51
=== drizztbsd is now known as timothy
zygaSon_Goku: I need to redo the systemd units a little09:55
zygaSon_Goku: fingers crossed09:55
Son_Gokuokay09:56
mupPR snapd#2194 opened: store: retry readyToBuy request <Created by stolowski> <https://github.com/snapcore/snapd/pull/2194>09:56
zygaSon_Goku: trying more10:32
zygaSon_Goku: so I see stuff that seems to imply the selinux policy is not loaded10:38
zygaSon_Goku: how do I reload it?10:38
zygaSon_Goku: I need a few more binaries, iterating10:45
mupPR snapd#2195 opened:  interfaces/builtin: add dcdbas-control interface <Created by mvo5> <https://github.com/snapcore/snapd/pull/2195>12:32
aleviprihello, I've installed libreoffice 5.2 via snap in xenial, then removed libreoffice 5.1 with synaptic12:38
aleviprihowever now the dash does not show LO icons12:39
aleviprihow to fix this?12:40
alevipriI was thinking that the LO snap provides icons too12:41
SimooonCan anyone tell me how I'm supposed to verify that a snap package, made availible by some random developer I don't know, is the real deal, and not some sneaky way of installing a modified version of the program that sends all my data to haxx.ru?12:42
Simooonalevipri, well it is distributed by chanonical, so you would thing they have included everything. Have you tried restarting, to see if it is something that just needs to be reinitialized?12:43
alevipriSimooon already restarted12:45
Simooonalevipri, okay, I just started using snap yesterday, so I'm probably not the right person to help :-P12:45
alevipribefore to remove LO 5.1 with synaptic, I notices icone were available for both deb and snap installed applications12:46
aleviprinoticed* icons*12:46
alevipriso I can imagine I removed something with synaptic12:47
Simooonalevipri, I don't think synaptic is supposed to be able to touch the snaps12:48
aleviprihowever I was expected to install a snap containing all dependencies, icons too12:48
Simooonthat seems to be the general idea12:48
alevipriSimoon yeah I think it too, however now LO launchers don't show icons12:49
Simooonif synaptics touched the snap by some weird bug or other interaction I don't understand, you can probably restore it to it's original form with the "snap refresh" command, however I think it is unlikely that synaptics have been able to touch it.12:52
Simooonworth a try though12:52
mupBug #1635251 opened: /boot/efi/EFI/boot/ is writable as sudo <Snappy:New> <https://launchpad.net/bugs/1635251>12:55
alevipriSimooon tried but nothing changed12:56
Simooonalevipri, Well that is what I expected :-/12:57
Simooonalevipri,  Have you tried other applications where it worked?12:58
mupPR snapd#2195 closed:  interfaces/builtin: add dcdbas-control interface <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2195>13:03
morphis_pitti: ping13:06
pittimorphis_: pong13:06
morphis_pitti: while you're working on the DNS fix for netplan can you include https://launchpadlibrarian.net/290162595/nplan_0.12~16.04+ppa1_0.12~16.04+ppa2.diff.gz in your next upload as well (if you agree with that change)?13:07
pittimorphis_: no problem -- it's just a small change within that hack, so that doesn't make it any worse13:08
morphis_pitti: I can submit a proper MP as well if you want13:08
morphis_pitti: :-)13:08
pittimorphis_: we don't have the xenial version in VCS13:08
morphis_ah ok13:08
morphis_then nevermind :-)13:08
pittimorphis_: how far are we with dropping that hack?13:08
morphis_pitti: not much further, we're trying to hit deadlines for the final product right now13:09
morphis_but I wanted to check with mvo while being on the sprint in the hague what we can do about this13:09
mupBug #1635258 opened: File system should 5% Ubuntu-image <Snappy:New> <https://launchpad.net/bugs/1635258>13:10
alevipriSimooon for example krita (snap) works with the correct icon13:11
Simooonalevipri, just installed the telegram app myself, and the icon shows up in the launcher, however the systray (or whatever that thing in the upper right conor is called) does not show the correct icon, but an error message icon instead. Perhaps there are just some general issues with icons still?13:13
Simooonalevipri, anyway I will reboot my system to see if that changes this minor issue13:14
alevipriSimooon the telegram-sergiuseng missing icon on the systray is a old bug13:14
alevipris*13:14
Simooonalevipri, okay, will not reboot then :-P13:15
alevipriSimooon the point is, why before to remove LO 5.1 (deb) the icons os LO 5.2 (snap) were available?13:16
alevipriI suspect something is missing from the LO snap package13:16
mupPR snapd#2191 closed: boot: do not set boot to try mode if the revision is unchanged <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2191>13:17
Simooonalevipri, and it launched 5.2 before you removed 5.1?13:22
Paz_Hi. This is my first outing with Snappy and I'm trying to include a couple of libraries (.so files) to my snap package using the dump plugin, but having no joy.13:35
qenghoPaz_: Where did the library files come from?13:36
Paz_Currently, they are pre-built. The final aim is to build them via snappy13:36
qenghoPaz_: This is my long way of asking, why use the "dump" plugin? Are you sure that's what you need?13:36
qenghoHmm.13:36
Paz_No I'm not sure. Was using 'copy' plugin, but this is deprecated13:37
qenghoPaz_: Okay, let's start at the beginning. What is the error message?13:37
Paz_During the Priming of the library I get the following message...13:39
Paz_No such file or directory: '/home/celldev/Development/snap-telegram-app/stage/moc_sessionmanager.cpp13:39
john-mcaleelyawe_, https://docs.google.com/document/d/1a8eydCb_55M6FQdrdZDXZ1Figkh6rLrERMbWO2v2KzI/edit13:39
alevipriSimooon there were 2 .desktop launchers per app, i.e. 1 for calc-deb and 1 for calc-snap13:40
qenghoPaz_: Pastebin the entire output, starting after "snap clean".13:40
mupBug #1635264 opened: ufw rules created even though there is no ufw on the system <Snappy:New> <https://launchpad.net/bugs/1635264>13:40
Paz_ok, give me a sec...13:41
alevipriSimooon both worked launching both LO versions and both showed LO icons correctly13:41
alevipriSimooon re-installed libreoffice-gtk with its dependencies13:46
aleviprinow icons are shown again13:46
alevipriSimooon my conclusion is that something is missing from the LO snap package13:47
Chipacapitti, are you around?13:49
pittiChipaca: yes13:49
Paz_qengho: http://pastebin.com/Cpj3xpeq13:50
Chipacapitti, hiya. Do you know anything about https://www.freedesktop.org/wiki/Software/systemd/InitrdInterface/ (and in particular about requirements around the shutdown executable)13:50
Chipacapitti, i mean, do we disable it or anything?13:50
Paz_qengho: This is my YAML file http://pastebin.com/T3ukAnyD13:51
pittiChipaca: we don't use systemd in the initrd; you can by using dracut instead of initramfs-tools, but I don't have much experience with it13:53
Chipacapitti, this isn't to use systemd in the initrd; it's a way for systemd to hand control back to initrd on shutdown13:54
qenghoPaz_: Does this print two entries?  $ ls -ld snapcraft.yaml telegram/app/deps/libqtelegram-ae/build_desktop13:54
ogra_Chipaca, hmm, i think we throw away the initrd after boot13:54
ogra_so if you expect to do anything with the initrd itself that will likely not work13:55
Chipacaogra_, one problem at a time :-D13:56
ogra_heh, k13:56
pittiChipaca: I don't think it actually uses that in Ubuntu; AFAIK pid 1 just exec()s systemd-shutdown (to make sure that all open  fds to the root fd are closed), which then unmounts everything (or rather, remounts r/o)13:56
ogra_and then falls over :P13:56
ogra_pitti, the prob we have here is that we have a mount inception ... the readonly bit of the fs sits inside the rw bit ... both are mounted on shutdown so the writable bit can not be unmounted because the ro bit inside keeps the fd open13:58
Paz_qengho: Yes it does, one for the .yaml file and the other is the directory13:59
qenghoCool.13:59
qenghoPaz_: Comment-out your line31, "stage: [...]"14:01
Paz_qengho: OK, then run clean and snapcraft again?14:01
qenghoYes please.14:02
qenghoPaz_: I don't understand that "stage: " list any more. I can't explain what it's supposed to be doing there.14:03
Paz_qengho: I was playing around, so understand if some stuff is nonsensical. Basically, I have 2 pre-built .so files which are needed to build the 'telegram' part. How do I make this visible to that part?14:05
Paz_qengho: I was manually moving these .so files into /lib before to make them visible, but now need this to be done via the YAML file14:08
mupPR snapd#2195 opened:  interfaces/builtin: add dcdbas-control interface <Created by mvo5> <https://github.com/snapcore/snapd/pull/2195>14:19
rharperogra_: right; I'm not yet building an image; I'm building a new core snap pointed to my PPA so I can get an updated cloud-init into the core snap;  last week the core snap build ended up with my cloud-init in the .manifest;  the last two days the build no longer has it; trying to understand why.14:20
ogra_can you show me your ppa ?14:21
rharperyeah14:22
rharperhttps://code.launchpad.net/~raharper/+snap/core14:23
rharperthose are the snaps; the PPA I point to is here: https://launchpad.net/~raharper/+archive/ubuntu/snapbuilds/+packages14:23
Chipacapitti, ogra_, so the good news is, it works14:23
ogra_and the bad news ?14:23
Chipacapitti, ogra_, /run needs to lose the noexec flag, and now i need to figure out if i can write shutdown as a shell script or not :-D14:24
Chipacaogra_, I'll write it in python just to keep you happy14:24
* pitti watches ogra explode in anger14:24
ogra_Chipaca, it doesnt need to "lose the noexec" completely though, have a shutdown unit that remounts it "exec" right before shutdown14:25
Chipacatrue dat14:25
Chipacaogra_, BTW we have /lib/modules and /lib/firmware mounted twice14:25
ogra_which shutdown did you use ? busybox ?14:25
ogra_yeah, thats a bug i guess14:26
Chipacaogra_, mksh-static14:26
ogra_ah14:26
hurricanehrndzanyone here use the libreoffice snap?14:26
Chipacaogra_, because the binary needs to be called "shutdown"; imagine what happens if I put busybox there14:26
Chipacaogra_, (spoiler: nothing; the busybox i tried didn't have that applet)14:27
ogra_well, if you put busybox there and create a link called shutdown, it should DTRT14:27
ogra_ah14:27
ogra_right, i was assuming we have the applet enabled14:27
Paz_qengho: Here is the latest snapcraft output with the 'stage' key commented out. http://pastebin.com/4MaLq7qK14:27
Chipacaogra_, busybox will try to run as the applet even when symlinked14:27
ogra_hurricanehrndz, perhaps you get better results asking in #ubuntu-desktop (where the libreoffice maintainer tends to hang around)14:27
ogra_Chipaca, indeed ... i was assuming the applet is enabled14:28
Paz_qengho: As you can see, it is unable to find the 2 libs, qtelegram-ae and telegramqml14:28
Paz_qengho: I can see the .so files in my parts/.../src directory, however14:29
hurricanehrndzanyhow, has anyone else noticed spell checking does not work in libreoffice snap14:31
rharperogra_: the build on 10-13 has cloud-init from my PPA in the .manifest, but 10-14 and newer don't;14:31
rharpercomparing the build logs, when it's not included, there is an explicit purge of cloud-init* locales* ubuntu-core*;  I we see a 'Removing cloud-init; Purging configuration, and finally Del cloud-init'14:32
ogra_rharper, hmm, your livecd-rootfs is the wrong one14:33
rharperin the working case; there's only the 'Del cloud-init' line; but the files remain present in the core snap (and cloud-init is listed in the manifest)14:33
ogra_rharper, just throw it out14:33
rharperogra_: I have an older version in my PPA but the logs show I'm picking up the one from the snappy-dev PPA14:33
rharperogra_: which version of livecd-roofs should I be using?14:34
rharperGet:2 http://ppa.launchpad.net/snappy-dev/image/ubuntu xenial/main amd64 livecd-rootfs amd64 2.420+ppa4614:34
rharperis that not the right one ?14:34
ogra_yeah14:35
ogra_do you also see it getting the ubuntu-core meta package from our PPA ?14:35
rharperlet's see14:35
rharperGet:65 http://ppa.launchpad.net/snappy-dev/image/ubuntu xenial/main amd64 ubuntu-core amd64 1.7.2 [2274 B]14:36
ogra_that looks good14:36
ogra_that has a hard dependency on cloud-init14:36
rharperhuh14:36
rharperand indeed it pulls it in; I see it get installed14:37
rharperit's the purge part that's new14:37
ogra_well, grab the livecd-rootfs package and take a look at the changelog ... but we ship cloud-init by default in the normal core image ... so i wouldnt see why in your builds it gets removed14:39
Simooonalevipri, You are probably right.14:40
ogra_rharper, do you add/change any dependencies vs the archive cloud-init in your package ?14:40
ogra_that removal looks like you have a dependency on something added14:41
ogra_(and your package gets removed along with this)14:41
rharperogra_: interesting14:41
rharperwe've been updating it to be more explicit about dependencies (for example the ssh-import-id package)14:41
rharperI wonder which dep triggered it ?14:42
rharperthe removal ?14:42
ogra_note that new dependencies require really thoourough discussion ... we are at the edge of our size restrictions of the image (actually there is quite a bugnch that will soon be dropped)14:42
ogra_ssh-import-id ids definitely nothing we want in the image14:42
rharperoh, right14:42
ogra_like lsb-release (which recently got in by accident but will soon be removed again)14:42
ogra_i just didnt get to do another cleanup yet14:43
rharperogra_: this was quite helpful;  thank you for pointing me in the right direction14:44
rharperogra_: is there a list of packages in the livecd-rootfs build that it explicitly purges?14:44
ogra_well, we make sure that we initially dont seed that stuff usually ... livecd-rootfs calls apt autoremove at some point ... the packages we explicitly remove are only apt, dpkg and locales14:46
ogra_there are scripts for these three in livecd-rootfs in the live-build/hooks/ubuntu-core dir14:46
rharperogra_: great; I'll look at that14:48
rharperthanks again14:48
ogra_np14:48
hurricanehrndzanyhow, has anyone else noticed spell checking does not work in libreoffice snap14:48
hurricanehrndzOpps sorry for the spam14:49
morphis_pitti: you already finished the work?14:54
pittimorphis_: yes; I built a xenial package, lcoal autopkgtests just succeeded, so I'll upload to the SRU queue and update the bug14:54
pittimorphis_: I included your path change14:54
morphis_pitti: awesome, does it include the mkwifi driver bind fix as well? if yes I can ask mvo to push that package directly to our ppa14:55
pitti   * Blacklist mwifiex_pcie from rebinds (work around LP: #1630285)14:55
mupBug #1630285: mwifiex_pcie crashes after several bind/unbind <kernel-da-key> <originate-from-1623583> <plano> <HWE Next:New> <linux (Ubuntu):Triaged> <https://launchpad.net/bugs/1630285>14:55
pittimorphis_: I suppose you meak that one14:55
pittimorphis_: yes, that landed upstream too (in 0.13/zesty), so it's included in the  backport14:56
pittimorphis_: https://launchpad.net/ubuntu/xenial/+queue?queue_state=1&queue_text=nplan14:59
mupPR snapd#2161 closed: interfaces/builtin: add dcdbas-control interface <Critical> <Created by tonyespy> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2161>14:59
mupPR snapd#2195 closed:  interfaces/builtin: add dcdbas-control interface <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2195>14:59
pittimorphis_: I think the "edge" (or whatever) snappy images are built including -proposed, so if that gets reviewed/accepted soon, you might not even need a PPA upload14:59
pittiapw: ^ if you have a minute, maybe you can review the nplan xenial SRU15:00
apwpitti, sure15:00
morphis_pitti: I've justed checked with niemeyer and mvo and we decided to leave it out of RC15:17
morphis_pitti: so no hurry15:17
pittimorphis_: apw just accepted it, anyway15:17
morphis_pitti: so it will be in xenial-updates in a bit?15:17
pittimorphis_: in a week (assuming it gets verified in time, so please report back to the bug); but as I said, I believe snappy images are built with -proposed, so the next image should pick it up15:18
morphis_aye15:18
slangasekmorphis_: leave it out of RC> but is this a requirement for GA?15:48
morphis_slangasek: yes15:49
slangasekok15:49
morphis_otherwise static IP configuration does not make sense inside console-conf15:49
morphis_as you can never reach the SSO service15:49
mupPR snapd#2196 opened: debian: run our udev rule before the snap udev rules <Critical> <Created by mvo5> <https://github.com/snapcore/snapd/pull/2196>15:59
mupBug #1635335 opened: main.go warning to stderr about syslog <Snappy:New> <https://launchpad.net/bugs/1635335>15:59
mupPR snapd#2196 closed: debian: run our udev rule before the snap udev rules <Critical> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2196>16:31
mupPR snapd#2197 opened: debian: ensure missing dirs for auto-import and partial <Created by mvo5> <https://github.com/snapcore/snapd/pull/2197>16:45
mupPR snapd#2198 opened: tests: only check pc model for the ubuntu-core-16-64 system <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2198>17:50
mupPR snapd#2197 closed: debian: ensure missing dirs for auto-import and partial <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2197>17:55
mwhudsonok so we18:30
mwhudsonok so we're not panicing to get the console-conf changes in right now now now?18:31
mupPR snapd#2199 opened: osutil: add chattr funcs <Created by chipaca> <https://github.com/snapcore/snapd/pull/2199>18:57
mwhudsonpitti: hm19:43
mwhudsoni got a netplan failure in testing with19:43
mwhudson2016-10-20 19:36:29,021 subiquitycore.utils:130 run_command returning: {'status': 1, 'err': "Error in network definition //etc/netplan/00-snapd-config.yaml line 7 column 17: address '8.8.8.8' is missing /prefixlength\n", 'output': ''}19:43
mwhudsonsurely you don't have to write the nameserver address as 8.8.8.8/3219:44
mwhudsoni wonder what went wrong19:44
slangasekmwhudson: maybe cyphermox is currently fixing this?  there was a mismatch between console-conf and nplan about which level the dns server should be declared at19:46
mwhudsonah ok19:46
cyphermoxerr, what?19:46
cyphermoxoh19:46
mwhudsonoh yes19:46
pittimwhudson: maybe you missed an identation?19:46
mwhudsonyeah19:46
cyphermoxmwhudson: that's because the nameservers are written in the wrong section19:46
pittimwhudson: the per-interface addresses: needs prefix lenghts; the nameservers: addresses doesn't19:46
mwhudsonyes i see it now19:46
cyphermoxmwhudson: fixed in already in my local brandh19:47
pittiok,19:47
mwhudsoncyphermox: +119:47
* mwhudson goes back to grinding email19:47
cyphermoxmwhudson: I'll be pushing this in a minute, and preparing to build it in our PPA, along with a new image -- let me know if you have other fixes to land along with it19:48
mwhudsoncyphermox: oh one thing19:48
mwhudsoncyphermox: remove_ipv4_networks needs to clear gateway4 on Networkdev19:49
cyphermoxok19:50
mwhudsoncyphermox: and, uh something needs to clear out the nameservers config when you enable dhcp too i guess19:50
mwhudsonnameservers/searchdomains19:50
cyphermoxmwhudson: here, pushed; please feel free to add your fixes now while I update the setup to use our PPA19:51
mwhudsoncyphermox: pushing my fixes20:00
mwhudsoncyphermox: i haven't tested in a kvm yet, just dry run20:00
cyphermoxok20:00
mwhudsonoh yeah, when i make an image locally i have to wait for cloud-init to time out20:00
mwhudsonwhich is very confusing20:00
mwhudsoncyphermox: tested in kvm now, seems to work \o/20:20
cyphermoxok, pushed your changes?20:22
cyphermoxI see you did20:24
cyphermoxok, spinning a new release for the PPA20:24
mwhudsoncyphermox: yay20:24
rharpermwhudson: you should be able to provide a seed so it won;t timeout looking for one (or disable cloud-init via cmdline or file in the image)20:24
mwhudsonrharper: ok20:25
mwhudsoni guess we do actually want it to run by default for the cloudy cases20:25
mupBug #1635413 opened: newgrp doesn't work on classic <Snappy:New> <https://launchpad.net/bugs/1635413>20:25
rharpermwhudson: yeah; currently one has to create a new gadget which includes a 'cloud.conf' file in the gadget to prevent cloud-init from being disabled by default; so your "hang" seems strange to me20:26
rharperassuming your testing UC 16 recent images (from ~ogra 's people page)20:26
mwhudsonrharper: i am making images myself20:26
rharpervia ubuntu-build ?20:27
mwhudsonubuntu-image20:27
rharpererr, yeah20:27
rharpersnap prepare image should be disabling it20:27
rharperunless your gadget has cloud.conf in it20:27
mwhudsonsnap versoin 2.16ubuntu320:27
rharperwhich the pc gadget doesn't20:27
mwhudsoni'm just using the standard 'pc' gadget20:27
rharpervery strange20:28
rharperfrom edge? or stable20:28
hurricanehrndzogra_: Thanks for the heads up20:39
mwhudsonrharper: edge20:40
mwhudsonrharper: i'm using my own model assertoin but i don't see how that matters20:41
rharpermwhudson: very strange20:42
rharperyou can inspect your image  (sudo kpartx -va <image>;  sudo mount /dev/mapper/loopNp3 /mnt;  find /mnt ) ; you should see /mnt/system-data/etc/cloud/cloud-init.disabled20:43
rharperwhich prevents cloud-init from running altogether;  if you see /etc/cloud/cloud.cfg; then the pc gadget you're using must have a 'cloud.conf' file in it20:43
rharperthat's my experience building images with my own models for testing system-user assertions with newer cloud-init to inject those via user-data testing20:43
mwhudsonmount: mount /dev/mapper/loop16p3 on /mnt failed: Structure needs cleaning20:54
mwhudsonwhat20:54
mwhudsonrharper: i don't really have anything in /mnt/system-data/ ?20:57
mwhudsonrharper: or do you mean after i've booted the image?20:57
mwhudsoni wonder if i should try ubuntu-image from the archive rather than snap20:58
rharpermwhudson: I'm using ubuntu-image from the beta channel21:00
mwhudsonubuntu-image          0.5+mvo8  15   canonical   devmode21:00
rharperit writes out .img file, which has 3 partitions , the 3 is the system-data/writable one; that includes the kernel, and core snaps21:00
rharperthat's old21:00
mwhudson$ snap refresh --channel beta ubuntu-image21:01
mwhudsonerror: cannot refresh "ubuntu-image": snap "ubuntu-image" has no updates available21:01
mwhudsonoh --devmode21:01
rharperubuntu-image  0.5+mvo13  20   canonical  devmode21:01
mwhudsonyeah ok21:01
mwhudsongetting 22 from edge now21:01
rharperand I'm running snapd from xenial-proposed21:01
rharper2.16, something, but I think you're there too21:01
rharperthe new ubuntu-image + snapd prepare-image should get you going with a nocloud-net seed by default (and it's disabled by default)21:02
mwhudsonrharper: looks happier indeed21:05
rharpercool21:05

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