First time snapcraft user having issues

Robert Park robert.park at canonical.com
Wed Sep 14 03:08:04 UTC 2016


Hi all,

So I want to snap up a script that needs root and does administrative
stuff on the host system. I realize this goes against snaps' goals of
being all secure and confined, is there any way I can list a plug in
my 'plugs:' that would give me root on the users computer, perhaps
giving the user a giant warning that they're installing something that
can break their system? Basically I don't want any confinement in my
snap at all.

Also, is there a way to get a list of possible plugs? The
documentation only hints that network and network-bind exist, I found
some others by googling other people's snapcraft.yamls, but there
doesn't seem to be a way to query what the valid set of possible plugs
are (yeah, I suppose you could put anything in there, but I mean I
need to query what sockets exist that would make sense to put as my
plugs).

Thanks.

-- 
robru




More information about the Snapcraft mailing list