/srv/irclogs.ubuntu.com/2017/01/16/#snappy.txt

lifelessmwhudson: hey so, where should I file bugs about the image http://releases.ubuntu.com/ubuntu-core/16/ubuntu-core-16-amd64.img.xz00:44
mwhudsonlifeless: launchpad.net/snappy unlikely to be very wrong00:50
mwhudsonlifeless: although it depends a bit what you are complaining about i guess00:50
lifelessmwhudson: that image fails to boot on hyper-v ; snappy is supported on Azure I believe, so I'm concluding that its not Snappy per se thats buggy, but the configuration of that image00:51
lifelessit fails in local-premount trying to read /prov/device-tree/model00:52
lifelessultimately leading to no FS being mounted with LABEL=writable, and then drops to initramfs00:52
mwhudsonlifeless: can't think of a better place than bugs.launchpad.net/snappy so i'd file there and let people add bug tasks as appropriate i guess00:53
lifelesscheers00:53
mwhudsoni definitely don't know where work on the initramfs magic is tracked :)00:54
lifelessit may be a missing device driver etc00:55
lifelessmwhudson: so https://bugs.launchpad.net/snappy/+bug/163987800:56
mupBug #1639878: pc-kernel.snap missing drivers necessary for Hyper-v <cpc> <Snappy:Fix Committed by ogra> <https://launchpad.net/bugs/1639878>00:56
lifelesslooks like I've been there before :) - paging this back in00:56
mwhudsonlifeless: haha00:57
mwhudsonthere must be newer images you can try somewhere00:58
lifelessyeah, I'd love that. bbiab00:58
mwhudsonthere's http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ubuntu-core-16-amd64.img.xz at least00:59
mwhudsonprobably built from edge rather than stable00:59
lifelessmwhudson: thanks02:31
lifelessmwhudson: that boots02:59
lifeless\o/02:59
lifelessmwhudson: one more question; whats the recommended webserver for snappy devices? I can't see nginx or apache2 from googling; I can see a third party index of apps, but nothing run by Canonical? <out of depth>03:28
mupBug #1639603 changed: LibreOffice Snap: unable to access documents outside of my home directory. <snapd-interface> <Snappy:Expired> <https://launchpad.net/bugs/1639603>04:17
lpottercd04:39
liuxg how can I install a debian package from non-ubuntu archive?06:22
liuxgI want to package azure-iot-sdk-c-dev into my snap, but it is from ppa:aziotsdklinux/ppa-azureiot. Can I just find its debian package?06:26
Joe_Dongwhat's the new ubuntu-image name?06:31
Joe_Dongsudo snap install --stable --devmode ubuntu-image06:31
Joe_Dongerror: cannot install "ubuntu-image": snap not found06:31
mupPR snapd#2628 closed: many: (mis)feature/no more snapd.socket <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/2628>06:57
mupPR snapd#2633 opened: docs: simplify HACKING.md that snapd itself supports setting up the sockets <Created by mvo5> <https://github.com/snapcore/snapd/pull/2633>07:03
=== chihchun_afk is now known as chihchun
zygagood morning07:42
mupPR snapd#2634 opened: tests: improve debug output when reexec is used  <Created by mvo5> <https://github.com/snapcore/snapd/pull/2634>07:50
mupPR snapd#2635 opened: SNAPD_DEBUG is a boolean (we use GetenvBool() for it) <Created by mvo5> <https://github.com/snapcore/snapd/pull/2635>08:17
mupPR snapd#2623 closed: tests: add test ensuring manual pages are shipped <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2623>09:53
=== hikiko_ is now known as hikiko
mupPR snapd#2230 closed: Add an interface that allows clients to use media-hub over dbus <Decaying> <Created by jhodapp> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/2230>10:38
benccany news about this feature?10:39
bencchttps://bugs.launchpad.net/snappy/+bug/158477910:39
mupBug #1584779: Upgrade a running snap without restarting it <Snappy:Triaged> <https://launchpad.net/bugs/1584779>10:39
benccit says triaged but still unassigned10:40
=== chihchun is now known as chihchun_afk
=== hikiko is now known as hikiko|ln
=== hikiko|ln is now known as hikiko
zygajjohansen: I tested the kernel you gave me12:31
zygajjohansen: the error doesn't go away yet, I'll share the data I collected but I would appreciate hints on what to collect12:32
mupPR snapd#2636 opened: tests: add "quiet" wrapper function that only prints output on failure <Created by chipaca> <https://github.com/snapcore/snapd/pull/2636>12:34
popeyI'm using classic with a snap, and when i try, it fails:- $ sudo snap try --classic prime/    leads to:- - Mount snap "demo" (unset) (snap "demo" requires consent to use classic confinement)13:02
popeywhat have I missed?13:03
Chipacapopey, does try work with classic?13:04
popeyI don't know :)13:05
popeythe help implies it does13:05
mupPR snapd#2637 opened: tests: increase retries for service up <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2637>13:05
popey"snap try --help" suggests --devmode, --jailmode and --classic are valid options13:05
Chipacapopey, yeah. Sorry.13:05
Chipacawe're not passing that to snapd13:06
popeyshall i open a bug?13:06
Chipacapopey, you can use curl to poke the rest api directly for this13:06
Chipacapopey, please13:06
popeyok13:06
popeyChipaca: bug 165682013:08
mupBug #1656820: snap try with classic confinement doesn't work <Snappy:New> <https://launchpad.net/bugs/1656820>13:08
Chipacata13:08
mupBug #1656820 opened: snap try with classic confinement doesn't work <Snappy:New> <https://launchpad.net/bugs/1656820>13:09
popeyheheh sorry mup :)13:10
popeyis cleanbuild not compatible with classic confinement?13:14
popey"classic confinement requires the core_dynamic_linker to be set13:14
popey^ I get that when I do "snapcraft cleanbuild"13:15
ogra_popey, with core or with ubuntu-core installed ?13:16
popeycore13:16
ogra_afaik it only works with core atm13:16
Chipacathere's a bug about that already13:16
Chipaca1 sec13:16
ogra_weird13:16
popeycore          16.04.1          714  canonical      -13:16
Chipacaah not a bug13:16
Chipacasnapcraft mailing list "Classic confinement and core_dynamic_linker"13:17
Chipacabut also bug 165094613:17
mupBug #1650946: unhelpful error when building a classic snap: classic confinement requires the core_dynamic_linker to be set <launchpad-buildd:Triaged> <Snapcraft:Fix Committed by sergiusens> <https://launchpad.net/bugs/1650946>13:17
popeythanks13:18
simosxI am trying to build a snap with snapcraft on 16.04.1 for peek (https://github.com/phw/peek), using "classic" confinement. I get linking errors refering to libmircommon:13:20
simosx[100%] Linking C executable peek13:20
simosx/usr/lib/x86_64-linux-gnu/libmircommon.so.6: undefined reference to `typeinfo for std::thread::_State@GLIBCXX_3.4.22'13:20
simosx(I am building in an LXD container).13:20
simosxIf I build the snap on my Ubuntu 16.04.1 (not in LXD container), it builds successfully.13:22
popeyyou using "snapcraft cleanbuild" or just a vanilla lxd setup of your own?13:23
popeyis the container up to date?13:24
simosxI am using a vanilla LXD setup of my own.13:24
simosxI am trying out "cleanbuild". If it works, I am OK with that.13:25
simosxI got an error with "cleanbuild". It refers to "core_dynamic_linker", which might be helpful with my vanilla LXD setup as well:13:32
simosxPreparing to pull peek13:32
simosxclassic confinement requires the core_dynamic_linker to be set13:32
simosxStopping snapcraft-namely-hot-cow13:32
simosxCommand '['lxc', 'exec', 'snapcraft-namely-hot-cow', '--', 'snapcraft', 'snap', '--output', 'peek_latest_amd64.snap']' returned non-zero exit status 113:32
simosxDejavu, it was the thing you were discussion ten minutes earlier... :-)13:33
Chipacasimosx, the bug is marked fix-committed; if you're blocked, maybe try snapcraft from git?13:35
simosxChipaca, I'll try out snapcraft from git.13:37
popey.oO( Maybe we should have a snap of snapcraft which has the latest crack du-jour )13:43
ogra_i thought we do (at least in edge) now13:44
Chipacapopey, snap info snapcraft13:44
popeyChipaca: simosx using snapcraft from git will only work if you put that inside lxd, it won't fix the problem with cleanbuild13:44
popeyooh13:45
popeysummary:   "Single-line elevator pitch for your amazing snap"13:45
Chipacadunno if it's kept up to date though13:45
popeyahem13:45
Chipacakyrofa, ?13:46
iceyany idea when snapcraft 2.25 will be cut?13:49
popeyI'd imagine soon as it's in xenial proposed right now13:57
popeybug 165629113:57
mupBug #1656291: [SRU] New stable micro release 2.25 <verification-done> <snapcraft (Ubuntu):In Progress> <snapcraft (Ubuntu Xenial):Fix Committed> <snapcraft (Ubuntu Yakkety):Fix Committed> <snapcraft (Ubuntu Zesty):In Progress> <https://launchpad.net/bugs/1656291>13:57
davmor2popey: elevator pitch is that a snap that just plays muzac at you13:58
mupPR snapd#2638 opened: tests: change TRUST_TEST_KEYS to be controlled from the host <Created by fgimenez> <https://github.com/snapcore/snapd/pull/2638>14:09
=== ysionnea1 is now known as ysionneau
popeydavmor2: that is not a stupid idea. "snap install muzak" which just plays music constantly :)14:24
popeyfor music on hold or whatever14:24
icey+1 popey14:24
davmor2popey: I'll expect my royalty cheque in the post what 50% of nothing again?14:25
didrocksMirv: hey, how are you? I'm going to push some fundamental changes to the launcher.14:41
didrocksMirv: this is before merging your PR, which may be incompatible, I would appreciate you testing the changes14:41
didrocksMirv: I guess you will need to add some small changes, to pick local QML files and such14:42
didrocks(as now, it's either the runtime or the snap)14:42
didrocksso probably something along the line https://github.com/ubuntu/snapcraft-desktop-helpers/blob/runtime-refactor/common/desktop-exports#L4314:43
mupPR snapd#2277 closed: snap: add new `snap prepare-image --devmode` option <Blocked> <Critical> <Created by mvo5> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/2277>14:52
mupPR snapd#2360 closed: [WIP] Fix prefix search query; Fix empty query search; Find doc <Created by AlexandreAbreu> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/2360>15:35
mupPR snapd#2392 closed: partition: add support for native grubenv read/write and use it <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2392>15:47
mupPR snapd#2407 closed: wrappers: add support for the X-Ayatana-Desktop-Shortcuts= extension <Created by mvo5> <Merged by chipaca> <https://github.com/snapcore/snapd/pull/2407>16:03
mupPR snapd#2411 closed: interfaces: add history-related (what history?) interface <Created by renatofilho> <Closed by chipaca> <https://github.com/snapcore/snapd/pull/2411>16:05
Chipacarenatu, ^16:06
renatuChipaca, ok, no problem we still discussing about that interface16:07
simosxOkay, tried to install "snapcraft" in an LXD "ubuntu:x" container. I used these instructions and got an error (also in pastebin). Any hint appreciated. http://pastebin.ubuntu.com/23810783/16:09
=== didrocks1 is now known as didrocks
simosxThe schema is in /usr/local/lib/python3.5/dist-packages/snapcraft-2.25-py3.5.egg/share/snapcraft/schema/snapcraft.yaml but snapcraft is looking somewhere else (let's add a print statement).16:14
simosxokay, if you install snapcraft manually, it goes into /usr/local/ but the code is looking at /usr/share/snapcraft/schema/snapcraft.yaml to find the schema (that is, it's somehow hardcoded).16:19
simosxBug report, https://bugs.launchpad.net/snapcraft/+bug/165688416:39
mupBug #1656884: Installation from source (git) error: snapcraft validation file is missing from installation path <Snapcraft:New> <https://launchpad.net/bugs/1656884>16:40
simosxNew snapcraft from git: classic confinement requires the core snap to be installed. Install it by running `snap install core`.16:47
simosxSince it is in an LXD container, I first run "apt install squashfuse", then "snap install core".16:49
simosxFinally, all good: Snapped peek_latest_amd64.snap :-)16:49
mupPR snapd#2359 closed: spread: add boilerplate for Linode delta uploads <Created by niemeyer> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/2359>17:22
TrevinhoBuuuuuut... Is it normal that if I go in `snap run --shell whatever`...18:21
TrevinhoAnd I give the "ps aux" command I can see all the procs and command lines around?18:21
Trevinhojdstrand: ^ It seems that while exe is not readable, cmdline it is18:26
ogra_Trevinho, he is off today (teh whole US is)18:27
Trevinhoah... ok18:27
ogra_MLK day18:27
TrevinhoAnyway for something ran inside a confined snap run --shell, I have18:28
Trevinhocat /proc/<any-pid>/cmdline all readable... looks weird18:28
ogra_might be a bug in "run --shell"18:28
ogra_i dont think it works on installed snaps18:28
ogra_zyga would know (i think)18:29
Trevinhomh, let me see but... I believe it will be there too18:29
mupPR snapd#2638 closed: tests: change TRUST_TEST_KEYS to be controlled from the host <Created by fgimenez> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2638>18:29
ogra_unless your snap uses the process-control interface indeed18:30
Trevinhono, no... there's no plug at all18:31
Trevinhoonly unity718:31
ogra_oh18:31
ogra_unity7 is indeed quite open i think18:31
mupPR snapd#2631 closed: releasing package snapd version 2.21 <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/2631>18:31
ogra_(thats actually X11)18:31
Trevinhoyeah, but not sure for that18:31
ogra_i assume thats related though18:32
Trevinholet me check18:32
zygaTrevinho: hey18:54
zygaTrevinho: how can I help?18:54
mupPR snapd#2613 closed: interfaces: add new interface API <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/2613>19:43
mupPR snapd#2639 opened: snap: add {Plug,Slot}Info.SecurityTags <Created by zyga> <https://github.com/snapcore/snapd/pull/2639>19:47
mupPR snapd#2640 opened: interfaces: allow querying added security backends <Created by zyga> <https://github.com/snapcore/snapd/pull/2640>19:52
* zyga EODs19:53
mwhudsonlifeless: oops, i'd run off to the cricket by the time you asked that20:04
mwhudsonlifeless: however i don't know the answer so you didn't miss anything20:04
mwhudsonzyga: ping21:05
alex-abreuelopio,21:15
alex-abreuping21:15
zygamwhudson: hi21:29
mwhudsonzyga: i want to upload snapd 2.21 to debian today or so21:29
mwhudsonzyga: do you want to include apparmor disabling in that, do you think?21:30
zygamwhudson: hmm, if you could; but it would be a vendor patch21:30
zygamwhudson: since it is a conffile you'd have to use a maitainer script for this21:30
mwhudsonzyga: oh right21:30
zygamwhudson: I think disabling it is technically correct at this stage, nobody from security can ack as US is mostly off but I think the argument I made in the bug report is reasonable21:31
zygamwhudson: after snap-alter-ns I will work on various distro activities, including CIing debian21:31
mwhudsonthat's faaaiirly easy though? echo rm_conffile /etc/apparmor/usr.lib.snapd.snap-confine > debian/snapd.maintscript21:31
zygamwhudson: yes but we found bugs in that (ask mvo)21:31
zygamwhudson: in rm_conffile specifically21:31
mwhudsonzyga: o/ awesome o/21:32
zygamwhudson: we did that when we removed ubuntu-core-launcher's apparmor profile21:32
zygamwhudson: you may also want to unload the profile if it is loaded21:32
mwhudsonzyga: alternative is i upload 2.21 just as broken as before, we wait until US wakes up again and upload 2.21-221:32
mwhudsonleaning towards that option, tbh21:32
zygamwhudson: that's OK too, I think there were some concerns as to how many updates can we fit into stretch21:32
zygamwhudson: +121:33
zygamwhudson: safer IMH21:33
zygaIMHO21:33
mwhudsonok21:33
zygamwhudson: on that note, 2.21 fixes classic snaps, you may find the "python0" snap curious :)21:33
mwhudsonzyga: heh, i made a go classic snap last week21:34
mwhudsongot confused trying to get it into the store though, i need to have another go at that21:34
zygamwhudson: what issues did you run into exactly?21:35
zygamwhudson: my snap was stuck in manual review but mvo kindly pushed that through21:35
mwhudsonjust that i think21:35
zygamwhudson: http://github.com/zyga/python021:35
mwhudson"(NEEDS REVIEW) confinement 'classic' not allowed lint-snap-v2_confinement_classic"21:36
zygamwhudson: I think that is typical for now, I'll try to figure out what is the review policy for those and write that down on the wiki21:36
zygamwhudson: yeah, that error message cries "I need UX love"21:36
mwhudsonclassic snaps not building on launchpad yet is kinda a bummer too21:36
zygaoh, I wasn't aware of that21:37
mwhudsonyou need the core snap installed21:37
zygamwhudson: what's the issue? CDN access for the core snap download?21:37
mwhudsonor at least, on disk21:37
mwhudsonlaunchpad builds run in a chroot21:37
zygamwhudson: I see, I didn't know this21:37
mwhudsonwithout snapd running (if it can even run in a chroot)21:37
zygamwhudson: classic also suffers from ubuntu-core/core split21:37
zygamwhudson: I think you don't need full snapd21:38
zygamwhudson: all you really really need is core snap unpacked/mounted at /snap/core/current/21:38
zygamwhudson: everything else is irrelevant21:38
mwhudsonyeah somehow i have the core snap installed as well as ubuntu-core21:38
mwhudsonzyga: yeah, but it's still not there :)21:38
zygamwhudson: one version of snapd allowed that21:38
zygamwhudson: this week we'll try to migrate that so that 2.22 will be good21:38
* mwhudson uploads snapd_2.21-1_source.changes21:42
zygamwhudson: nice, I'll check my sid box shortly :)21:59
zygamwhudson: thank you for packaging snapd :)22:08
mwhudsonoh good it got accepted this time22:15
mwhudsonzyga: no worries, it's not very onerous really :)22:15
zygamwhudson: btw are you aware of https://github.com/snapcore/snapd/wiki/Distributions22:20
mwhudsonzyga: i'd seen it22:32
mwhudsoni guess the debian section is a little inaccurate22:33
zygamwhudson: inaccurate how? (feel free to edit this, there's no pull request or review required)22:35
mwhudsonwell snap-confine is gone for one22:36
mwhudsoni'll have an edit in a sec22:36
zygamwhudson: ah, indeed,22:36
zygamwhudson: thank you again :)22:37
mwhudsoneh well the snap-confine _source package_ is gone22:38
zygamwhudson: that's fine, we don't need to link to the binary package22:39
mwhudsonzyga: https://github.com/snapcore/snapd/wiki/Distributions/_compare/be17952ef93b02669f28e8d170e41d9bf784388e...cef68b00466b40e8e9b0d013964e6e2b6ed76da922:44
zygamwhudson: looks great, thanks!22:45
zygamwhudson: you can also tweak the table up top where summary data is shown for all the distros22:46
mwhudsonzyga: i guess i should wait for the package to be published first...22:47
mwhudsonzyga: also what do i say, "supported" seems wrong, just "up to date"?22:47
zygamwhudson: yes, up-to-date feels better23:02

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