/srv/irclogs.ubuntu.com/2017/03/27/#snappy.txt

mupBug #1676244 opened: Environment keyword not parsed correctly <Snappy:New> <https://launchpad.net/bugs/1676244>00:56
=== chihchun_afk is now known as chihchun
implitedoes this package python stuff also? Im confused03:01
=== Eleventh_Doctor is now known as Pharaoh_Atem
liuxgin snap apps, is there any environment variable  get the path like /home/<username>/Pictures? thanks07:04
stubliuxg: $SNAP_DATA is what is normally used for user data.08:10
stubliuxg: Or use $HOME. In 'normal' snaps it is the same as $SNAP_DATA, and in 'classic' snaps it is the real $HOME08:11
mupPR snapd#3085 opened: .travis.yml: remove travis matrix and do a single sequential run <Created by fgimenez> <https://github.com/snapcore/snapd/pull/3085>08:48
mupPR snapd#3002 closed: interfaces: add support for location-observe for dbus::ObjectManager session paths <Created by vosst> <Merged by stolowski> <https://github.com/snapcore/snapd/pull/3002>09:07
mupPR snapd#3086 opened: interfaces: fix for access denied of opengl interface <Created by chunsangjeong> <https://github.com/snapcore/snapd/pull/3086>09:07
mupPR snapd#3087 opened: overlord/snapstate: introduce tasks for aliases v2 semantics with temporary names for now <Critical> <Created by pedronis> <https://github.com/snapcore/snapd/pull/3087>09:18
mupPR snapd#3069 closed: snapstate: restart as needed if we undid unlinking aka relinked core or kernel snap <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3069>10:26
pstolowskimardy, hey, i'm about to update your online-accounts interface branch for snapd for the latest API changes; do you have any changes you want to commit first?10:39
mardypstolowski: no, I cannot think of anything11:20
didrocksit seems that ubuntu make (classic confinement) rev 2, 3 & 4 were accepted, but rev 1 was leftover which is amd64, can someone from the store team review it?11:24
pstolowskimardy, ack, thanks11:32
morphisPharaoh_Atem: is "Request Approveacls" on https://admin.fedoraproject.org/pkgdb/package/rpms/golang-github-go-tomb-tomb/ what I want to get co-maintainership for that package?11:35
mupPR snapd#3088 opened: snapstate: restart as needed if we undid unlinking aka relinked core or kernels snap <Created by pedronis> <https://github.com/snapcore/snapd/pull/3088>11:48
morphisPharaoh_Atem: one step closer: https://bugzilla.redhat.com/show_bug.cgi?id=143561612:08
jdstrandkyrofa: hey, sorry I missed you. I don't have experience writing gadget snaps, but can say that I susepect those need to be strings, yes, but there may also be a problem surrounding serialDeviceNodePattern is serial_port.go13:53
jdstrandkyrofa: is /dev/kobuki a symlink or the actual device name? if a symlink, what does it point to?13:54
jdstrandkyrofa: also serialUdevSymlinkPattern may get in the way13:54
jdstrandkyrofa: it might work as is if you change to strings and use 'name: /dev/serial-port-kobuki' instead13:55
jdstrandyou might not need to change to strings13:56
mupBug #1670749 changed: classic confinement requires manually setting PATH and PYTHONPATH <openstack> <Snapcraft:New> <https://launchpad.net/bugs/1670749>13:58
mupBug #1672872 changed: error while loading shared libraries: libpython2.7.so.1.0 <openstack> <Snapcraft:New> <https://launchpad.net/bugs/1672872>13:58
mupPR snapd#3088 closed: snapstate: restart as needed if we undid unlinking aka relinked core or kernels snap (2.23) <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/3088>14:40
=== chihchun is now known as chihchun_afk
kyrofajdstrand, thanks for the insight! I'll try that. I was under the impression that /dev/kobuki would be created as a symlink to the actual device15:12
jdstrandkyrofa: it will, but /dev/kobuki doesn't match the serialUdevSymlinkPattern regex15:12
jdstrandtry /dev/serial-port-kobuki and see if that works15:13
kyrofaWill do15:13
Pharaoh_Atemmorphis: you want to request approveacls and commit acls15:21
morphisPharaoh_Atem: aye15:32
morphisPharaoh_Atem: however we got the package updated in rawhide15:32
morphisPharaoh_Atem: and I am still waiting for my package requests to get approved15:32
Pharaoh_Atemmorphis: you should request it to be backported to F26 and F2515:32
Pharaoh_Atemoh nevermind15:33
Pharaoh_Atemhe's already doing it15:33
morphisPharaoh_Atem: were do you see that?15:33
morphisjust saw the bug report update15:33
Pharaoh_Atemhttps://bodhi.fedoraproject.org/updates/?packages=golang-github-go-tomb-tomb15:34
morphisah15:34
morphisnice15:34
morphisjdstrand: hey!15:53
jdstrandmorphis: hey :)15:53
morphisjdstrand: regarding https://github.com/snapcore/snapd/pull/308615:53
mupPR snapd#3086: interfaces: fix for access denied of opengl interface <Created by chunsangjeong> <https://github.com/snapcore/snapd/pull/3086>15:53
Pharaoh_Atemis mvo back yet?15:53
jdstrandmorphis: I commented a bit earlier15:54
morphisjdstrand: my fear is that if we only update the opengl interface we break other apps already in the store15:54
morphisso we have to better update all interfaces all-together to use udev-tagging15:54
morphisand do this in a single snapd release to not cause any regression15:54
jdstrandmorphis: I'm fine with that approach too (in fact I prefer it)15:56
morphisjdstrand: me too, and we will do that work afterwards15:56
morphisalready have a story for our next sprint15:56
jdstrandmorphis: at first I was thinking that this would affect few snaps, but I think your instinct is corrent. I suspect the vlc snap would break cause it uses opengl with optical-drive (for example)15:57
morphisyeah15:57
jdstrandcorrect*15:57
morphissomething like this, we could get a list from the store about used combinations etc.15:57
morphisbut that still has the chance of breaking unasserted snaps installed by people15:57
morphisjdstrand: https://trello.com/c/bK7u2g7s15:57
jdstrandmorphis: it shouldn't break unasserted snaps. core gets updated and all the security policy (include the /etc/udev/rules.d files) get regenerated15:59
jdstrandgets*15:59
=== JanC_ is now known as JanC
* jdstrand is talking about if all the interfaces are updated15:59
morphisjdstrand: yeah meant the case where we just update opengl15:59
morphisjdstrand: so you're ok with updating just opengl for now with access to /dev/fb* and adjusting all interfaces in a second snap to use udev tagging?16:00
jdstrandI guess you meant 'second step' there16:00
=== dpb1_ is now known as dpb1
morphisah yeah .. too much 'snap' these days  :-)16:00
jdstrandI really don't like adding /dev/fb* to opengl. opengl is autoconnected and framebuffer is not. /dev/fb gives privileged access to the console framebuffer16:01
jdstrandand adding it to opengl will give all snaps that plugs it additional access that they shouldn't have. it is autoconnected so that is a security issue. then, while phase 2 is being worked out there might be a snap that depends on /dev/fb* in opengl and we break it with the next core update16:02
jdstrandI think the snap that is affected by the snap should remove framebuffer from its yaml and wait for the proper fix16:03
jdstrandand/or use devmode in the meantime16:03
jdstrandby the bug*16:03
kyrofajdstrand, good news so far, changing the symlink to conform with that regex makes the slot show up in snap interfaces now, and the symlink is created16:04
kyrofajdstrand, do you know the rational behind that regex? It seems somewhat arbitrary16:04
jdstrandkyrofa: it is so that the symlinks in /dev are namespaced in predictable ways. This was something niemeyer thought through and I agree with the approach. consider if we didn't have the regex and two interfaces could create /dev/something and a gadget (or with hotplugging, core) has both16:06
jdstrandkyrofa: snapd can't really resolve that intelligently16:06
kyrofajdstrand, doesn't it just mean that we have the same problem with /dev/serial-port-something now?16:08
kyrofaLess of an issue admittedly16:08
kyrofajdstrand, anyway, not a big deal to me so much as the total lack of feedback when I didn't match it16:08
kyrofaI'm logging a bug for that16:08
jdstrandkyrofa: that is within the same interface though. a gadget snap author can avoid that. it is possible that core and gadget could conflict when hotplugging is supported, but that is something that will need to be thought through in the hotplugging design16:09
kyrofajdstrand, fair enough, thanks for the explanation!16:09
jdstrandkyrofa: note that the naming isn't arbitrary. the convention is '<interface>-<gadget-assignable>'16:10
kyrofajdstrand, indeed, that makes more sense16:10
mupPR snapd#3086 closed: interfaces: fix for access denied of opengl interface <Created by chunsangjeong> <Closed by jdstrand> <https://github.com/snapcore/snapd/pull/3086>16:30
=== lazyPower is now known as lp|Kubecon
kyrofadavidcalle, if I saw an issue with a codelab on tutorials.ubuntu.com, where would I log a bug?17:32
kyrofadavidcalle, unping, you very nicely include a link there that answers my question17:32
mupBug #1676614 opened: snap install canonical-livepatch fails on system with nvidia driver <Snappy:New> <https://launchpad.net/bugs/1676614>20:58
roadmrjdstrand: hey, r852 is now in production21:22
mupPR snapcraft#1171 closed: beta <Created by snappy-m-o> <Merged by elopio> <https://github.com/snapcore/snapcraft/pull/1171>23:00

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