-
cmd/snap-confine: allow running snap-exec without confinement
zyga committedAug 23, 2017 This is a openSUSE specific patch that I think only makes sense in the case when snap-confine is confined but snap applications are not. Proposed to gather feedback. Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
-
cmd/snap-confine: allow reading /proc/filesystems
zyga committedAug 23, 2017 This rule is required to make snap-confine work on openSUSE tumbleweed. The rule is presumably required by selinux as seen in the following strace fragment: 23075 statfs("/sys/fs/selinux", 0x7ffdaa3ad9b0) = -1 ENOENT (No such file or directory) 23075 statfs("/selinux", {f_type=BTRFS_SUPER_MAGIC, f_bsize=4096, f_blocks=10486528, f_bfree=6317286, f_bavail=5992378, f_files=0, f_ffree=0, f_fsid={val=[2999193500, 2112688126]}, f_namelen=255, f_frsize=4096, f_flags=ST_VALID|ST_RELATIME}) = 0 23075 brk(NULL) = 0x20b4000 23075 brk(0x20d5000) = 0x20d5000 23075 open("/proc/filesystems", O_RDONLY) = 3 Signed-off-by: Zygmunt Krynicki <me@zygoon.pl> -
cmd/snap-confine: allow using additional libraries required by openSUSE
zyga committedAug 23, 2017 On openSUSE tumbleweed I need a few more rules to successfully run snap-confine under apparmor. This includes libresolv, libpcre and ironically libselinux. Since snap-confine links to libcap dynamically we also need an entry for this. All entries are duplicated for the helper hat profile. Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
-
cmd/snap-confine: genearlize apparmor profile for various lib layout
zyga committedAug 23, 2017 Depending on the distribution at hand we the conceptual "/lib" may be at /lib or /usr/lib, the "lib" directory may be spelled lib, lib32, lib64 or even libx32. It may be optionally followed by a multiarch suffix. This patch applies those rules to all the shared libraries we need to map and read. Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
-
Merge pull request #3581 from jhenstridge/polkit-support
mvo5 committedAug 23, 2017 daemon: add polkit support to /v2/login
-
polkit: clean ups based on mvo's review.
jhenstridge committedAug 23, 2017 -
Merge pull request #3569 from stolowski/snapctl-numbers-format
mvo5 committedAug 23, 2017 snapd,snapctl: decode json using Number
-
Merge remote-tracking branch 'upstream/master' into HEAD
mvo5 committedAug 23, 2017 -
Merge pull request #3782 from mvo5/go-vet-zesty
mvo5 committedAug 23, 2017 client: fix go vet 1.7 errors
-
Merge remote-tracking branch 'upstream/master' into HEAD
mvo5 committedAug 22, 2017 -
fix {Restart,Stop}Options parameters
mvo5 committedAug 22, 2017 -
Merge pull request #3783 from mvo5/shellcheck-zesty
zyga committedAug 22, 2017 tests: make 17.04 shellcheck clean
-
Merge pull request #3741 from mvo5/remove-test-interfaces-help-master
zyga committedAug 22, 2017 tests: remove TestInterfacesHelp as it breaks when go-flags changes
-
Merge branch 'master' into snapctl-numbers-format
stolowski committedAug 22, 2017 -
Merge remote-tracking branch 'upstream/master' into go-vet-zesty
mvo5 committedAug 22, 2017 -
Merge remote-tracking branch 'upstream/master' into shellcheck-zesty
mvo5 committedAug 22, 2017 -
tests: make 17.04 shellcheck clean
mvo5 committedAug 22, 2017 -
mvo5 committed
Aug 22, 2017 -
Merge pull request #3757 from mvo5/core-revert-restart-no-integration
mvo5 committedAug 22, 2017 snapstate: undo a daemon restart on classic if needed
-
cmd/snap-repair: recover brand/model from /var/lib/snapd/seed/asserti…
pedronis committedAug 22, 2017 …ons checking signatures and brand account This adds code to initialise snap-repair state with brand/model recovered from /var/lib/snapd/seed/assertions.
-
Merge remote-tracking branch 'upstream/master' into core-revert-resta…
mvo5 committedAug 22, 2017 …rt-no-integration
-
Merge pull request #3774 from zyga/tweak/use-unsaf-io-for-testing
zyga committedAug 22, 2017 spread: opt into unsafe IO during spread tests
-
consider first trust hardcoded trusted and support streams with all t…
pedronis committedAug 22, 2017 …he keys
-
Merge remote-tracking branch 'upstream/master' into repair-init-devic…
pedronis committedAug 22, 2017 …e-info
-
Merge branch 'master' of github.com:snapcore/snapd into tweak/use-uns…
zyga committedAug 22, 2017 …af-io-for-testing
-
Merge pull request #3776 from mvo5/fix-master-snap-repair
zyga committedAug 22, 2017 snap-repair: update snap-repair/runner_test.go for API change in makeMockServer
-
update snap-repair/runner_test.go for API change in makeMockServer
mvo5 committedAug 22, 2017 -
cmd/snap-repair: skeleton code around actually running a repair (#3565)
niemeyer committedAug 22, 2017
-
Make updateKeyValueStream reject unsupported options
pedronis committedAug 21, 2017 Also this fixes the proxy settings' keys which were wrong but that was unnoticed.
-
tests: wait until the port is listening after start the fake store (#…
…3772) This change is to fix the tests refresh-all and refresh-all-undo by waiting util the fake store is ready to be contacted. Based on different tests done on PR 3768, 3770 and 3771 it is clear the problem is because the store is not ready when snap refresh is executed and it is causing the error seen in the autopkgtests.
-
spread: opt into unsafe IO during spread tests
zyga committedAug 17, 2017 This patch enables a variable now honored by our atomic file write helpers. As referenced earlier it offers massive improvements in time needed to perform certain tests. Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
-
Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
-
Merge branch 'master' into snapctl-numbers-format
stolowski committedAug 21, 2017 -
cmd/snap-repair: test that redirects works during fetching (#3766)
pedronis committedAug 21, 2017 -
Merge pull request #3725 from zyga/tweak/allow-disabling-sync-for-tests
zyga committedAug 21, 2017 osutil: honor SNAPD_UNSAFE_IO for testing