Access to other commands

Leo Arias leo.arias at canonical.com
Tue Sep 27 15:46:09 UTC 2016


On Fri, Sep 23, 2016 at 6:40 AM, Jamie Strandboge <jamie at canonical.com>
wrote:

> On Thu, 2016-09-22 at 20:13 -0600, Leo Arias wrote:
> I don't see a snapcraft.yaml in that tree.


It's here: https://github.com/elopio/htop/blob/snapcraft/snapcraft.yaml


> There is an htop snap in the store
> and you need to connect the process-control and system-observe interfaces:
>
> $ sudo snap install htop
> $ sudo snap connect htop:process-control ubuntu-core:process-control
> $ sudo snap connect htop:system-observe ubuntu-core:system-observe
> $ htop
>
> (no denials)
>
> That is in strict mode. You can also install in devmode but you need to
> connect
> the interfaces for the log messages to go away. This is because devmode
> reports
> (but allows) violations against policy. If you don't connect the
> interfaces then
> the accesses aren't part of the allowed policy and you will see a lot of
> policy
> violations.
>

That's awesome. Have you tried to land it in the repo upstream?

-- 
¡paz y baile!
http://www.ubuntu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160927/d242183c/attachment.html>


More information about the Snapcraft mailing list