Commit Graph

  • f788ecbf7a many: add optional primary key provenance to snap-revision, allow delegating via snap-declaration revision-authority Samuele Pedroni 2022-07-01 10:56:05 +02:00
  • 03305fdf29 cmd/snap: replace err equality checks w/ errors.Is() Miguel Pires 2022-07-01 09:30:06 +01:00
  • f71f544854 cmd/snap: format code Miguel Pires 2022-07-01 09:21:41 +01:00
  • ffb8895ef9 Merge branch 'master' into debug-conns Miguel Pires 2022-07-01 09:18:59 +01:00
  • e2e14f3c3e Merge pull request #11931 from sergiocazzolato/tests-fix-centos-7-fips-errors Michael Vogt 2022-07-01 10:08:19 +02:00
  • 9f1c2a308f Merge pull request #11927 from sergiocazzolato/tests-fix-snap-validate-enforce Michael Vogt 2022-07-01 10:00:04 +02:00
  • cf697aef05 Fix boringcripto errors in centos7 Sergio Cazzolato 2022-06-30 16:52:50 -03:00
  • 38e2d304c5 tests: force version 2.48.3 on xenial ESM Michael Vogt 2022-06-30 18:29:34 +02:00
  • b382b7edc0 interfaces: posix-mq: refactor AppArmor snippet generation Isaac True 2022-06-30 14:59:18 +02:00
  • 16991ecf7c Merge pull request #11925 from mardy/snap-repair-test-debug Michael Vogt 2022-06-30 14:47:54 +02:00
  • 73729ab839 interfaces: posix-mq: add check for zero-length paths Isaac True 2022-06-30 14:39:59 +02:00
  • 92b3f525d5 interfaces: posix-mq: allow specifying message queue paths as an array Isaac True 2022-06-30 12:06:04 +02:00
  • 72e633790a Merge pull request #11922 from MiguelPires/observer-mem-stats Miguel Pires 2022-06-30 10:31:22 +01:00
  • a8d11762d1 t/lib/fakestore/refresh: fix code for optional primary keys Samuele Pedroni 2022-06-30 09:52:36 +02:00
  • 050406375e asserts: clarify max-revision error Samuele Pedroni 2022-06-30 09:42:23 +02:00
  • 60c78e01b4 cmd/snap: fix rogue 'x' in output Philip Meulengracht 2022-06-30 09:19:30 +02:00
  • 4311949de3 Fix snap-validate-enforce in opensuse-tumbleweed Sergio Cazzolato 2022-06-29 19:40:03 -03:00
  • f47430b08a asserts: enforce a validity pattern for provenance Samuele Pedroni 2022-06-29 17:41:21 +02:00
  • b021737ebe asserts: have a single happy return in SnapRevision.checkConsistency Samuele Pedroni 2022-06-29 17:31:21 +02:00
  • 01ac06566e o/h/ctlcmd: rename kmod connection checker function Alberto Mardegan 2022-06-29 17:23:06 +03:00
  • d349857d02 o/assertstate: change for loop to range syntax Alberto Mardegan 2022-06-29 18:16:33 +03:00
  • 08b8adf62a test: print User-Agent on failed checks Alberto Mardegan 2022-06-29 12:05:05 +03:00
  • dca8e2c806 cmd/snap-confine: fix usage of undefined pointer Alberto Mardegan 2022-06-29 16:23:31 +03:00
  • 923eec0c1a Merge pull request #11924 from alexmurray/fix-gpio-implicit-on-core-classic Michael Vogt 2022-06-29 14:57:35 +02:00
  • ee10e8a0d9 Merge branch 'master' into snap-confine-tmpfs-compat Alberto Mardegan 2022-06-29 13:51:14 +03:00
  • 7d308fba61 o/h/ctlcmd: fix formatting Alberto Mardegan 2022-06-29 10:42:11 +03:00
  • 69f5537fa4 interfaces/pwm: Remove implicitOnCore/implicitOnClassic Alex Murray 2022-06-29 14:08:44 +09:30
  • fc1f83d304 Merge branch 'master' into kernel-module-load-dynamic Alberto Mardegan 2022-06-29 07:42:16 +03:00
  • c0c339903b many: change kmodFindConnection to return an error if match not found Alberto Mardegan 2022-06-29 07:31:55 +03:00
  • d431334308 Merge pull request #11856 from bboozzoo/bboozzoo/maybe-leap-15.4 Sergio Cazzolato 2022-06-28 18:23:14 -03:00
  • d588643c12 Merge pull request #11921 from sergiocazzolato/tests-disable-core20-to-core22 Sergio Cazzolato 2022-06-28 15:34:55 -03:00
  • 21b5ae73c3 interfaces: add memory stats to system_observe Miguel Pires 2022-06-28 17:13:38 +01:00
  • 6528d819bb Merge pull request #11918 from sergiocazzolato/tests-fix-nested-connections Michael Vogt 2022-06-28 15:58:18 +02:00
  • f5a7a16a55 Disable core20-to-core22 nested test Sergio Cazzolato 2022-06-28 10:32:42 -03:00
  • 76adfdd41c fish on openSUSE 15.4 somehow magically glues the ENV_* from su Sergio Cazzolato 2022-06-28 10:14:46 -03:00
  • c35638ef4f asserts: allow delegating snap-revision via snap-declaration revision-authority Samuele Pedroni 2022-06-17 16:00:48 +02:00
  • 6700c040c3 Properly restore for nested connections test Sergio Cazzolato 2022-06-27 11:04:28 -03:00
  • 4eb023c3b8 interfaces/modem-manager: Don't generate DBus policy for plugs Alex Murray 2022-05-19 21:51:56 +09:30
  • 382a81c90a interfaces/modem-manager: Only generate DBus plug policy on Core Alex Murray 2022-05-19 15:00:46 +09:30
  • d52f44d629 multiple: add a function for formatting the log namespace instead of redefining it Philip Meulengracht 2022-06-27 13:06:51 +02:00
  • cd37eabf02 daemon: add missing conversion logic Philip Meulengracht 2022-06-27 12:47:04 +02:00
  • fc63ca9480 Merge pull request #11908 from MiguelPires/debug-migrate-spread Miguel Pires 2022-06-27 10:57:28 +01:00
  • 05186f4061 cmd/snap: make quotes around the reported error optional as it has changed between go versions Philip Meulengracht 2022-06-15 10:53:06 +02:00
  • 10ceb9a155 cmd/snap: review feedback Philip Meulengracht 2022-06-15 09:23:06 +02:00
  • c569177bc0 many: add frontend for journal quotas Philip Meulengracht 2022-05-10 09:24:52 +02:00
  • ee1a45be2f Merge pull request #11888 from Meulengracht/bugfix/journal-quota-3 Michael Vogt 2022-06-27 11:01:42 +02:00
  • b397104910 Merge pull request #11889 from Meulengracht/bugfix/journal-quota-4 Michael Vogt 2022-06-27 10:21:05 +02:00
  • 1af28c497c Merge pull request #11862 from mvo5/nested-4k-sectors Michael Vogt 2022-06-27 09:21:15 +02:00
  • ed0c2290c2 Merge pull request #11913 from MiguelPires/fix-cmd-test-timezone Michael Vogt 2022-06-27 09:20:17 +02:00
  • 0f0e044827 Fixes for contacts and calendar services Sergio Cazzolato 2022-06-24 17:42:09 -03:00
  • d210f50c13 Adding packaging Sergio Cazzolato 2022-06-24 12:37:06 -03:00
  • d68ad2b109 Remove references to opensuse 15.2 Sergio Cazzolato 2022-06-24 12:06:43 -03:00
  • 86d933a925 Merge remote-tracking branch 'upstream/master' into bboozzoo/maybe-leap-15.4 Sergio Cazzolato 2022-06-24 12:05:49 -03:00
  • ced0597b35 Merge branch 'master' into bboozzoo/maybe-leap-15.4 Sergio Cazzolato 2022-06-24 12:05:11 -03:00
  • 16683e87bd cmd/snap: fix test failing due to timezone differences Miguel Pires 2022-06-24 15:44:52 +01:00
  • cd171a4ae4 tests: expanded test var Miguel Pires 2022-06-24 14:04:14 +01:00
  • fbc4f6985f overlord/servicestate: verify revision and snap on setup-profiles call Philip Meulengracht 2022-06-24 11:57:17 +02:00
  • 58d1cba591 interfaces/apparmor: update doc string to explain the new snap-* Philip Meulengracht 2022-06-24 11:36:30 +02:00
  • 44533f9cb6 many: introduce optional primary key provenance for snap-revision Samuele Pedroni 2022-06-17 13:36:26 +02:00
  • a73c5a368e tests: simplified migrate-home test Miguel Pires 2022-06-23 19:00:01 +01:00
  • 5f5461914f i/kmod/kmod_test: simplify variable declaration Alberto Mardegan 2022-06-22 16:44:12 +03:00
  • 9a171ccf9a o/h/ctlcmd/kmod: remove mixin interface Alberto Mardegan 2022-06-22 16:38:49 +03:00
  • 09904531a8 Merge branch 'master' into validation-sets/try-enforce-validation-sets Paweł Stołowski 2022-06-23 15:59:11 +02:00
  • e52554c22d Merge pull request #11903 from jhenstridge/use-ppa-for-snapd-build Michael Vogt 2022-06-23 15:57:49 +02:00
  • 5273e3451f Merge pull request #11905 from stolowski/validation-sets/snap-refresh-enforce-api Michael Vogt 2022-06-23 15:57:38 +02:00
  • a52d709634 Tweak error messages coming from ParseValidationSet helper. Paweł Stołowski 2022-06-23 15:55:32 +02:00
  • 85ae240486 Fix comment placement Paweł Stołowski 2022-06-23 15:47:12 +02:00
  • 9199c3ae0f Cover all error cases from ParseValidationSet. Paweł Stołowski 2022-06-23 14:49:12 +02:00
  • 599a3584b8 Implementation of assertstate.TryEnforceValidationSets function. The function tries to enforce extra validation sets passed to it (and updates v-s tracking state) or returns an error. ValidationSetsValidationError can be used by the caller to resolve validation issues and retry. Paweł Stołowski 2022-06-23 12:15:57 +02:00
  • a294aa86ba tests: check that /run/mnt/gadget is mounted Alfonso Sánchez-Beato 2022-06-23 11:30:01 +02:00
  • a0602036a1 Merge pull request #11901 from mvo5/apt-install-qemu-user-static Miguel Pires 2022-06-23 11:30:19 +01:00
  • bcb3478ad8 cmd/snap-bootstrap: use gadget/device Maciej Borzecki 2022-06-23 10:49:00 +02:00
  • 6ab1a280f9 o/devicestate: use gadget/device Maciej Borzecki 2022-06-22 14:51:21 +02:00
  • 9cf01e2ce8 gadget: use gadget/device Maciej Borzecki 2022-06-22 14:51:14 +02:00
  • 31d6722101 boot: use gadget/device Maciej Borzecki 2022-06-22 14:51:06 +02:00
  • 1f7af0eef3 gadget/device: introduce package which provides helpers for locations of things Maciej Borzecki 2022-06-22 14:50:35 +02:00
  • cfc72eca33 boot: update modenv when the gadget is refreshed Alfonso Sánchez-Beato 2022-06-21 18:08:47 +02:00
  • fa2ea0c1f6 many: add Gadget() method to device interface Alfonso Sánchez-Beato 2022-06-22 11:46:40 +02:00
  • d5bb550539 boot: copy gadget to data partition Alfonso Sánchez-Beato 2022-06-17 18:38:00 +02:00
  • 5c3aec6b3e overlord: add gadget data to BootableSet Alfonso Sánchez-Beato 2022-06-17 15:48:12 +02:00
  • 8d02ba64dd image: initialialize BootableSet with gadget data too Alfonso Sánchez-Beato 2022-06-17 15:47:47 +02:00
  • d57af017bc cmd/snap-bootstrap: mount gadget from initramfs Alfonso Sánchez-Beato 2022-06-17 15:46:49 +02:00
  • 07bf5b02e7 boot: mount gadget from initramfs Alfonso Sánchez-Beato 2022-06-17 15:45:21 +02:00
  • 25a5f2be73 Merge branch 'master' into validation-sets/snap-refresh-enforce-api Paweł Stołowski 2022-06-23 11:13:53 +02:00
  • 86aa92e632 tests: add spread test for migrate-home cmd Miguel Pires 2022-06-08 12:36:15 +01:00
  • 9a533f18fc Merge pull request #11864 from MiguelPires/cmd-daemon-migrate Michael Vogt 2022-06-23 10:15:59 +02:00
  • 8eac8cc699 Merge pull request #11904 from stolowski/validation-sets/storehelpers-revisionopts-vs Pawel Stolowski 2022-06-23 09:57:26 +02:00
  • 1746c0fd97 Naming/clarification tweaks. Paweł Stołowski 2022-06-23 09:32:50 +02:00
  • 6b85841cee Naming tweaks. Paweł Stołowski 2022-06-22 17:09:54 +02:00
  • 51f2364751 Implement api handler for refresh with validation sets (i.e. for snap validate --enforce --refresh .... The two critical functions (snapstate.EnforceSnaps and assertstate.TryEnforceValidationSets are still stubs). Paweł Stołowski 2022-06-22 12:57:23 +02:00
  • 3a871f56a3 Fix test comment. Move ValidationSets field after Revision. Paweł Stołowski 2022-06-22 17:47:29 +02:00
  • e3181f92e5 Merge pull request #11906 from bboozzoo/bboozzoo/snapd-apparmor-unit-test-reexec-check Michael Vogt 2022-06-22 17:00:34 +02:00
  • 73364827ab tests: update interfaces-kernel-module-load to match error message Alberto Mardegan 2022-06-22 16:37:53 +03:00
  • d6d15e11a3 Merge remote-tracking branch 'upstream/master' into nested-4k-sectors Sergio Cazzolato 2022-06-22 10:11:58 -03:00
  • bf86a081d7 cmd/snapd-apparmor: fix unit tests on distros which do not support reexec Maciej Borzecki 2022-06-22 14:57:12 +02:00
  • ef6e273ad0 Merge branch 'master' into nested-4k-sectors Sergio Cazzolato 2022-06-22 10:11:36 -03:00
  • 4373048639 Merge pull request #11898 from bboozzoo/bboozzoo/factory-reset-post-cleanup Michael Vogt 2022-06-22 15:02:27 +02:00
  • 82d197acb0 Merge pull request #11893 from valentindavid/valentindavid/basic20-on-uc22 Michael Vogt 2022-06-22 12:29:41 +02:00
  • afe17c6073 Support requesting validation sets with RevisionOptions and handle it in installInfo and updateToRevisionInfo store helpers. This is to allow enforcing validation sets and install/refresh required snaps to satisfy their constraints. Paweł Stołowski 2022-06-22 11:33:25 +02:00
  • dd01b31a8b interfaces/apparmor: revert approach, but make it a tad more specific by including snap prefix Philip Meulengracht 2022-06-22 09:53:58 +02:00