/srv/irclogs.ubuntu.com/2016/09/03/#snappy.txt

sergiusenscprov is this hooked up already? https://bugs.launchpad.net/snapcraft/+bug/1619819 https://bugs.launchpad.net/software-center-agent/+bug/161981800:14
mupBug #1619819: It is possible to release a devel snap to candidate and stable <store> <Snapcraft:New> <Software Center Agent:New> <https://launchpad.net/bugs/1619819>00:14
mupBug #1619818: Error when trying to push and release a snap with devel grade <store> <Snapcraft:New> <Software Center Agent:New> <https://launchpad.net/bugs/1619818>00:14
=== JanC_ is now known as JanC
cprovsergiusens: grade is fully supported by current SCA & CRT00:16
cprovsergiusens: I have to check 1900:16
cprovsergiusens: right, 18 is something else as elopio pointed in the last comment00:18
cprovsergiusens: just checked the code, the release endpoint needs update to restrict channels according to grade :-/00:20
elopiocprov: yes, I updated 18. Sorry about that.00:23
cprovelopio: no problem, thanks for playing with it and discovering 19. Michael Nelson (our man in the future) will tackle this his early Monday and we will release the fix on SCA until Monday EOD00:25
cprovit will probably require some publishing cleanup <sigh/>00:25
elopioAutralians are amazing00:28
sergiusenscprov elopio no rush, this won't make it to -updates until late Monday/early Tuesday01:03
zygaanyone interested in a code review for snap-confine?09:21
eldarkghello guys. how to use in cmake config flags variable $SNAP_VERSION?09:26
Son_Gokuzyga: ?09:28
Son_Gokuzyga, what do you need reviewed?09:32
zygaSon_Goku: hey, I need some help on this one https://github.com/snapcore/snap-confine/pull/12310:06
mupPR snap-confine#123: Add mountinfo module <Created by zyga> <https://github.com/snapcore/snap-confine/pull/123>10:06
zygaSon_Goku: sosrry for the lag, I was busy writing and dind't notice I didn't paste URL initially10:06
zygaeldarkg: I don't know about that, what are you trying to achieve?10:07
eldarkgzyga: I want to compile app with set to him $SNAP_VERSION value10:08
zygaeldarkg: for informative purpose?10:08
eldarkgzyga: https://bugs.launchpad.net/snapcraft/+bug/161987710:10
mupBug #1619877: $SNAP_VERSION is empty when I set cmake vars <version> <Snapcraft:New> <https://launchpad.net/bugs/1619877>10:10
zygaeldarkg: $SNAP_VERSION is set at runtime10:12
eldarkgzyga: can I to define user variables in a snapcraft file?10:13
zygaeldarkg: the plan is to allow that, it relies on a set of bits to be in place, I don't remember if this is all available from snapcraft all the way to snap-confine10:16
zygaeldarkg: I think it might have gone live this week10:16
* zyga was busy under the hood 10:16
eldarkgzyga: ok. thank you10:16
zygaeldarkg: but $SNAP_VERSION is set by snappy automatically10:17
zygaeldarkg: based on the version field from snapcraft.yaml10:17
eldarkgzyga: ok10:17
Son_Gokuzyga, I don't see anything nuts about your PR10:18
zygaSon_Goku: thanks10:22
mupBug #1619888 opened: Snap should be able to run chown <Snappy:New> <https://launchpad.net/bugs/1619888>10:53
mupPR snapd#1842 opened: asserts: don't have Add/Check panic in the face of unsupported no-authority assertions <Created by pedronis> <https://github.com/snapcore/snapd/pull/1842>11:39
mupPR snapd#1843 opened: snap: switch to the new agreed regexp for snap names <Created by pedronis> <https://github.com/snapcore/snapd/pull/1843>12:02
mupPR snapd#1842 closed: asserts: don't have Add/Check panic in the face of unsupported no-authority assertions <Created by pedronis> <Merged by pedronis> <https://github.com/snapcore/snapd/pull/1842>12:37
eldarkgzyga: how to do that snap app can to list FS tree?12:56
zygaeldarkg: hmm, that depends on what you mean12:59
eldarkgzyga: https://github.com/eldarkg/kicad-snap/issues/712:59
zygaeldarkg: use the home interface for this snap, when connected it will grant access to most of the users home directory13:00
eldarkgzyga: home interface used13:00
eldarkgzyga: app is using files that contributed from snap tree ($SNAP/usr/share/kicad)13:02
zygaeldarkg: I don't think I know what the problem is13:11
eldarkgzyga: how resolve this?13:12
zygaeldarkg: the home interface gives access to /home/$LOGNAME13:27
zygaeldarkg: the $HOME variable is redirected so that might fool some applications (it points to snap-private home)13:27
zygaeldarkg: I don't know what you mean when you talk about $SNAP/usr/share/kicad13:28
zygaeldarkg: is this one or separate multiple issues?13:28
eldarkgzyga: I want to take access to $SNAP file system to read and to list content13:29
zygaeldarkg: can you be more specific? which location do you want to access13:31
eldarkgzyga: content like footprints, 3d models, libraries of components, demos13:32
eldarkgzyga: to $SNAP/usr/share13:32
zygaeldarkg: that directory is available by defautl13:34
eldarkgzyga: https://github.com/eldarkg/kicad-snap/issues/813:36
zygaeldarkg: can you add some kind of information to the bug report?13:37
zygaeldarkg: I don't understand how you determine that something is denied13:38
zygaeldarkg: do you get an apparmor denial?13:38
zygaeldarkg: the $SNAP directory is typically /snap/$SNAP_NAME/$SNAP_REVISION13:38
zygaeldarkg: so the data you are after is in /snap/kicad-dev-snap/$SNAP_REVISION/usr/share13:38
eldarkgzyga: isn't accessible from gui? see previous issue link13:39
zygaeldarkg: the gui is a part of the application,13:39
zygaeldarkg: snappy has no influence over that13:40
mupPR snapd#1820 closed: many: start services only after the snap is fully ready (link-snap was run) <Critical> <Reviewed> <Created by mvo5> <Merged by niemeyer> <https://github.com/snapcore/snapd/pull/1820>13:41
eldarkgzyga: How I can to do that app works correctly?13:42
zygaeldarkg: I don't know much about kicad, perhaps you can work with kicad developers on this13:42
eldarkgzyga: ok. Maybe I can to list files from '/' (root)?13:43
zygaeldarkg: yes, you should be13:46
eldarkgzyga: why next? snapd-hacker-toolbelt sh;  ls / . Message: ls: can't open '/': Permission denied13:48
zygaeldarkg: hmm, interesting13:48
zygaeldarkg: that may be the cause of some of the things you saw13:49
zygaeldarkg: does kicad snap work better in devmode?13:49
eldarkgzyga: sorry snapd-hacker-toolbelt.busybox sh13:49
eldarkgzyga: I don't check this in devmode.13:50
eldarkgzyga: wait. I am trying13:51
eldarkgzyga: Yes kicad in --devmode works fine but it isn't what I want. I want that snap app works in strict confine13:55
qenghoeldarkg: in devmode, it should permit but log your apps missteps in syslog in /var/log/ .13:58
qenghoeldarkg: Though, working in devmode and not in strict sounds like it is probably some syscall that is not allowed, unless you have another kicad installed from another package like deb.14:00
eldarkgqengho: Sep  3 17:00:13 EP43-DS3L kernel: [30646.624140] audit: type=1400 audit(1472911213.426:1200): apparmor="DENIED" operation="open" profile="snap.snapd-hacker-toolbelt.busybox" name="/" pid=31164 comm="busybox" requested_mask="r" denied_mask="r" fsuid=1000 ouid=014:01
eldarkgqengho: snap app in strict mode doesn't accesible to '/' (root)14:02
eldarkgqengho: only in $SNAP14:03
eldarkgzyga: I go away to ~1 hour. If you found some info ping me14:04
qenghoeldarkg: with devmode, it should (?!) still warn. What else does it warn about?14:04
eldarkgqengho: see my previous msg to you. I use $ snapd-hacker-toolbelt.busybox sh; $ ls /14:05
qenghoeldarkg: Yeah. But that is not your app. I want to make sure you're asking for what you really want, and not what you think is a path to the answer.14:07
qenghoTell us you want your car tire changed. Don't ask where we keep the screwdrivers.14:08
eldarkgqengho: see https://github.com/eldarkg/kicad-snap/issues/7. I go away14:11
zygaeldarkg: I'm debugging a few things in snapd14:16
zygaeldarkg: but not related to this14:16
mupPR snapd#1844 opened: tests: adjust test setup after ubuntu user removal <Created by zyga> <https://github.com/snapcore/snapd/pull/1844>15:11
mupPR snapd#1844 closed: tests: adjust test setup after ubuntu user removal <Created by zyga> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1844>15:39
eldarkgqengho: Do you see?15:41
mupBug #1619928 opened: snap app: access denied: list a FS tree <access> <Snappy:New> <https://launchpad.net/bugs/1619928>15:49
mupPR snapd#1843 closed: snap: switch to the new agreed regexp for snap names <Created by pedronis> <Merged by zyga> <https://github.com/snapcore/snapd/pull/1843>17:24
=== chihchunl is now known as chihchun
=== StoneTable is now known as aisrael

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