/srv/irclogs.ubuntu.com/2016/06/27/#snappy.txt

=== kallisti6 is now known as kallisti5
=== chihchun_afk is now known as chihchun
SargunCan you run a snap "anonymously" (like a Docker container)07:08
=== faenil is now known as faenil_
zygao/07:53
=== faenil_ is now known as faenil
ogra_Sargun, can you elaborate what that means ? snap services usually run as root ... snap app binaries as the user that starts them both in a controlled environment that they can not break out of08:27
qenghoogra_: a lot of sevices really hate running as root. I think it would be nice if the system reserved a nonroot uid for such cases. E.h., snapd registers a user, and puts that uid with some name in the shared /etc/passwd file, or something.09:24
qenghoNo, e.h is not a merger of e.g. and meh.09:25
pmpfor iio-usage I have a snap which will read-only-access sysfs, which is prohibited by snapd09:28
pmpIs there an interface for it or should I file a bug requesting an interface?09:28
pmpHow should sysfs-accesses be handled? Typical IIO-applications will also want to write to sysfs, for example to enable a device or to install a timer.09:29
Sargunogra_: have a use case where developers can anonymously deploy apps throughout my system09:45
Sargunimagine kubernetes, or Docker swarm09:45
SargunSo, Ideally I'd like to run these as processes09:45
Sargunindependently from snapd09:45
=== hikiko is now known as hikiko|afk
popeydpm: I filed this issue with sergiusens' qt5conf, but yours is affected too.. https://github.com/sergiusens/qt5conf/issues/3 (basically we shouldn't have "cd" in any launchers IMO)10:45
dpmthanks popey. I'll look at it during the playpen tomorrow. I just want to make sure removing the 'cd' does not break the Qt apps that are currently using the launcher10:50
popeydpm: cool10:51
ogra_hmm11:12
ogra_why is node-engine not respected in my snapcraft.yaml11:12
ogra_oh, it is11:24
ogra_seems nw.js is simply built statically against node 6.2.211:24
=== hikiko|afk is now known as hikiko
sergiusensgood morning13:23
sergiusenshey kyrofa mind taking a look at https://github.com/ubuntu-core/snapcraft/pull/608 ?13:23
kyrofasergiusens, good morning! Sure. Actually, would you mind taking a look at https://github.com/snapcore/snapd/pull/1340 ? Make sure it matches up with what you're thinking for snapcraft13:24
didrockskyrofa: does source-subdir works for you? I'm unsure I'm using it badly or anything, but it seems to me that build/ still reference the root dir and not a subdir13:27
didrocks(despite what the help says)13:27
didrocksalso, unkown source-subdir doesn't trigger anything, it's like if the property wasn't read13:28
kyrofadidrocks, it depends up the plugin. I don't think go handles it well, for instance13:30
kyrofadepends on*13:30
sergiusenskyrofa didrocks the go plugin, from its `help` does not mention it uses the sources implementation from the base plugin13:32
kyrofasergiusens, ah! Good point13:32
kyrofadidrocks, but yeah, try the make plugin13:33
sergiusensmaybe this has become a defacto expected core functionality though13:33
sergiusensand we should consider moving source handling to the core13:33
didrockssergiusens: kyrofa: hum, I'm using the make plugin13:35
kyrofadidrocks, hmm, let me investigate13:35
didrockskyrofa: want an example I'm expecting to work from the help?13:36
kyrofadidrocks, sure13:36
didrockskyrofa: http://paste.ubuntu.com/17969379/13:36
didrocksand here parts/gtk/build/ == parts/gtk/src (where I expect from --help parts/gtk/build/ == parts/gtk/src/gtk)13:37
kyrofadidrocks, uh oh... there might be a regression here13:39
didrocksah, I'm not crazy :)13:39
kyrofadidrocks, indeed, parts/gtk/build should contain everything from the src if my memory serves13:39
didrocksalso, try to put foo as source-subdir13:40
didrocksno complain, nothing13:40
kyrofadidrocks, but the plugin's builddir should be in the subdir13:40
didrocksyeah13:40
didrocksthat's what the --help says13:40
didrockskyrofa: also, a fun thing with that, noted that I have to define a make parameter?13:40
didrocksit's because symlinks are copied as such13:40
didrocks(and when they go out of the src dir… :p)13:40
didrocksok, that's an edge case, but still ;)13:41
kyrofadidrocks, yeah I'm not sure why you're having to do that. Why can't it build in the builddir?13:41
didrockskyrofa: look at the source in gtk/13:42
didrocksit's a symlink to common/13:42
didrocksand so, that file, once copied in builddir, becomes a dangling symlink13:42
didrocks(you can try it with the snapcraft.yaml in gtk/ dir)13:43
kyrofaAh, I see13:47
kyrofadidrocks, wait, no, I'm being dumb. This seems to work okay here13:59
kyrofadidrocks, including the symlink being okay13:59
didrockskyrofa: symlink or source-subdir?14:00
didrockskyrofa: it does work because of build/ isn't build/gtk14:00
didrocksbut once it's build/gtk, then ../common doesn't exist14:00
didrocks(check the snapcraft.yaml in gtk/ directory for instance)14:00
kyrofadidrocks, using what you gave me (and removing the make-params) works14:01
kyrofadidrocks, parts/gtk/src is copied into parts/gtk/build, then the plugin runs out of parts/gtk/build/gtk14:02
didrockskyrofa: hum, I'm on 2.11, it doesn't here14:02
kyrofadidrocks, which I realize now is actually different than the docs for source-subdir, oops14:02
didrocksyeah14:03
kyrofadidrocks, but it was done that way for instances like this, where you needed to build in a subdir but you still needed the rest of the project14:03
didrockshum, you're right, it does work because it's different frmo the doc :)14:03
didrocksyeah14:03
kyrofadidrocks, sorry about that, I fixed that bug ages ago but apparenty never updated the docs14:04
didrockskyrofa: no worry, at least, yeah, it does work and fix the symlink issue (which only appear when snapcraft.yaml is in gtk/)14:04
didrocksbut I guess as it's referencing something "above the top dir for snapcraft.yaml" that makes sense14:05
didrocks(and my Makefile copes with both)14:05
kyrofadidrocks, indeed, that would make sense14:05
didrockskyrofa: ok, so only the help needs to be modified :)14:06
kyrofadidrocks, indeed14:06
didrocksthx!14:06
kyrofadidrocks, thank you!14:06
=== olli__ is now known as olli
elopiofgimenez: can you send me the bots credentials please?14:14
sergiusenselopio hey, can you look at 608 again14:20
sergiusenselopio I went fixture crazy just to make you happy!14:20
elopiosergiusens: that sounds good :) Let me see.14:21
dholbachseb128, we have a bug in https://github.com/ubuntu/snappy-playpen/tree/master/atom where the menu is not exported - do you know of the problem?14:36
didrocksdholbach: we are just starting looking at it together (as planned ;))14:37
dholbachdidrocks, I was just wondering if there was a bug for it already14:37
didrocksdholbach: we will file one if we can't sort it out today I guess14:38
dholbachdidrocks, thanks - if the issue persists, it'd be good to add it to https://github.com/ubuntu/snappy-playpen/wiki/Known-issues14:38
didrocksyep14:38
didrocksNot that I completed README.md with it already14:39
dholbachthanks a lot didrocks14:40
seb128dholbach, why did you set that gsettings bug to fix released? it's not, the update is still blocked in y-proposed14:44
seb128the bugs are going to autoclose when it migrates14:44
dholbachseb128, oh?14:44
seb128if you want to see those closed get somebody to fix their autopkgtest :p14:44
dholbachseb128, sorry, I thought the update had landed already :)14:44
seb128dholbach, no worry14:48
sergiusenselopio ok, one more look14:50
=== willcooke_ is now known as willcooke
sergiusenselopio so wrt the milestone, where are we on the other tasks?15:03
elopiosergiusens: let me move my "in progress" ones to 2.13. And after the search lands, we are good to go. I'm going to see which ones are still missing the template.15:04
jdstrandroadmr: hi! would you mind pulling r687 at some convenient time?15:09
roadmrjdstrand: sure thing!15:09
jdstrandroadmr: it isn't super-critical15:09
jdstrandthanks! :)15:09
fgimenezelopio, sure one sec15:10
sergiusenselopio oh, where is that script you had for me?15:19
elopiosergiusens: only tested in staging, so let me know if you see bugs. https://github.com/elopio/snapcraft/blob/launchpad_scripts1/scripts/launchpad/add_series.py15:20
seb128dholbach, atom fails to build for me, http://paste.ubuntu.com/17974945/15:38
dholbachcwayne, ^15:38
seb128didrocks, ^ mentioning it as well15:38
elopiokyrofa: I think there's something wrong here: https://github.com/ubuntu-core/snapcraft/pull/58015:44
elopioprimed_dependencies is only set, never read.15:44
kyrofaelopio, heh, sergiusens pointed that out as well. I saved it in primed_dependencies to serve as both documentation and in case we ended up needing to track them, but indeed it's not used. The elsif is the real bugfix there15:46
kyrofaelopio, the fact that both of you pointed that out, however, shows that it does _not_ serve as decent documentation15:46
elopiokyrofa: ahh, I see.15:46
elopioyes, a would have been nice there.15:46
kyrofaelopio, should I just skip those instead of keeping track of them?15:47
kyrofaOh, it's already merged, meh15:47
elopiokyrofa: I think so. Instead of an assignment, put a comment. But yeah, it might surprise us later but it's ok now.15:48
kyrofaelopio, I couldn't come up with a test case for why tracking them might be useful. I'll give that some further thought15:48
kyrofaI don't think it is, though15:48
=== devil is now known as Guest9208
elopiosergiusens: kyrofa: I don't like this one: https://bugs.launchpad.net/snapcraft/+bug/159611416:03
ubottuLaunchpad bug 1596114 in Ubuntu Yakkety "adt, cannot snapcraft clean without remote parts when in use" [Undecided,New]16:03
elopiowe need a valid yaml and up-to-date cache in order to clean. Isn't there some fallback we can do?16:03
kyrofaHmm16:03
elopiomaybe fail if we are trying to clean a specific step or part, but delete everything if no argument is passed?16:04
kyrofaHonestly clean could improve a bit by doing exactly that. It would really speed up as well16:04
kyrofaelopio, please make a bug, I'll take that one16:04
sergiusenskyrofa elopio yeah, not so great, but it wouldn't really hit users, no one really cleans before attempting to build and your are guided into the right direction if you try to build with missing defined parts16:09
elopiokyrofa: https://bugs.launchpad.net/snapcraft/+bug/159659616:09
ubottuLaunchpad bug 1596596 in Snapcraft "in order to clean, the snapcraft.yaml has to be valid and the parts cache up-to-date" [Undecided,New]16:09
sergiusensclean can just skip mentioned parts that are undefined16:09
dholbachall right - I call it a day - see you all tomorrow!16:10
sergiusenselopio kyrofa what worries me more though is renaming a part and losing all knowledge of its existence16:10
elopiosergiusens: It hits me often :) But my workflow is not too smart, I agree there.16:10
elopiobye dholbach !16:10
dholbachbye elopio :)16:10
sergiusenselopio kyrofa ie; do a snapcraft prime, remove a part and all your things from the remove part are still staged16:10
sergiusensuntil you clean all16:11
kyrofasergiusens, yeah very true16:11
kyrofasergiusens, how could we improve that?16:11
sergiusenskyrofa we need to track outside of the part and track the full yaml16:12
sergiusensand/or16:12
elopiothat sounds like a good bug to report too. Go for it sergiusens :)16:13
sergiusensas in "these parts existed on the last run"16:13
kyrofaYeah sounds like a good bug16:17
kyrofaI like those papercut ones16:17
elopiojoc_: I saw you adding parts to the wiki. Heads up that with 2.12, the source page changes: https://bugs.launchpad.net/snapcraft/+bug/159497616:21
ubottuLaunchpad bug 1594976 in Ubuntu Yakkety "Use new saved endpoint for wiki parts" [Undecided,New]16:21
joc_elopio: thanks for the heads up, i saw some chat earlier about it :)16:22
joc_elopio: i'll have another go, this time with the new infrastructure if can get the plainbox plugin to land16:23
joc_elopio: all tests have passed btw ;)16:24
elopiojoc_: nice! :)16:25
elopiosergiusens: all bugs ready. I suppose you will need next a script that marks all the bugs in yakkety as commited, and then released. That sounds easy to do while I wait for the SRU.16:25
dtzWillRead through lots of the documentation on snaps, parts plugins interfaces... this whole thing looks really useful and exciting!16:40
sergiusenselopio no, that is automatic16:41
sergiusenselopio what I would like is for the script to add the milestone to xenial16:42
dtzWillUnfortunately looking at package list I'm seeing via 'snap find' it seems things are still early in terms of developer buy-in :(. Read that firefox was going to use .snap, are there other indications/plans for more software to be included/shipped this way?16:42
dtzWill(regardless of the answer to my question, seriously GJ on all the parts--it's like nix for the real world lol :P)16:43
elopiosergiusens: I don't understand that one. Didn't that script already add all the bugs to xenial too?17:00
sergiusenselopio yes, but it doesn't add the xenial milestone17:00
sergiusenselopio as in https://bugs.launchpad.net/snapcraft/+bug/159611417:00
ubottuLaunchpad bug 1596114 in Ubuntu Yakkety "adt, cannot snapcraft clean without remote parts when in use" [Undecided,New]17:00
sergiusenselopio the task xenial there has no milestone17:01
elopiosergiusens: that's something like xenial-updates, right?17:01
sergiusenselopio I just added it now. It doesn't17:01
elopiolet me see if I can get something similar in staging.17:01
sergiusenselopio it is trivial and not important or required though17:01
elopiosergiusens: it17:01
elopio's good to automate it all anyway.17:01
sergiusenskyrofa elopio https://github.com/ubuntu-core/snapcraft/pull/61017:05
sergiusensdtzWill yes, it is early days; these things do take time17:06
dtzWillokay, awesome! No worries there, understood.  Hoping to pitch this to my team, scrounging for data/confirmation about its use and future :).17:08
dtzWillthanks for the response :).17:08
sergiusensdtzWill well it is in the latest ubuntu lts release and will be the best way to deliver the latest and greatest17:19
sergiusensdtzWill if there is anything stopping you today that is not a "by design" limitation, we will surely look into it; heck even a design limitation if well thought out can be looked into to or reasoned out17:20
dtzWillhonestly only 'problem' I foresee is some vague "it's not practical" arguments that aren't technically founded as much as "until other people do it, it might be risky/untested/bad in ways we don't know".... but AFAICT this'll fit our needs technically just fine! :)17:36
dtzWillbut I'll let y'all know if that's not the case or if we get stuck in some way :).17:36
ogra_kyrofa, sergiusens, is there any way to change permissions of a file via the copy plugin ?18:13
kyrofaogra_, no, just a straight copy right now18:14
ogra_sad ...18:14
kyrofaogra_, what is your use-case?18:14
sergiusensogra_ it is copy, not `install` ;-)18:14
* ogra_ has an upstream tarball that ships the main binary with 0600 permissions ... 18:15
ogra_inside the snap that is then root owned ...18:15
ogra_so i cant exec it18:15
elopiosergiusens: maybe this: http://paste.ubuntu.com/17984723/ But I can't even test it in staging.18:20
plarsSo, I'm trying to get snapd working with dragonboard, but ubuntu-core doesn't want to install18:27
plarshttps://www.irccloud.com/pastebin/Gb910zTh/18:28
sabdflhiya18:37
sabdfloh-hi-thar-snappy18:37
kyrofaHey sabdfl, welcome :)18:41
sergiusenskyrofa elopio give me 218:46
niemeyerplars: That should have been fixed by now.. what's your version of snapd?18:54
plarsniemeyer: 2.0.218:55
plarsniemeyer: that seems to be the most recent available in the archive for arm6418:55
niemeyerThat's pretty old18:56
niemeyerCan you please try with 2.0.9?18:56
plarsniemeyer: sure, do we have a build of 2.0.9 somewhere already for snapd?18:57
plarsniemeyer: or is there a reason why the package in the archive is so old for it?18:57
niemeyerplars: Suspect it's autopkgtests not quite working as they should, which is something we're working on18:58
plarshmm, looking at lp, it should be there18:58
plarsmaybe updates isn't enabled on this image, let me check18:58
plarsyep, that's it18:59
plarsthanks18:59
niemeyerplars: Nice, np19:03
kyrofasergiusens, all of a sudden cla-check doesn't build anymore. It doesn't seem to have anything to do with snapcraft as I tried all the way back to 2.919:46
kyrofasergiusens, it hasn't changed since I published it a few days ago. Can you try to build it and tell me if it's failing for you? Quite baffling19:47
kyrofaWait... it just worked. What the...19:49
sergiusenskyrofa good ;-)19:56
sergiusensor not ... :-P19:56
elopiocprov: travis tests are failing in register with 429, too many requests.19:59
cprovelopio: just started ?20:00
elopiocprov: I can add a sleep, but I would need to know how ofter are we able to register.20:00
elopiocprov: I don't think so. I have just added the debug to the test, but I think the same was happening friday.20:01
cprovelopio: let me check the current settings. Are you targeting staging, right ?20:01
elopiocprov: yes. But I also want to enable production tests soon.20:01
cprovelopio: okay, right back to you with the values.20:02
zygatyhicks: hey20:02
zygatyhicks: do you have a second?20:02
tyhickszyga: hi20:04
zygatyhicks: hey, I'm thinking about safe_mount patches by Serge Hallyn20:07
zygatyhicks: it seems that Serge doesn't work for canonical anymore, do you know if those patches for lxd were written at the time he did?20:08
tyhickszyga: yes, he and I worked on that solution together when he was working for Canonical20:09
zygaah, thanks20:09
zygaI was thining that I can reuse that code with few modifications but I was worried about the licensing20:09
zygathank you20:09
tyhickszyga: note that I pointed out some unanswered questions in the original PR20:09
tyhickszyga: will the snap author or the user launching the snap have control of any components in the src or dst paths?20:10
tyhickszyga: if so, the safe_mount() solution (or something like it) will be needed20:10
zygano20:10
zygaall of those paths are under our control entirely20:10
zygawell20:11
tyhicks:)20:11
zygaactually, that's not true20:11
zygaso we have ultimate control to ensure security but the snap can construct any symlink internally20:11
tyhicksright20:11
zygaI think we still want something similar to the path traveral code20:11
zygathat bails out on symlinks20:11
zyga(or maybe not bails out entirely but is more considerate)20:12
zygathough I don't quite know what the attack vector there might be given that this code runs after pivot_root20:12
tyhicksso they could symlink to some system directory and, without the safe_mount() logic, snap-confine would bind mount over an unintended location20:12
tyhickshmm20:12
zygaan after unshare(CLONE_NEWNS)20:12
tyhicksgood point20:13
zygaso technically, yes20:13
tyhicksare you sure that's true?20:13
zygathey can do "nasty" things20:13
zygayes20:13
zyga100% positive20:13
zygaah, wait20:14
zygait's not true but it should be20:14
* zyga moves the call around20:14
zygaafter 1.0.34 I'll drop some ifdefs20:14
zygaso code will be easier to follow20:14
zyga(dead code will go away)20:15
tyhicksok20:15
zygaI also wrote a few integration tess20:15
zygatests*, I don't know if you saw those20:15
zygaif you have ideas on things that should be tested please suggest some, it is realy easy to write real integration tests now20:15
tyhicksI haven't seen the tests yet20:18
zygahttps://github.com/snapcore/snap-confine/pull/51/files#diff-7d317bce59e92358d0d5f17f49606cd620:19
zyga(though please click and see various .yaml files, the link is not perfect)20:19
zygaall tests pass :)20:20
tyhicksthose are nice and easy20:20
zygatyhicks: we don't have coverage out of those but it's better than nothing20:23
zygaand those are real confine, non-test executables20:23
zygaout of the package20:23
zygatyhicks: do you think I should port the safe_mount patches?20:29
tyhickszyga: I was having trouble following you20:31
tyhickszyga: you said that "technically, yes, they can do 'nasty' things"20:31
tyhickszyga: is that not true?20:32
zygatyhicks: I'm sorry, I said "nasty" ironically, because it was not something that exists on the outside anyway20:32
tyhickszyga: ok, let me look at the branch where you moved the code around and see the ordering20:32
zygaif you think there is a risk that still applies I will use the safe mount approarch20:33
zygabetter safe than sorry20:33
zygaI'm just looking for guidance20:33
zygaI wonder how apparmor and bind mounts combine20:34
zygammm20:34
tyhicksapparmor mediates mounting20:34
tyhicksbecause you can bind mount things around and trick the policy20:35
zygaright20:35
zygabit after the bind mount is done, apparmor doesn't see "through it"20:35
zygait's not like a symlink where apparmor sees the truth20:35
tyhickscorrect20:35
tyhickszyga: the pivot_root() is only called on classic distros20:39
zygayes20:40
zygatyhicks: pivot_root is only used to ensure consistency with all-snap systems20:43
tyhicksok20:44
zyga(and so that we don't have to rely on the layout of the host filesystem)20:44
tyhickszyga: that means we're relying on unshare(CLONE_NEWNS) to protect against any bind mount attacks, right? (assuming that we don't do safe_mount())20:45
zygayes20:45
zygaagain, if you feel that we should do safe_mount, I'll do it20:45
tyhickszyga: understood - I'm reviewing the changes you've made and thinking through the possibilities20:48
zygathanks!20:49
aatchisonMorning folks20:54
zygaaatchison: hey20:55
aatchisonI was wondering who sergiusens did this "stage: - -usr/lib/python2.7/dist-packages/sphinxbase/*"  What's the signifier of using two dashes?20:56
aatchison*why20:56
zyga- is a list20:57
zygaand 2nd - is "exclude"20:57
zygaso a list containing one element that excludes usr/lib/python/...20:57
aatchisonoh!20:57
aatchisonThat's why it's not included :S20:57
aatchisonlol, thanks20:57
sergiusenselopio adt passed for yakkety on amd64; pushing to xenial now :-)20:58
LinuxGuy2020I really want to try and make some snap packages but so far it seems over my head. I'm not wanting to do anything crazy, just take already available debs from a given repository or ppa and turn it into a snap. I have no clue of what I have to put into the yaml file for that. Is there a easy guide for this thats not so cryptic for a non-developer to follow?20:59
chrisatleehi! I'm looking for tips on packaging an app that uses gtk21:10
zygaLinuxGuy2020: not sure if you want to do that if you're not a developer, some things can get confusing; try to snap something trivial first21:10
chrisatleehitting similar errors as https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1584357/comments/421:10
zygaLinuxGuy2020: do snapcraft init21:10
ubottuLaunchpad bug 1584357 in snapcraft (Ubuntu) "Snappy GTK applications" [Undecided,Confirmed]21:10
LinuxGuy2020zyga: Im not publishing for other people. Its just for my own personal use for now.21:11
zygaLinuxGuy2020: get one app written (apps are what is runnable from a snap)21:11
zygaLinuxGuy2020: then add one part that uses stage-packages to bring the debs you want inside21:11
zygaLinuxGuy2020: there are examples like that in snapcraft21:11
zygaLinuxGuy2020: sure21:11
zygachrisatlee: sorry, I'm not familiar with all the bits gtk needs to function21:13
zygachrisatlee: I'm sure gtk support will improve a lot soon but not tonight21:13
=== mwhudson_ is now known as mwhudson
tyhickszyga: even if we don't port safe_mounts(), we can rely on unshare(CLONE_NEWNS) to protect the system and other snaps from any symlink attacks via mount()21:16
tyhickszyga: a potential problem is that the snap can trick snap-confine into bind mounting over portions of the os snap inside of the app's mount namespace21:17
tyhickszyga: off the top of my head, I can't think of any attacks that it would allow but it does make me uneasy21:18
zygaok, Ill port safe mount then21:20
zygathanks :)21:20
tyhickszyga: I think that's the safest option21:20
sergiusenschrisatlee hey, wrt gtk, you might be interested in the snappy-playpen21:21
chrisatleesergiusens: yeah, I've been looking at some examples there21:22
chrisatleeusing after: [gtkconf]21:22
sergiusenschrisatlee https://github.com/ubuntu/snappy-playpen21:22
chrisatleeit's a little insane that unspecified parts are pulled from the wiki!21:23
chrisatleeis there a way to delete non-current snaps?21:31
sergiusenschrisatlee then you will like 2.12 http://blog.sergiusens.org/posts/The-Snapcraft-Parts-Ecosystem/21:32
=== bazhang_ is now known as bazhang
chrisatleeany tips on debugging 'bad system call' when running under non-devmode?22:00
zygachrisatlee: yes22:05
zygachrisatlee: please look at syslog (journalctl -f -n 100)22:05
zygachrisatlee: and look for the line that has syscall: 123 on it22:06
zygachrisatlee: 123 is the number of the system call, you can resolve it with various tools22:06
chrisatlee31722:07
zygachrisatlee: is this amd64 or another architecture?22:07
chrisatleeamd6422:07
chrisatleesig=31 arch=c000003e syscall=31722:07
zygathat's seccomp itselr22:07
zygaitself22:07
* zyga checks something22:07
zygachrisatlee: seccomp is allowed by default22:08
zygachrisatlee: something is not okay, can you report a bug with the line that lists the syscall 31722:08
zygachrisatlee: please open the bug on launchpad.net/snappy22:09
chrisatleeyeah, if I add seccomp and unshare to the policy, it kind of works22:21
chrisatleeand now it's being denied access to /proc/$PID/task/.../stat22:22
zygachrisatlee: it's better to report a bug on this, I wonder why seccomp was denied in the first place, seccomp is allowed for all programs22:37
zygachrisatlee: (though remember that it only allows you to constrain the profile more, not less)22:37
zygachrisatlee: what is the program you are trying to run?22:37
chrisatleezyga: firefox22:50
zygachrisatlee: firefox fro the package my have a nested apparmor/seccomp profile23:02
zygachrisatlee: those won't work, you'd have to strip them out23:02
zygachrisatlee: and also firefox probably uses seccomp internally but that should work23:02
zygachrisatlee: though it'd be best to report this issue an let us investigate23:02
chrisatleeyeah, it uses it internally23:03
zygachrisatlee: if you can, please include the snapcraft.yaml file so that we know what approach you've used23:03

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