Commit Graph

  • 88a15c7d50 Merge pull request #10582 from sergiocazzolato/tests-update-nested-wait-for-snapd-command Michael Vogt 2021-08-04 13:51:56 +02:00
  • 24024ce545 tests/interfaces/tee: fix HasLen check for udev snippets Ian Johnson 2021-08-03 15:22:28 -05:00
  • 250f6f771c interfaces/tee: add support for Qualcomm qseecom device node Ondrej Kubik 2021-08-03 17:38:29 +01:00
  • 9d9e195518 o/snapstate: actually check affected snap data Samuele Pedroni 2021-08-03 18:02:30 +02:00
  • 020a1f9b76 sysconfig/cloudinit.go: measure (but don't use) gadget cloud-init datasource Ian Johnson 2021-07-28 16:25:42 -05:00
  • db79c750ce tests/nested/manual/grade-signed-cloud-init-testkeys: check serial assert too Ian Johnson 2021-08-03 10:39:49 -05:00
  • 5abd30f979 Merge branch 'master' into feature/nested-testkeys-serial-assertions Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-08-03 10:38:42 -05:00
  • 2c30a50b8d gadget: check for system-save with multi volumes if encrypting correctly Samuele Pedroni 2021-07-16 14:40:33 +02:00
  • fa8fe77199 gadget: drive-by: drop unecessary/supported passthrough in test gadget.yaml Samuele Pedroni 2021-07-16 14:46:56 +02:00
  • b7c8be4384 Merge branch 'master' into tests-update-nested-wait-for-snapd-command Sergio Cazzolato 2021-08-03 10:43:22 -03:00
  • 20144ab3ce Merge remote-tracking branch 'upstream/master' into go1.13-fallout Michael Vogt 2021-08-03 12:55:31 +02:00
  • bc6a45fe3f Merge pull request #10574 from jhenstridge/desktop-iface-gtk-css Michael Vogt 2021-08-03 12:50:48 +02:00
  • c8e3eb03e2 Merge pull request #10579 from anonymouse64/bugfix/snapcraft-4-x-for-snapd-snap Michael Vogt 2021-08-03 12:41:51 +02:00
  • d54d316149 Update wording Sergio Cazzolato 2021-08-02 13:02:31 -03:00
  • 8f60a5ebc1 Fixed order Sergio Cazzolato 2021-07-30 10:27:16 -03:00
  • 60dbeb6559 Prepare nested tools after snapd command is ready Sergio Cazzolato 2021-07-30 09:56:47 -03:00
  • e9385146af cmd/snap-device-helper: verify sc_device_cgroup_new flags in unit tests Maciej Borzecki 2021-07-30 14:39:24 +02:00
  • a430b18777 cmd/libsnap-confine-private: SC_DEVICE_CGROUP_FROM_EXISTING must be non 0 Maciej Borzecki 2021-07-30 14:39:02 +02:00
  • 1d3584026c tests: change api-client test snap to use core18 for 32-bit support James Henstridge 2021-07-30 20:40:32 +08:00
  • 7db5c18edf Add AffectedByRefreshCandidates helper for use outside of snapstate. Paweł Stołowski 2021-07-30 12:22:26 +02:00
  • fb934c3f73 tests/main/snap-device-helper-nvme: drop a spread test Maciej Borzecki 2021-07-30 12:10:12 +02:00
  • fe3cee6b30 cmd/snap-device-helper: add a unit test for nvme handling Maciej Borzecki 2021-07-30 12:09:39 +02:00
  • 28e94048f3 cmd/snap-device-helper: drop unnecessary setup in unit tests Maciej Borzecki 2021-07-30 12:08:53 +02:00
  • 7124314644 tests: expand spread test to cover access via snapd-snap.socket James Henstridge 2021-07-30 15:20:59 +08:00
  • 8d883cd57f Refactor affectedByRefresh to take snap names instead of snap.Infos argument as current infos of all snaps need to be checked internally anyway. Paweł Stołowski 2021-07-30 10:57:20 +02:00
  • e1febfe994 Add extra test case for ensuring that current info is used for calculating affected snaps. Paweł Stołowski 2021-07-30 09:46:51 +02:00
  • 7e1f0ef8d0 tests: convert theme-install spread test to use an in-tree snap for API calls James Henstridge 2021-07-29 20:00:09 +08:00
  • d0815c4c3b tests/main/snapd-snap: install 4.x snapcraft to build the snapd snap Ian Johnson 2021-07-29 19:14:26 -05:00
  • 6ce259d0d7 overlord/devicestate: produce a more specific error for pre-UC20 to UC20 remodels Maciej Borzecki 2021-07-29 14:19:12 +02:00
  • 17d845d4fa Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-enable Maciej Borzecki 2021-07-29 13:54:36 +02:00
  • ee00cf0a61 Change affectedByRefresh implementation to consider the snap being updated as affecting itself instead of adding self-dependency externally after calling this function. Make affectedSnapInfo exported. Pass current snap infos rather than upcoming updates infos to affectedByRefresh. Paweł Stołowski 2021-07-29 12:42:09 +02:00
  • 501abc3e7d gitignore: add snap-device-helper binaries Maciej Borzecki 2021-07-29 11:15:20 +02:00
  • 4163daa79a Add test case for intersection of affecting snaps between gating snap calling --proceed and other gating snaps. Paweł Stołowski 2021-07-14 16:18:05 +02:00
  • 5b500d1457 Simplify the loop that computesthe list of names of updated snaps. Paweł Stołowski 2021-07-13 13:54:11 +02:00
  • 8fba8ccbfe Reword/simplify comments. Tweak the condition for running the update for forGatingSnap, it should be based on available updates, not on affectedSnaps lookup. Paweł Stołowski 2021-07-13 13:26:48 +02:00
  • 13ba4eb14b Remove unneeded SnapManager access via cached key. Paweł Stołowski 2021-07-09 13:04:46 +02:00
  • 0dc319b001 Re-work the logic to consider other gating snaps affected by updates that affected the gating snap that called --proceed. Paweł Stołowski 2021-07-09 12:51:43 +02:00
  • 581f3a9284 Implement AutoRefreshForGatingSnap method for refreshing all snaps previously held by the given gating snap. This will be used by snapctl refresh --proceed from snaps. Paweł Stołowski 2021-07-09 09:17:28 +02:00
  • 36afb87495 Merge pull request #10567 from bboozzoo/bboozzoo/arch-new-squashfs-tools Michael Vogt 2021-07-29 10:45:39 +02:00
  • b60fa5f9ec cmd/snap-device-helper: reimplement snap-device-helper Maciej Borzecki 2021-07-28 12:18:07 +02:00
  • 66a467319b cmd/libsnap-confine-private: allow creating cgroup wrappers for existing device cgroup (v1) Maciej Borzecki 2021-07-29 09:52:27 +02:00
  • b8a472ad9a cmd/snap-confine, libsnap-confine-private: allow creating device cgroup wrappers for existing cgorups Maciej Borzecki 2021-07-29 09:49:53 +02:00
  • b1756d681a cmd/libsnap-confine-private: helper to deny a device in device cgroup (v1) Maciej Borzecki 2021-07-29 09:47:24 +02:00
  • 4ef45a4246 cmd/snap-confine: move device cgroup support to libsnap-confine-private Maciej Borzecki 2021-07-29 09:14:03 +02:00
  • 9bcf57b3f8 cmd/snap-confine: move cgroup support to separate files Maciej Borzecki 2021-07-28 08:56:10 +02:00
  • d8e0d1e818 tests: fix app name in test snap James Henstridge 2021-07-29 11:11:15 +08:00
  • 1b24c98c26 interfaces/builtin: allow access to per-user GTK CSS overrides James Henstridge 2021-07-29 10:46:37 +08:00
  • de69683264 Merge remote-tracking branch 'upstream/master' into tests-revert-manuall-lxd-removal Sergio Cazzolato 2021-07-28 16:47:31 -03:00
  • 25b3dda50c Merge pull request #10535 from stolowski/validation-sets/required-and-invalid-helpers Pawel Stolowski 2021-07-28 16:02:44 +02:00
  • 8641b404bb Merge pull request #10547 from bboozzoo/bboozzoo/cgroupv2-device-refactor Michael Vogt 2021-07-28 15:45:09 +02:00
  • b46fb6b3a4 daemon: apply themes access checkers to theme API endpoint James Henstridge 2021-07-28 18:23:07 +08:00
  • 057993ac08 daemon: add themesAuthenticatedAccess access checker James Henstridge 2021-07-28 18:15:26 +08:00
  • ca054f2985 daemon: add unit tests for themesOpenAccess access checker James Henstridge 2021-07-28 17:53:01 +08:00
  • 2428aacfb8 daemon: add an access checker that allows access on snapd-snap.socket from snaps with snapd-theme-control plugged. James Henstridge 2021-07-22 14:59:35 +08:00
  • 193e445f75 interfaces: add snapd-themes-control marker interface James Henstridge 2021-07-21 17:14:02 +08:00
  • f333d17209 Merge pull request #10564 from sergiocazzolato/tests-fix-nfs-support-2 Michael Vogt 2021-07-27 18:37:38 +02:00
  • 782617574a Merge pull request #10565 from bboozzoo/bboozzoo/new-glib-gtest Michael Vogt 2021-07-27 18:37:05 +02:00
  • 8ab0d32d68 Merge pull request #10566 from woodrow-shen/fix-summary-typo Michael Vogt 2021-07-27 18:35:57 +02:00
  • 70ce78b62c Merge pull request #10569 from bboozzoo/bboozzoo/go-1.13-test-workflow Michael Vogt 2021-07-27 18:34:28 +02:00
  • e4ccda82a0 github: enable gofmt for go 1.13 jobs Maciej Borzecki 2021-07-27 16:24:42 +02:00
  • 80f1c7c99c tests/nested/manual/core20-remodel: prepare tests tooling when in recover mode Maciej Borzecki 2021-07-27 15:52:09 +02:00
  • f8c97ec364 packaging: fix build failure on bionic and simplify rules Michael Vogt 2021-07-27 10:42:50 +02:00
  • dfba7de59a snap/squashfs: handle squashfs-tools 4.5+ Maciej Borzecki 2021-07-27 14:13:57 +02:00
  • 5f94066e98 interfaces: s/specifc/specific/ Hsieh-Tseng Shen 2021-07-27 17:53:14 +08:00
  • 46cbfa6716 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-remodel-enable Maciej Borzecki 2021-07-27 10:05:58 +02:00
  • be50f84d42 Merge pull request #10510 from bboozzoo/bboozzoo/uc20-remodel-set-model Michael Vogt 2021-07-27 10:04:51 +02:00
  • 243900000f cmd/libsnap-confine-private: g_spawn_check_exit_status is deprecated since glib 2.69 Maciej Borzecki 2021-07-27 09:46:29 +02:00
  • 62e5ce5694 Merge pull request #10536 from anonymouse64/feature/uc20-cloud-init-maas-support-1 Maciej Borzecki 2021-07-27 09:32:02 +02:00
  • d948ceef7d configcore: register virtual config for timezone reading Michael Vogt 2021-05-12 12:53:07 +02:00
  • 8e094d70b3 Add doc comment to PresenceConstraintError. Paweł Stołowski 2021-07-27 08:18:29 +02:00
  • cc9cf4dfdf Fix format. Paweł Stołowski 2021-07-20 08:30:02 +02:00
  • 9b47121247 Introduce PresenceConstraintError. Paweł Stołowski 2021-07-19 16:00:17 +02:00
  • b8afc08fe1 Return an error from CheckPresenceRequired and CheckPresenceInvalid if the presence if opposite to what the function is about. Paweł Stołowski 2021-07-16 13:29:08 +02:00
  • 64807cb59c Implement CheckPresenceInvalid and CheckPresenceRequired methods for ValidationSets. Paweł Stołowski 2021-07-15 17:11:28 +02:00
  • 26a7ab7b6a Merge pull request #10264 from mvo5/feature/virtual-config-1 Michael Vogt 2021-07-26 16:38:58 +02:00
  • fa8009f80e Skip udp protocol on latest ubuntus because it is not supported Sergio Cazzolato 2021-07-26 11:35:37 -03:00
  • 4c9fb46ff7 Merge branch 'master' into tests-revert-manuall-lxd-removal Sergio Cazzolato 2021-07-26 08:20:10 -03:00
  • 2391e69bd4 Merge pull request #10440 from mvo5/switch-to-golang-1.13 Michael Vogt 2021-07-26 10:01:39 +02:00
  • 1ae7b1d800 Merge pull request #10533 from mvo5/snap-login-help-cleanup Michael Vogt 2021-07-26 09:56:13 +02:00
  • 393e159915 Merge pull request #10555 from sergiocazzolato/tests-remove-ubuntu-2010 Michael Vogt 2021-07-26 09:27:18 +02:00
  • 7a681acb80 Merge pull request #10560 from sergiocazzolato/tests-fix-lxd-leftover Michael Vogt 2021-07-26 09:24:53 +02:00
  • 804dcc7a36 Merge branch 'master' into tests-remove-ubuntu-2010 Sergio Cazzolato 2021-07-23 17:12:17 -03:00
  • c965a68bbd Stopping the unit is enough Sergio Cazzolato 2021-07-23 15:44:43 -03:00
  • 01b9625583 Revert "Remove lxd systemd unit to prevent unexpected leftovers on postrm-purge test" Sergio Cazzolato 2021-07-23 13:27:35 -03:00
  • 388e549658 Remove lxd systemd unit to prevent unexpected leftovers on postrm-purge test Sergio Cazzolato 2021-07-23 13:25:09 -03:00
  • 3b45499f23 Merge pull request #10558 from anonymouse64/tests/tweak-variant-name Pawel Stolowski 2021-07-23 16:52:02 +02:00
  • d3a74b498d Merge remote-tracking branch 'upstream/master' into switch-to-golang-1.13 Michael Vogt 2021-07-23 16:12:45 +02:00
  • e767f7c8a0 Merge pull request #10556 from sergiocazzolato/tests-fix-error-cgroup-tracking Michael Vogt 2021-07-23 15:42:53 +02:00
  • 5e1180e620 Merge pull request #10551 from stolowski/fix-explicit-services Michael Vogt 2021-07-23 15:04:33 +02:00
  • 3d10a23d12 tests/main/services-install-hook-can-run-svcs: make variants more obvious Ian Johnson 2021-07-23 06:49:46 -05:00
  • 41a7925c83 Add TODO re explicitServices argument of RestartServices. Paweł Stołowski 2021-07-23 10:27:33 +02:00
  • 332876072a Remove invalid comment. Paweł Stołowski 2021-07-23 08:31:01 +02:00
  • d9ce74e96d Extra comment. Paweł Stołowski 2021-07-21 12:27:03 +02:00
  • ef912e253d Use snap app names for ExplicitServices of ServiceAction. This keeps it consistent with existing Service field. Paweł Stołowski 2021-07-21 12:24:02 +02:00
  • b5aafce2cb tests/main/services-install-hook-can-run-svcs: add variant w/o --enable Samuele Pedroni 2021-07-23 11:56:25 +02:00
  • 213b1e8fef Merge branch 'bboozzoo/uc20-remodel-set-model' into bboozzoo/uc20-remodel-enable Maciej Borzecki 2021-07-23 08:40:59 +02:00
  • 5eebb100af tests/lib/reset: try to stop the snapd session-agent socket Maciej Borzecki 2021-07-23 08:17:08 +02:00
  • 3911a6029d tests/lib/reset: drop unnecessary newline Maciej Borzecki 2021-07-23 08:16:50 +02:00
  • 331436ff25 Force snapd-session-agent.socket fto be re-generated Sergio Cazzolato 2021-07-23 00:47:36 -03:00
  • 011286cade tests/main/services-install-hook-can-run-svcs: add variant w/o --enable Ian Johnson 2021-07-20 08:44:38 -05:00