Packaging Apps To Run on Any Linux Device
It's a Snap!
To dev or Not to dev
Developer mode (devmode
) offers a much looser set of controls, in the sense that, rather than actions being blocked, warnings are sent to Syslog (usually into one of the /var/log/messages
or /var/log/syslog
files, depending on the distribution). Some detail in the debugging documentation [7] explains that you should always add the --devmode
option explicitly when you install a snap for sandbox work – even if you've loosened your security confinement settings within your YAML configuration file (snapcraft.yaml
).
It's a Classic
To run a snap in a no-holds-barred, throwing-caution-to-the-wind mode, you select --classic
, wherein the snap treats the host resources as its own. In the Snap Store, where a full catalog of snaps can be downloaded, any snaps set to run in classic
mode are scrutinized by a human for safety reasons. I'll look in-depth about how you can develop your apps in classic
mode in a moment.
Automatic Updates
Automatic updates are a natty addition. In the background, the current version of your snaps are checked against the latest versions and then updated if required on a daily basis. You can also use the refresh
option to make sure you have the latest versions.
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.