/srv/irclogs.ubuntu.com/2017/02/22/#snappy.txt

=== rvr_ is now known as rvr
=== chihchun_afk is now known as chihchun
=== markusfluer1 is now known as markusfluer
=== chihchun is now known as chihchun_afk
=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
mupPR snapd#2884 closed: snapstate: limit the ubuntu-core transition attempts to 5 in total every 12h <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2884>07:05
_prasen_hi ogra07:07
mupBug #1631165 changed: no ability to move snap directory out of $HOME <Snappy:New> <https://launchpad.net/bugs/1631165>07:12
mupPR snapd#2900 opened: errtracker: include snapd version in err reports <Created by mvo5> <https://github.com/snapcore/snapd/pull/2900>07:56
mupPR snapd#2901 opened: tests: update listing test for latest core snap version update <Created by mvo5> <https://github.com/snapcore/snapd/pull/2901>08:06
mupPR snapd#2902 opened: tests: update listing test for latest core snap version update <Created by mvo5> <https://github.com/snapcore/snapd/pull/2902>08:09
mupPR snapd#2903 opened: many: rebased uname branch for 2.22 <Created by zyga> <https://github.com/snapcore/snapd/pull/2903>08:16
mupPR snapd#2904 opened: overlord/snapstate: tweak messages in {un,}link-snap <Created by zyga> <https://github.com/snapcore/snapd/pull/2904>08:19
mupPR snapd#2905 opened: errtracker: include kernel version in error reports <Created by mvo5> <https://github.com/snapcore/snapd/pull/2905>08:24
mupPR snapcraft#1154 closed: Expose parallel_build_count to scriptlets (LP: #1666271) <Created by oSoMoN> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1154>08:30
laralauerGood evening08:32
laralauerSInce I just got mircade running on QEMU/Ubuntu Core 16, is there already a working Unity8 snap for Mir?08:33
mupPR snapcraft#1126 closed: docs: build and push the API docs to github pages <Created by elopio> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1126>08:42
laralauersorry, disconnected08:43
ogra_laralauer, snap install unity8-session --devmode --edge08:44
ogra_then08:44
ogra_sudo unity8-session08:45
ogra_(you might need to connect some interfaces first though)08:45
ogra_hey _prasen_08:45
laralauerogra_: thanks!08:46
mupPR snapd#2906 opened: overlord/ifacestate: don't unconditionally retry stuff <Created by zyga> <https://github.com/snapcore/snapd/pull/2906>09:12
_prasen_if i get a random .yaml to build a snap09:33
_prasen_made up of different parts and different apps09:34
_prasen_how do i map the binaries of the apps to the parts?09:34
_prasen_I want to prime different parts one by one09:34
laralauerWhat are some of the most useful snaps?10:04
_prasen_what does dump plugin exactly do10:05
mupPR snapd#2902 closed: tests: update listing test for latest core snap version update <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2902>10:08
mupPR snapd#2907 opened: overlord/ifacestate: improve error messages <Created by zyga> <https://github.com/snapcore/snapd/pull/2907>10:26
mupPR snapd#2881 closed: cmd/snap-confine: don't crash if nvidia module is loaded but drivers are not available <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2881>10:31
mupPR snapd#2876 closed: snap: error when `snap list foo` is run and no snap is installed <Created by mvo5> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2876>10:34
=== chihchun is now known as chihchun_afk
mupPR snapd#2908 opened: snapstate: fix incorrect cut of the timestamps for the error reports <Created by mvo5> <https://github.com/snapcore/snapd/pull/2908>10:51
zyga_prasen_: dump just copies stuff as-is11:10
mupPR snapd#2901 closed: tests: update listing test for latest core snap version update <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2901>11:17
ogra_fgimenez, you should really put a warning in https://github.com/snapcore/snapd/blob/master/packaging/ubuntu-16.04/tests/README.md that adt-buildvm-ubuntu-cloud can take a century :P11:38
JablonskiHi11:40
mupPR snapd#2909 opened: overlord/snapstate: improve error reporting around core migration <Created by zyga> <https://github.com/snapcore/snapd/pull/2909>11:40
JablonskiHello?11:41
JablonskiHi11:43
fgimenezogra_, :D PRs welcome!11:46
ogra_sigh, and running it nearly killed my machine !11:50
* ogra_ hasn't seen a stuttering cursor on that HW ever ... 11:51
mupBug #1666873 opened: Snap icon is not visible when called from terminal but it does when called from dash <Snappy:New> <https://launchpad.net/bugs/1666873>11:53
_prasen_zyga : i want to understand how organise and filesets options for the dump plugin11:58
_prasen_work*11:58
zyga_prasen_: I think this is a question for kyrofa and sergiusens - it may be documented already but maybe that is not sufficient12:00
* zyga would recommend to sergiusens to open a wiki for snapcraft like what was done for snapd12:00
sabret00theIs there any plans to fix snappy so that the notification icons actually show up and don't cause headaches like when you're trying to update Telegram and can't because the notifcation icon won't let the app shut down?12:02
mupPR snapcraft#1156 closed: python plugin: use stage headers if applicable <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1156>12:06
zygasabret00the: yes but the issue is not simple (legacy protocols are hard to confine or fix)12:06
zygasabret00the: can you tell me more about the shutdown issue?12:07
zygasabret00the: there are reported issues for other problems but this feels like something new12:07
_prasen_zyga : ty12:08
sabret00thezyga: Sure. If you have an update to telegram and press restart, then telegram hangs. However if you disable the notification icon it updates fine.12:08
_prasen_ogra: hi?12:08
_prasen_resolved the proxy issue12:08
zygasabret00the: can you pastebin: dmesg | grep "DENIED"12:08
_prasen_: D12:08
zygasabret00the: and report this as a separate issue, I'm sure sergiusens will want to know about it12:08
ogra__prasen_, congrats !12:09
_prasen_zyga : tis documented but as you said nor nuff for a  nub12:09
_prasen_ogra : can you tell me summin about the organise and filesets options for the dump plugin12:09
zyga_prasen_: you just said this is documented, did you read that documentation?12:10
_prasen_https://snapcraft.io/docs/reference/plugins/dump12:10
_prasen_https://github.com/snapcore/snapcraft/blob/master/docs/your-first-snap.md12:11
_prasen_the git link is snap for a go webcam server12:11
_prasen_it uses the dump plugin12:11
zyga_prasen_: look at the common keywords: https://snapcraft.io/docs/reference/plugins/common12:11
zyga_prasen_: organize is documented there12:11
zyga_prasen_: as are filesets12:11
_prasen_and some comments are there12:12
_prasen_okay..ty!12:12
_prasen_will see this12:12
* zyga needs to reboot, brb12:12
_prasen_and I guess trying out will get me ahead12:12
_prasen_if i write a single .c file with just a printf and create a makefile for it12:13
_prasen_I made a .yaml for it12:13
laralauerogra_: I read that you made a Kodi snap for armhf, is there one for x86_64?12:13
_prasen_so what plugin do i need to use for this12:13
_prasen_because "." works fine for the source option12:13
_prasen_if i use the autotools plugin it requires an autoconf file12:14
laralauerogra_: Sorry, found it, https://code.launchpad.net/~ogra/+snap/kodi-mir-snapshot/+build/1738212:14
ogra_laralauer, thats far from being usable12:15
_prasen_ogra : hlp hlp hlp12:15
_prasen_!12:15
sabret00thezyga: I've done so https://github.com/sergiusens/telegram-snap/issues/612:15
laralauerogra_: It block for a while, shows the loading screen very briefly and then crashes because of "double free or corruption". It's a start12:28
ogra_laralauer, nope ... its broken and i dont intend to fix it atm ... it is a test package , if it would be intended for use i would have uploaded it to the store12:33
ogra_it is really not intended for anyone to be used12:34
ogra_(you wont make it run)12:34
laralauerogra_: Okay, thanks12:36
jdstrandogra_: sorry for the poort timing, looks like another usn is out for linux-generic12:37
jdstrandpoor*12:37
ogra_jdstrand, lol12:37
ogra_jdstrand, i dont see anything newer than -6412:38
ogra_(and i have that one for the bbb already)12:38
jdstrandhuh. I thought I remembered this was 63 yesterday12:39
ogra_and you pinged me last night about -6412:40
ogra_:)12:40
jdstrandogra_: oh, last night was actually meant to be about -63 for pc-kernel12:40
jdstrandhehe12:40
ogra_hah12:40
jdstrandcommunication for the win!12:40
ogra_yeah. pc-kernel is a bjf or apw think12:40
ogra_*thing12:40
ogra_they need to release them to stable12:40
* jdstrand nods12:41
ogra_(same for dragonboard ... just not for pi since that would break the installs out there)12:41
jdstrandogra_: looks like you interprested my question as another ping for bbb and conincidentally (and unknown to me at the time), 64 had snuck in12:41
jdstrandman, I can't type12:41
jdstrandinterpreted*12:41
ogra_weklcome to my worlsd :)12:41
jdstrandfunny :)12:42
jdstrandhehe12:42
jdstrandogra_: our team is going to chase down pc-kernel with the kernel team I think so I'll try not to ping you on that. thanks for the bbb updates! :)12:43
ogra_np12:43
mupPR snapd#2908 closed: snapstate: fix incorrect cut of the timestamps for the error reports <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2908>12:54
zygajdstrand: hey, we have some zesty failures on jailmode + classic confinement13:33
zygajdstrand: cannot map segment of libc.613:33
zygajdstrand: maybe the kernel has changed so apparmor semantics has changed again13:35
zygajdstrand: I'll tell you more in a sec13:36
zygajdstrand: [ 2929.841318] audit: type=1400 audit(1487770576.927:40): apparmor="DENIED" operation="file_mmap" profile="snap.python0.python0" name="/snap/core/1264/lib/x86_64-linux-gnu/libm-2.23.so" pid=5235 comm="python0" requested_mask="m" denied_mask="m" fsuid=1000 ouid=013:37
zygajdstrand: looks like exactly what we saw before13:37
zygajdstrand: I'll report this13:38
zygajdstrand: https://bugs.launchpad.net/snapd/+bug/166689713:42
mupBug #1666897: snaps with classic + jailmode confinement started to fail on zesty <snapd:Confirmed> <https://launchpad.net/bugs/1666897>13:42
nelskLooks like the copr snapcraft repo hasn't been updated to support Fedora 25, is there a technical barrier?13:43
zyganelsk: hey13:44
zyganelsk: not sure, kyrofa might know13:45
nelskzyga: Ah, I recognize your handle :)13:45
zyganelsk: if you ask about snapd then we have a 2.23 release pending (since Friday) but we're in emergency mode and we won't release it untill this is fixed13:45
zyganelsk: and 2.23 will (finally) go into F25 and 2613:45
nelskis there some kind of bug blocking release or you guys are just in a code freeze?13:46
nelskJust curious so I can follow along13:46
zyganelsk: for snapd or snapcraft (I don't know about snapcraft)13:47
zyganelsk: snapd is in emergency mode, we realized that 2.22.x that went out had a very nasty bug13:47
zyganelsk: and we're iterating, since Friday, with point releases that unbreak people in the field13:47
zyganelsk: 2.23 is frozen as the whole team is just busy on the fire13:47
nelskI'm sorry, I meant your snapcore* repo in copr. Looking for snapd, so that makes sense13:47
nelskGood to know, thank you.13:47
zyganelsk: 2.23 and 2.24 will just go out delayed13:47
zyganelsk: probably 2.24 will have all the fedora packaging and policy merged13:48
zyganelsk: but the code is fine as of last week, we just were waiting for the tag to flow13:48
zygajust bad luck13:48
zygawhen we release the "candidate" release goes to "stable"13:48
zygaand master "edge" goes to "candidate"13:48
zygaand we pushed the candidate to stable and started to see things explode13:49
zygaso we stopped13:49
zygathe candidate release also goes for distribution packaging13:49
zygalike $ubutnu_codename-proposed and what not13:49
zyga(sid, etc)13:49
zygajust really bad luck this week13:49
nelsksounds good, will look forward to the release13:49
nelskJust popped in to see if there was anything holding up the Fedora 25 repo and if I could help with that13:50
zyganelsk: if you want to see what's coming have a look at the snapd repo on fedora git, I think neal has commited everything there already13:50
zyganelsk: you can help for sure13:50
zyganelsk: we'll need to improve the selinux policy13:50
zyganelsk: and just polish bits as I'm sure we'll find out things are not working in some odd edge cases13:50
nelskah yes, good old selinux13:50
zyganelsk: the test suite doesn't run on fedora yet, but that's easy to fix13:50
zyganelsk: fedora builds use /var/lib/snapd/snap as a location for all the mounted packages13:51
zyganelsk: and the test suite has hard-coded /snap directory13:51
nelskare there GH issues floating around against these?13:51
zyganelsk: there will be some boring branches to fix that13:51
zyganelsk: we switched to laucnhpad for that launchpad.net/snapd13:51
zyganelsk: there's no issue filed for the unit tests I think13:51
nelskcool, will subscribe over there13:51
zyganelsk: if you want to help now: fork and clone master of github.com/snapcore/snapd13:51
zyganelsk: and I can work with you on enabling the test suite13:52
zyganelsk: (the C test suite passes, the Go one will fail on /snap)13:52
zyganelsk: I had a look at this a few months ago but I got a gigantic branch that was very ugly13:52
zyganelsk: so after talking to some people on the snapd team we decdied to use a different approach13:52
nelskwill fork and ping you later on, thanks for your quick help13:52
zyganelsk: and just mock /snap for testing13:52
zyganelsk: thanks! great to have you here, stay in touch please13:53
nelskwill do!13:53
zyganelsk: for the mocking we'd need to add a function to dirs/dirs.go13:53
zyganelsk: and just use it when we test for this in the unit tests13:53
zyganelsk: should be not that big of a patch13:53
nelskI'd be happy to take that one13:53
zyganelsk: and cna be done on a per-package basis so some stuff turns green while other is not changed yet13:53
zyganelsk: and after the 2.23 release I'd like to enable snapd CI to work with fedora13:54
zygaI can explan how that works when you want to know13:54
nelskthat would be great. have to run off to some meetings but I will ping you later on13:54
zygagreat, see you :-)13:56
mupPR snapcraft#1158 opened: packaging: snapcraft as a snap <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1158>14:03
mupPR snapd#2906 closed: overlord/ifacestate: don't unconditionally retry stuff <Created by zyga> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2906>14:06
mupPR snapd#2909 closed: overlord/snapstate: improve error reporting around core migration <Created by zyga> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2909>14:09
mupPR snapd#2825 closed: osutil: add package for reading Build-ID <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2825>14:21
mupPR snapd#2910 opened: osutil: add package for reading Build-ID <Created by mvo5> <https://github.com/snapcore/snapd/pull/2910>14:23
mupPR snapd#2900 closed: errtracker: include snapd version in err reports <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2900>14:25
mupPR snapd#2903 closed: many: rebased uname branch for 2.22 <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2903>14:34
mupPR snapd#2888 closed: many: display kernel version in 'snap version' <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2888>14:50
mupPR snapd#2898 closed: many: merge 2.22.5 back to master <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2898>14:51
jdstranddavidcalle: hi! fyi, I got some feedback on the whitepaper and it is now at rc7. You should have an email in your inbox14:52
davidcalleGreat, thanks jdstrand14:53
mupPR snapcraft#1159 opened: docs: use correct target to generate docs <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/1159>15:00
baggachipzI'm sure this gets asked all the time, but I'm having trouble finding info. What's the best way to get snapd on Debian Jessie? If I simply install snap (and not snapd), installing snaps throws errors.15:03
mupPR snapd#2911 opened: release: return "unknown" if uname fails <Created by zyga> <https://github.com/snapcore/snapd/pull/2911>15:03
jdstrandzyga: I'm not sure 'High' is the right priority for that (I mean, --classic with --jailmode is a bit of a corner case, no?), but I'll respond in the bug15:03
mupPR snapd#2905 closed: errtracker: include kernel version in error reports <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2905>15:07
mupPR snapd#2911 closed: release: return "unknown" if uname fails <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/2911>15:12
jdstrandzyga: fyi, https://bugs.launchpad.net/snapd/+bug/1666897/comments/115:21
mupBug #1666897: snaps with classic + jailmode confinement started to fail on zesty <snapd:Confirmed> <https://launchpad.net/bugs/1666897>15:21
jdstrandzyga: that tells how to fix it15:22
jdstrandjjohansen: can you look at https://bugs.launchpad.net/snapd/+bug/1666897/comments/1 ? there is a difference of behavior concerning 'm' mediation on 4.10 and 4.415:23
mupBug #1666897: snaps with classic + jailmode confinement started to fail on zesty <snapd:Confirmed> <https://launchpad.net/bugs/1666897>15:23
jdstrandjjohansen: I think that 4.10 may be working correctly...15:24
mupPR snapd#2912 opened: errtracker: include the build-id of /usr/bin/sanp <Created by mvo5> <https://github.com/snapcore/snapd/pull/2912>15:30
lazyPowerHey snappy crew, simple question. Are you using Travis-CI in any of your build toolchain? We're looking into using snaps in travis-ci and have been blocked on some apparmor config we haven't been able to work-around. Curious if anyone else has run into this, and if we haven't, is there a list of apparmor ignore/allow that we can send over to the travis folks and get this unblocked? https://github.com/travis-ci/travis-ci/issues/731815:42
lazyPowercc cory_fu ^15:42
cory_fulazyPower: https://github.com/travis-ci/travis-ci/issues/5821 is also somewhat relevant15:43
cory_fulazyPower: elopio had mentioned previously the possibility of using lxd to get a xenial env, but I'm not sure if that would work under Docker that Travis uses?15:46
mupBug #1666978 opened: Security setup may fail with ErrNoState if repository and snapstate get out of sync <Snappy:New> <https://launchpad.net/bugs/1666978>16:10
mupPR snapd#2913 opened: overlord/ifacestate: loudly ignore ErrNoState where we cannot handle it <Created by zyga> <https://github.com/snapcore/snapd/pull/2913>16:19
mupPR snapd#2914 opened: snapstate: retry ubuntu-core -> core transition every 6h <Created by mvo5> <https://github.com/snapcore/snapd/pull/2914>16:29
kyrofanelsk, zyga_ I don't know about snapcraft on fedora either. It might be community-driven16:43
Pharaoh_AtemO.o16:47
Pharaoh_Atemwait, what?16:47
Pharaoh_Atemsnapcraft on Fedora is blocked by two things:16:47
Pharaoh_Atem1. https://bugs.launchpad.net/snapcraft/+bug/160225816:47
mupBug #1602258: Support other distributions as sources (Fedora, Mageia, openSUSE, Debian) instead of Ubuntu <centos> <debian> <fedora> <mageia> <opensuse> <rfe> <rpm> <Snapcraft:Confirmed> <https://launchpad.net/bugs/1602258>16:47
Pharaoh_Atem2. snapd needs a concept of base snaps16:48
Pharaoh_Atemfor different bases16:48
Pharaoh_Atemnelsk, zyga_, kyrofa: ^16:48
kyrofaPharaoh_Atem, indeed. nelsk asked about a snapcraft copr though, and why it wasn't updated16:49
Pharaoh_Atemwe don't have one16:49
Pharaoh_Atemsnapcraft *does not run* on anything but Ubuntu16:49
Pharaoh_Atemit can't16:49
nelskPharaoh_Atem, kyrofa: I mispoke and actually mean zyga/snapcore16:49
nelskmeant*16:50
Pharaoh_Atemah16:50
Pharaoh_Atemso you'd like snapd16:50
kyrofaPharaoh_Atem, I'm well aware :)16:50
nelskPharaoh_Atem: yep, that's what I was looking for16:50
kyrofanelsk, ah ha! That makes more sense16:50
Pharaoh_Atemindeed16:50
Pharaoh_Atemit's been a while since someone asked about snapcraft on Fedora, so I was confused :P16:50
kyrofaPharaoh_Atem, me too!16:50
kyrofaPharaoh_Atem, I actually assumed it was you messing with stuff16:50
nelskhah, sorry for the confusion. Relatively new to the project so the significance of that blunder was over my head :P16:51
Pharaoh_Atemno one else knows what the project is called, so that's fine :)16:51
nelskhahaha16:51
kyrofanelsk, yeah, you're not alone ;)16:51
Pharaoh_AtemI call the whole thing snappy, because there's not something much better16:51
Pharaoh_Atemsnapcraft makes snaps, that are consumed by snapd16:51
kyrofanelsk, but, just to clarify: snapd is the daemon behind actually using/running snaps16:52
kyrofanelsk, snapcraft is the tool that actually creates snaps16:52
nelskdoes "snapcore" encompass anything more than snapd?16:52
Pharaoh_Atemit's the name of the GitHub organization16:52
kyrofanelsk, on github? Snapcraft as well16:52
kyrofaAs well as our official gadget snaps, I think16:53
nelskaha! okay that makes sense16:53
Pharaoh_Atemsnapcore was created after it was agreed to move everything out of the Ubuntu organization16:53
Pharaoh_Atemso snapd is actually nearly ready to run OOTB16:53
Pharaoh_Atemtwo things (again!):16:53
kyrofaTwo is a terrible number16:54
Pharaoh_Atem1. snapd selinux policy needs to be merged: https://github.com/snapcore/snapd/pull/287816:54
mupPR snapd#2878: Merge SELinux policy module <Created by Conan-Kudo> <https://github.com/snapcore/snapd/pull/2878>16:54
Pharaoh_Atem2. snapd packaging needs to be merged (no PR yet, since it's blocked on that being merged)16:54
Pharaoh_Atemthen snapd can be released and zyga and I can push everything into CentOS and Fedora16:54
Pharaoh_AtemFedora first, and then we'll work out CentOS16:55
kyrofaPharaoh_Atem, is SELinux integration looking good?16:55
Pharaoh_Atemkyrofa: it's actually not in great shape16:55
Pharaoh_Atembut the module basically throws snapd into permissive domain16:55
Pharaoh_Atemwhich keeps everything from breaking16:55
kyrofaOh, not ideal16:55
mupPR snapd#2915 opened: errtracker: include the number of ubuntu-core -> core retries <Created by mvo5> <https://github.com/snapcore/snapd/pull/2915>16:55
Pharaoh_Atemit also allows us to iterate on actually making snapd confined properly16:55
kyrofaRather than one enormous PR, good call16:56
Pharaoh_Atemand by merging the policy into the snapd repo, I'm hoping other people will help me keep up with the churn in snapd16:56
Pharaoh_AtemI'm constantly playing catch-up, which is really, really, really draining16:56
zyga_o/16:56
kyrofaPharaoh_Atem, I hear you16:56
Pharaoh_Atemit also puts more impetus on hopefully a SELinux developer getting hired to do formal SELinux integration into snapd16:57
Pharaoh_Atembecause frankly, my skills are being pushed to their limits with this16:57
Pharaoh_AtemI'm doing the best I can, but keeping up with all of the new things snapd does in every release AND adjusting the policy so that snapd itself is properly confined AND making it so snap-confine would work is impossible fo rme16:58
Pharaoh_Atem*me16:58
zyga_Pharaoh_Atem: once we have CI we can make this better16:58
zyga_Pharaoh_Atem: but we need to release first for CI16:58
Pharaoh_Atemthat's what everyone says...16:58
=== zyga_ is now known as zyga
Pharaoh_AtemCI isn't magic16:58
zygawell, that's because it is true :)16:58
zygaPharaoh_Atem: CI means we don't regress16:59
Pharaoh_Atemwell, not necessarily, as you could just ignore them :)16:59
zygaPharaoh_Atem: and when we CI on Fedora we know we regress when we break something w16:59
zygawe don't ignore CI :)16:59
* kyrofa has to drive back home. Be back in about 5 hours16:59
zygathat's like CI16:59
Pharaoh_AtemI hope not16:59
zygaContinuous Ignorance16:59
zyga:D16:59
Pharaoh_Atem:D16:59
Pharaoh_AtemI see Continuous Ignorance everywhere :)16:59
Pharaoh_Atemit's so easy, after all :P17:00
zygabliss ;-)17:00
zygaPharaoh_Atem: can you try to package master17:00
zygaPharaoh_Atem: that will become 2.23 soon (or .24)17:00
mupPR snapd#2916 opened: osutil: trivial tweaks to build ID support <Created by niemeyer> <https://github.com/snapcore/snapd/pull/2916>17:02
Pharaoh_Atemzyga: I can try17:13
zygaPharaoh_Atem: I want to have a good nights sleep and wake up with the fire put out so that we can return to normal work17:24
Pharaoh_Atemzyga: snap-confine fails to build17:27
Pharaoh_Atemzyga: https://paste.fedoraproject.org/paste/EzIdE98z5AUQyKFnbrBH4F5M1UNdIGYhyRLivL9gydE=17:28
zygaPharaoh_Atem: that file must be built with -static17:31
zygaPharaoh_Atem: and cannot take relocation AFAIK17:32
zygaPharaoh_Atem: we had the same issue in ubutu17:32
zygaPharaoh_Atem: look at the hack in configure.ac17:32
zygaPharaoh_Atem: er in Makefile.am17:32
zygaPharaoh_Atem: it's also uselss so if you cannot fix it just rip it out17:32
zygaPharaoh_Atem: or do a trivial patch that disables the shutdown helper17:32
Pharaoh_Atemalso, the merged-usr switch doesn't work?17:32
zygaoh? what do you mean?17:33
Pharaoh_Atemlook at the log17:33
Pharaoh_Atemit's unrecognized17:33
zygaPharaoh_Atem: hmm17:34
zygaenable-merged-usr?17:34
zygamaybe simple bug that I didn't see because it doesn't stop17:34
Pharaoh_Atemautotools doesn't die on unrecognized switches17:34
Pharaoh_Atemit's --enable-merged-usr now?17:34
zygachecking17:35
zygaPharaoh_Atem: it was all along17:35
zygaPharaoh_Atem: sorry, slipped under my radar17:35
mupPR snapd#2916 closed: osutil: trivial tweaks to build ID support <Created by niemeyer> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2916>17:36
Pharaoh_Atemalright, now the C bits are built17:42
mupPR snapd#2808 closed: interfaces: use mount.Entry instead of string snippets <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2808>17:46
Pharaoh_Atemzyga: you've got godeps to package :)17:48
Pharaoh_Atemzyga: https://paste.fedoraproject.org/paste/cnAi~vkNe-YMvtLyCYRdql5M1UNdIGYhyRLivL9gydE=17:49
zygaPharaoh_Atem: gah what an annoying URL with trailing =17:55
zygaPharaoh_Atem: can we vendor everything in snapd if we annnotate?17:55
Pharaoh_Atemyes, but it's arguably harder to annotate17:59
Pharaoh_Atemas it has to be versioned Provides17:59
zygaPharaoh_Atem: mm?18:00
zygaPharaoh_Atem: provides how?18:00
zygaPharaoh_Atem: I mean I know provides but I don't know what you mean18:00
Pharaoh_Atemwell, it'd have to be something like this...18:00
Pharaoh_AtemProvides: golang(github.com/foo/bar) = <ver> (versioned, with githash)18:01
zygahmm18:02
zygaPharaoh_Atem: that's much better than maintaining ~30 packages18:02
Pharaoh_Atemand every time the dependency is updated, added, removed, these have to be updated18:02
zygaPharaoh_Atem: especially we could easily derive this data from vendor.json18:02
zygaPharaoh_Atem: it contains exactly that I think18:02
Pharaoh_Atemplus licensing data must be packaged with it too18:03
zygaPharaoh_Atem: this is more important18:03
zygaPharaoh_Atem: what do we need to package ? each license file?18:03
zygaPharaoh_Atem: do we need it with snapd or the source package?18:03
Pharaoh_Atemfrom each source package18:04
Pharaoh_Atembundled stuff needs their licensing preserved too18:04
zygaPharaoh_Atem: where do we need to put the source files?18:04
zygaPharaoh_Atem: that's a curious thing18:04
zygaPharaoh_Atem: if we didn't bundle18:04
zygaPharaoh_Atem: we'd ship the same binary with one copyright file18:04
zygaPharaoh_Atem: if we bundle we ship the same binary with... lots of files18:04
Pharaoh_Atemthe reason is because we have the sources somewhere else18:04
zygaPharaoh_Atem: it's not like .c wherere the .so files pull in the license18:05
zygaPharaoh_Atem: wait, we still do18:05
zygaPharaoh_Atem: we can generate a tarball that has the sources18:05
zygaPharaoh_Atem: (in fact we do already)18:05
Pharaoh_Atemdo you guys have the copyright file with all the dependencies licensing data?18:06
zygaPharaoh_Atem: we have a repo that automatically commits the whole dependency into vendor18:06
zygaPharaoh_Atem: so all the copyrights and everything18:06
Pharaoh_Atemzyga: I do not see it18:07
Pharaoh_Atemhttps://github.com/snapcore/snapd-plus-vendor/blob/master/packaging/ubuntu-16.04/copyright18:08
Pharaoh_Atemif you're really shipping vendored tarballs, you're doing it wrong18:08
Pharaoh_Atemzyga: the thing is, an acceptable substitute would have been a debian/copyright file that has all the declarations18:09
Pharaoh_Atembut they don't18:09
zygaPharaoh_Atem: no, not that18:10
zygaPharaoh_Atem: we don't keep it in one place automatically18:10
zygaPharaoh_Atem: I see what you are saying now, that will have to be done18:10
zygaPharaoh_Atem: I'll get my hands on this, we should have done this during the vendoring18:11
Pharaoh_Atemyeah18:11
Pharaoh_Atemsince it doesn't exist, we cannot vendor yet18:11
zygaI think I will do both18:12
Pharaoh_Atemzyga: incidentally, a version of the copyright file that doesn't assume that /usr/share/common-licenses/* exists would be extremely helpful18:12
zygaPharaoh_Atem: I'll fix debian copyright because that's an omission18:12
Pharaoh_Atembecause as you're aware, that's Debian only thing18:12
zygaPharaoh_Atem: and I'll package deps separately in case this is a policy issue of any kind18:12
Pharaoh_Atemyeah18:13
Pharaoh_Atemwell, fortunately, as a maint/comaint for those deps, it's not problematic to update as needed18:13
Pharaoh_Atemkeep in mind it's not like the Debian world where updating deps is difficult politically due to bureaucratic processes just making it difficult18:14
zygaPharaoh_Atem: I'll try to get the build deps packaged tonight, maybe at lest two18:14
zygaPharaoh_Atem: yes :-)18:14
zygaPharaoh_Atem: will you be around in +3 hours if I poke you for a quick review18:14
Pharaoh_Atemyes18:14
zygaPharaoh_Atem: looking at the list.. just top-to-bottom I guess18:15
zygaPharaoh_Atem: with some luck maybe suse can reuse them18:16
zygaPharaoh_Atem: but I don't have high hopes18:16
* Pharaoh_Atem sighs18:16
zygaPharaoh_Atem: btw, I ran into rpkg, is that lie fedpkg for rhel?18:16
Pharaoh_Atempyrpkg is the base module18:16
Pharaoh_Atemfedpkg, centpkg, and rhpkg are frontends for rpkg18:16
zygaah, I see18:17
zygacool :)18:17
zygaPharaoh_Atem: thanks for letting me know, please commit your changes back18:18
zygaPharaoh_Atem: I'm going to be off next week18:19
zygaPharaoh_Atem: maybe I can use that time for something fun :)18:19
* zyga needs some sleep 18:22
zygaat least an hour18:22
Pharaoh_Atemhmm18:29
Pharaoh_AtemI wonder if it might be easier to regenerate the spec using gofed18:29
mupPR snapd#2904 closed: overlord/snapstate: tweak messages in {un,}link-snap <Created by zyga> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2904>18:45
mupPR snapd#2910 closed: osutil: add package for reading Build-ID <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2910>18:46
mupPR snapd#2907 closed: overlord/ifacestate: improve error messages <Created by zyga> <Closed by niemeyer> <https://github.com/snapcore/snapd/pull/2907>18:48
mupPR snapd#2914 closed: snapstate: retry ubuntu-core -> core transition every 6h <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2914>19:04
mupPR snapd#2915 closed: errtracker: include the number of ubuntu-core -> core retries <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2915>19:09
bdmurrayIs there any documentation on this Restart option?19:16
bdmurrayFeb 22 19:11:25 localhost systemd[1]: snap.apport.enable.service: Service has Restart= setting other than no, which isn't allowed for Type=oneshot services. Refusin19:16
mupPR snapd#2912 closed: errtracker: include the build-id of /usr/bin/snap <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2912>19:31
jjohansenjdstrand: okay bug updated19:32
jdstrandjjohansen: thanks19:41
mupPR snapd#2917 opened: osutil: remove duplicate build_id from other branch <Created by zyga> <https://github.com/snapcore/snapd/pull/2917>20:17
mupPR snapd#2918 opened: revert: osutil: add package for reading Build-ID <Created by niemeyer> <https://github.com/snapcore/snapd/pull/2918>20:20
mupPR snapd#2918 closed: revert: osutil: add package for reading Build-ID <Created by niemeyer> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2918>20:21
mupPR snapd#2913 closed: overlord/ifacestate: loudly ignore ErrNoState where we cannot handle it <Created by zyga> <Closed by zyga> <https://github.com/snapcore/snapd/pull/2913>20:28
mupPR snapd#2919 opened: overlord/ifacestate: don't fail if affected snap is gone <Created by zyga> <https://github.com/snapcore/snapd/pull/2919>20:29
mupPR snapcraft#1159 closed: docs: use correct target to generate docs <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/1159>20:34
zclarktest20:46
mupPR snapd#2920 opened: wrappers/services: RemainAfterExit=yes for oneshot daemons w/ stop cmds <Created by ssweeny> <https://github.com/snapcore/snapd/pull/2920>20:48
jdstrandcprov: hey. I'm trying to see the plugs and slots for all the snaps in the store. I'm using curl -s https://search.apps.ubuntu.com/api/v1/snaps/search?fields=name,plugs,slots | jq -M '.', but the output is incomplete (eg, ufw and snappy-debug aren't in there). what am I doing wrong?22:00
lazyPowerhas snapcraft grown support for detecting snapped lxd?22:00
lazyPowersorry i asked before i looked and found https://bugs.launchpad.net/snapcraft/+bug/166673522:01
mupBug #1666735: snapcraft cleanbuild does not work with lxd installed via snap <Snapcraft:New> <https://launchpad.net/bugs/1666735>22:01
jdstrandnessita: hey, perhaps you can hel with my question? ^22:03
bdmurrayAh, I found bug 1613971 and commented on it.22:08
mupBug #1613971: using oneshot results in failed service <Snapcraft:Invalid> <Snappy:New> <https://launchpad.net/bugs/1613971>22:08
pedronisjdstrand: the output is paginated, you need a script (but maybe I'm misunderstanding the question)22:10
cprovjdstrand: yup, there are 6 pages of 100 results each. Let me find a script you can use22:12
jdstrandpedronis, cprov: ah, thanks22:16
jdstrandI didn't know if there as an extra something to add to the url to give me unpaginated22:16
jdstrandnessita: nm, cprov is helping me22:17
ssweenybdmurray: as luck would have it https://github.com/snapcore/snapd/pull/2920 should take care of that :)22:17
mupPR snapd#2920: wrappers/services: RemainAfterExit=yes for oneshot daemons w/ stop cmds <Created by ssweeny> <https://github.com/snapcore/snapd/pull/2920>22:17
cprovjdstrand: something like this -> https://pastebin.canonical.com/180409/22:17
jdstrandssweeny: oh, nice! :)22:18
jdstrandcprov: let me try22:18
jdstrandcprov: yes, that is perfect. thanks!22:20
cprovjdstrand: anytime22:21
jdstrandcprov: and aiui, this is only for stable and there isn't a way to search via search.apps.ubuntu.com for other channels, right?22:22
jdstrandssweeny: hey, do you know of a snap that slots 'upower-observe'?22:23
cprovjdstrand: yup, stable (strict+classic)22:24
* jdstrand nods22:24
jdstrandthanks again22:24
cprovnp22:24
ssweenyjdstrand: can't think of one22:25
jdstrandssweeny: ok, thanks. the slot side was implemented but I can't find a snap that uses it22:27
jdstrandslot side of the interface22:27
jdstrandI'll ask mor phis tomorrow22:27
ssweenyright. I've seen one or two plug side uses of it22:27
mupPR snapd#2919 closed: overlord/ifacestate: don't fail if affected snap is gone <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2919>22:31
mupPR snapcraft#1160 opened: history: rename to 'revisions' with alias 'list-revisions' <Created by josepht> <https://github.com/snapcore/snapcraft/pull/1160>22:43
mupPR snapd#2921 opened: releasing package snapd version 2.22.6 <Created by zyga> <https://github.com/snapcore/snapd/pull/2921>22:45

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