Class confinement for Python snaps

Steve Langasek steve.langasek at canonical.com
Fri Mar 10 18:35:39 UTC 2017


On Fri, Mar 10, 2017 at 04:02:54PM +0000, Sergio Schvezov wrote:
> On Fri, 10 Mar 2017 10:14:04 -0500, Barry Warsaw wrote:
> > I'm converting ubuntu-image from a devmode snap to a classic snap, but I'm
> > running into some problems.  ubuntu-image is a Python 3 application, and I'm
> > using snapcraft 2.27.1+17.4 on Zesty.

> Any reaosn you are moving from devmode to classic?  The progression should
> be classic->devmode->strict

ubuntu-image is a commandline tool that operates on arbitrary files on the
filesystem at the user's instruction.  This seems to be in the wheelhouse
for classic snaps - and certainly, the /tmp issue is very confusing for
users and AFAICS isn't truly solvable outside of classic mode.

Given this, I don't see any reason we would want to move ubuntu-image from
classic to strict mode.  Do you disagree?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170310/6b6cc394/attachment.sig>


More information about the Snapcraft mailing list