-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
overlord/snapstate: do a minimal sanity check on containers
This introduces validateContainer, that uses snap.Container's Walk to do a minimal sanity check of the container in question. With this, a snap that has an obvious problem due to e.g. a missing or non-executable app, or an unreadable snap.yaml, will fail to install. The error message will alert the user to contact the snap developers, and the system's log will contain additional details meant for the developers themselves.
- Loading branch information
Showing
7 changed files
with
445 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.