Commit Graph

  • ba703e9541 boot: device change Maciej Borzecki 2021-06-10 13:37:28 +02:00
  • 158d0cee7f boot: internal helpers for manipulating models in modeenv Maciej Borzecki 2021-06-25 14:20:22 +02:00
  • 1755a64389 store: make the log with download size a debug one Samuele Pedroni 2021-06-28 14:12:53 +02:00
  • 5e4eeae5ef cmd/snap-update-ns: Revert "cmd/snap-update-ns: add SRCDIR to include search path" Samuele Pedroni 2021-06-28 14:11:21 +02:00
  • cc2fd2cf2a Fix shellcheck on tests Sergio Cazzolato 2021-06-28 07:28:32 -03:00
  • e93d5462ce Merge pull request #10462 from pedronis/shift-system-mode-method Michael Vogt 2021-06-28 09:17:00 +02:00
  • 44df8abe9f o/devicestate: tweak SystemMode doc comment Samuele Pedroni 2021-06-09 10:26:03 +02:00
  • 0522125bf7 daemon,o/devicestate: have DeviceManager.SystemMode take an expectation on the system Samuele Pedroni 2021-06-03 18:41:41 +02:00
  • 1d978eff2e Revert "cmd/snap-update-ns: add SRCDIR to include search path" Maciej Borzecki 2021-06-28 08:24:33 +02:00
  • 1b8f6daa23 Use any-python for retry tool Sergio Cazzolato 2021-06-26 16:37:23 -03:00
  • 7fe87960ea New parameter to set env vars used by retry tool Sergio Cazzolato 2021-06-26 16:34:32 -03:00
  • a6f73f1539 Using initial approach Sergio Cazzolato 2021-06-25 17:38:01 -03:00
  • c39fc19ecf o/devicestate: move SystemMode method before first usage Samuele Pedroni 2021-06-25 21:58:03 +02:00
  • 64257b5a67 Fix shellcheck Sergio Cazzolato 2021-06-25 15:37:26 -03:00
  • 955d5781ef Merge pull request #10445 from sergiocazzolato/tests-fix-snap-advise-command-on-store-error Sergio Cazzolato 2021-06-25 15:15:04 -03:00
  • d3b128f963 Update retry command Sergio Cazzolato 2021-06-25 14:36:00 -03:00
  • 9242fb8256 many: turn Contact into an accessor Samuele Pedroni 2021-06-25 19:10:08 +02:00
  • fb48912566 Merge pull request #10432 from bboozzoo/bboozzoo/uc20-reseal-with-try-model Maciej Borzecki 2021-06-25 16:22:05 +02:00
  • e914888a88 Merge pull request #10408 from stolowski/refresh-control/hook-handler Pawel Stolowski 2021-06-25 16:10:52 +02:00
  • b9967aa462 store: make the log with download size a debug one Maciej Borzecki 2021-06-25 16:08:18 +02:00
  • f3e821a7cc cmd/libsnap-confine-private: bump max depth of groups hierarchy to 32 Maciej Borzecki 2021-06-25 16:03:34 +02:00
  • 3f0bf88880 Merge pull request #10426 from sergiocazzolato/tests-fix-snap-user-dir-perms-fixed Sergio Cazzolato 2021-06-25 10:57:02 -03:00
  • 62b6172992 Merge pull request #10436 from bboozzoo/bboozzoo/cgroupv2-stale-occupied-check-s-c Michael Vogt 2021-06-25 14:42:01 +02:00
  • ba14a59e08 Merge remote-tracking branch 'upstream/master' into tests-fix-snap-user-dir-perms-fixed Sergio Cazzolato 2021-06-25 09:16:31 -03:00
  • 51e6ae038c Merge remote-tracking branch 'upstream/master' into tests-fix-snap-advise-command-on-store-error Sergio Cazzolato 2021-06-25 09:15:47 -03:00
  • 3ed7abca1e o/servicestate: stop setting DoneStatus prematurely for quota-control Samuele Pedroni 2021-06-22 20:30:56 +02:00
  • ef7257b02f boot: leave TODO about relaxing model ID comparison Maciej Borzecki 2021-06-25 12:35:28 +02:00
  • f9c34d3c6b Fix format. Paweł Stołowski 2021-06-25 11:59:12 +02:00
  • 3636765f0e Add a TODO. Paweł Stołowski 2021-06-25 11:26:01 +02:00
  • fe40f9942f Ignore gate-auto-refresh hook errors. Paweł Stołowski 2021-06-25 10:34:54 +02:00
  • 3b8db2d103 Merge pull request #10439 from mvo5/fix-install-no-path-test-with-suid-uid-env Michael Vogt 2021-06-25 10:33:23 +02:00
  • 8717cdfa1e Merge pull request #10454 from alexmurray/fix-typo-in-cgroup-support Michael Vogt 2021-06-25 10:10:55 +02:00
  • e0c46ab4e7 store: tweak error message when store.Sections() download fails Michael Vogt 2021-06-25 10:05:45 +02:00
  • 8cb46b05c8 Merge pull request #10444 from bboozzoo/bboozzoo/snap-confine-sparse-issues Michael Vogt 2021-06-25 10:00:24 +02:00
  • 8abe7004cd sysconfig: clarify s/devinceInfo/configedDevice/ and its RunMode Samuele Pedroni 2021-06-24 13:22:14 +02:00
  • 78726ff259 o/conficore/configstate: use sysconfig.Device handling pi options Samuele Pedroni 2021-06-23 21:49:48 +02:00
  • ec0075ab3a o/configstate/configcore: stop mocking release.OnClassic Samuele Pedroni 2021-06-23 21:24:30 +02:00
  • 2dfc07c9f5 o/configstate/configcore: TODO for later about vitality code Samuele Pedroni 2021-06-23 21:16:07 +02:00
  • 22c494cdff o/configstate/configcore: provide sysconfig.Device to all fs-only handlers Samuele Pedroni 2021-06-23 21:14:14 +02:00
  • 59ae91f0ae many: have configcore.Run/Early take a sysconfig.Device Samuele Pedroni 2021-06-23 21:00:05 +02:00
  • 80fe5ca4de many: start configcore taking model/device information Samuele Pedroni 2021-06-23 18:22:20 +02:00
  • e71ca8da14 Add missing tests (thanks pedronis). Paweł Stołowski 2021-06-23 10:53:58 +02:00
  • dd98a082b7 Fix the runinhibit logic. Paweł Stołowski 2021-06-22 16:31:47 +02:00
  • 2c04865dfe Re-work runinhibit logic. Paweł Stołowski 2021-06-18 11:16:01 +02:00
  • cfd5803f06 Dedicated handler for gate-auto-refresh hook. Paweł Stołowski 2021-06-15 18:28:36 +02:00
  • c67f2856a9 Merge pull request #10428 from stolowski/refresh-control/conflict-check Michael Vogt 2021-06-25 09:49:23 +02:00
  • 3ca3639378 o/configstate/configcore: fix import order Ian Johnson 2021-05-26 15:49:31 -05:00
  • 02b125043d overlord/configstate/configcore/swap_test.go: add unit tests for swap.size Ian Johnson 2021-03-31 18:28:27 -05:00
  • cf70ed22df o/configstate/configcore/swap.go: additional verification for swap size Ian Johnson 2021-02-16 09:53:54 -06:00
  • 4f7356113d o/configstate/configcore: support snap set system swap.size=... Ian Johnson 2021-02-12 15:35:10 -06:00
  • 43afac0846 Merge pull request #10446 from pedronis/tell-configcore-about-device Michael Vogt 2021-06-25 09:46:14 +02:00
  • 9f8ada3c91 Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-reseal-with-try-model Maciej Borzecki 2021-06-25 09:24:13 +02:00
  • 082467da8c boot: construct recovery boot chains for a matching system only, drop TODO Maciej Borzecki 2021-06-25 09:23:31 +02:00
  • 8cf3b00be6 Merge pull request #10447 from stolowski/hookmgr-handler-ignore-error Michael Vogt 2021-06-25 09:15:27 +02:00
  • eafd685b24 Merge pull request #10452 from bboozzoo/bboozzoo/snap-update-ns-set-srcdir-in-include Pawel Stolowski 2021-06-25 09:13:30 +02:00
  • 17f7e6443f Merge pull request #10453 from sergiocazzolato/tests-fix-lxd-mount-units Pawel Stolowski 2021-06-25 09:09:27 +02:00
  • 89f71b14fd Merge pull request #10450 from bboozzoo/bboozzoo/managers-reset-post-boot-state Maciej Borzecki 2021-06-25 07:32:31 +02:00
  • c83f0f7466 Merge pull request #10441 from mvo5/hacking.md-go1.16 Maciej Borzecki 2021-06-25 07:22:53 +02:00
  • afcc61d9d2 overlord/devicestate: move the helper around Maciej Borzecki 2021-06-25 06:52:33 +02:00
  • d934363298 cmd/libsnap-confine-private/cgroup-support.c: Fix typo Alex Murray 2021-06-25 14:06:03 +09:30
  • a35044add7 Merge pull request #10396 from sergiocazzolato/tests-fix-security-dev-input-event-denied Sergio Cazzolato 2021-06-24 21:06:10 -03:00
  • 2fb052ca0b o/servicestate: move SetStatus to doQuotaControl Samuele Pedroni 2021-06-24 22:28:12 +02:00
  • 91ba442e8c Fix for tests/main/lxd-mount-units test and enable ubuntu-21.04 Sergio Cazzolato 2021-06-24 16:16:31 -03:00
  • e05c79847f asserts: clearer error messages, more robust mock command Samuele Pedroni 2021-06-24 16:58:10 +02:00
  • 08c2e6da1b cmd/snap-update-ns: add SRCDIR to include search path Maciej Borzecki 2021-06-24 16:28:37 +02:00
  • 7fa77b81bf testutil: introduce a checker which compares the type after having passed them through a JSON marshaller Maciej Borzecki 2021-06-24 16:08:15 +02:00
  • c58d9dee8b overlord, o/devicestate: use a single test helper for resetting to a post boot state Maciej Borzecki 2021-06-14 14:05:31 +02:00
  • 04be286285 boot: compare model when constructing boot chains Maciej Borzecki 2021-06-24 12:28:39 +02:00
  • 51991e5ada Merge remote-tracking branch 'upstream/master' into bboozzoo/uc20-reseal-with-try-model Maciej Borzecki 2021-06-24 13:59:53 +02:00
  • bf7bb4218c o/devicestate: small cleanup, introduce newModelDeviceContext Samuele Pedroni 2021-06-24 13:35:05 +02:00
  • 3cb049a2f6 sysconfig: clarify s/devinceInfo/configedDevice/ and its RunMode Samuele Pedroni 2021-06-24 13:22:14 +02:00
  • e49ee34bd6 Rename ignoreHookError to ignoreHookError Pawel Stolowski 2021-06-24 12:47:24 +02:00
  • 62d8b20410 github: update workflow to test with go-1.13 Michael Vogt 2021-06-24 12:43:04 +02:00
  • 1b99b3495b Use named return args for Error() func. Paweł Stołowski 2021-06-24 12:28:47 +02:00
  • 7e3eba3fb5 Return bool flag from Error() function of hook handler to indicate to the hook manager that hook task should not error out with the original hook error. Paweł Stołowski 2021-06-24 12:13:13 +02:00
  • 53d63d65bd many: run gofmt to match go-1.13 Michael Vogt 2021-06-24 11:42:13 +02:00
  • 8866116aa7 cmd/libsnap-confine-private: make cgroup tests build on 14.04 Maciej Borzecki 2021-06-24 10:47:32 +02:00
  • 0ab30e44c4 o/conficore/configstate: use sysconfig.Device handling pi options Samuele Pedroni 2021-06-23 21:49:48 +02:00
  • bb2f61f3cf o/configstate/configcore: TODO for later Samuele Pedroni 2021-06-23 21:38:21 +02:00
  • afa2c1ff8c o/configstate/configcore: stop mocking release.OnClassic Samuele Pedroni 2021-06-23 21:24:30 +02:00
  • 08544cb5fe o/configstate/configcore: TODO for later about vitality code Samuele Pedroni 2021-06-23 21:16:07 +02:00
  • 3e23f8cef4 o/configstate/configcore: provide sysconfig.Device to all fs-only handlers Samuele Pedroni 2021-06-23 21:14:14 +02:00
  • aa7446be51 many: have configcore.Run/Early take a sysconfig.Device Samuele Pedroni 2021-06-23 21:00:05 +02:00
  • 5df525aa61 many: start configcore taking model/device information Samuele Pedroni 2021-06-23 18:22:20 +02:00
  • 5cf3003e1c tests: update prepare to install golang-1.13 on debian-10, drop support for debian-9 in tests Michael Vogt 2021-06-23 18:20:09 +02:00
  • 0fc0025ad6 cmd/libsnap-confine-private: limit how deep the cgroup hierarchy can be explored Maciej Borzecki 2021-06-23 16:14:32 +02:00
  • 2c606135a1 cmd/libsnap-confine-private: use more realistic test data Maciej Borzecki 2021-06-23 16:14:00 +02:00
  • ce2b9156ca cmd/libsnap-confine-private: tweak comments and names, drop unnecessay debugs Maciej Borzecki 2021-06-23 15:09:25 +02:00
  • f19b75dfeb Skip tests when the sections cannot be retrieved Sergio Cazzolato 2021-06-23 10:58:59 -03:00
  • 26f3e54aed sandbox/cgroup: tweak comments, tweak implementation picking Maciej Borzecki 2021-06-23 14:00:07 +02:00
  • 1ca29e5963 Merge remote-tracking branch 'upstream/master' into bboozzoo/cgroupv2-freezer-sun Maciej Borzecki 2021-06-23 13:44:57 +02:00
  • 326f7f1baa packaging: do not set HOME, setting GOCACHE is enough Michael Vogt 2021-06-23 13:31:55 +02:00
  • 883bee1e28 packaging,tests: update for go-1.13 in debian and test setup Michael Vogt 2021-06-23 10:54:45 +02:00
  • 789080b934 run-checks: use go-1.13 in tests outside of github Michael Vogt 2021-06-23 10:55:01 +02:00
  • 3b0b5e8e0b cmd/snapd-generator: fix sparse issues Maciej Borzecki 2021-06-23 09:24:15 +02:00
  • 46bd91627c cmd/snap-confine: fix sparse errors Maciej Borzecki 2021-06-23 09:19:06 +02:00
  • 9f37e280d5 o/servicestate: move SetStatus to doQuotaControl Samuele Pedroni 2021-06-22 18:34:41 +02:00
  • 45a5f36ed4 packaging: ensure GOCACHE= is set to allow building on 18.04 Michael Vogt 2021-06-22 18:27:20 +02:00
  • ceb3e98f50 HACKING.md: update to describe new version requirement Michael Vogt 2021-06-22 17:51:57 +02:00
  • c14553e10d o/servicestate: have a single ensureSnapServicesForGroup call in handlers Samuele Pedroni 2021-06-22 17:49:42 +02:00