Commit Graph

  • 3699af3c8e cmd/snap: rm connect related test changes Miguel Pires 2021-10-29 11:00:52 +01:00
  • 5bb1bf9851 Merge remote-tracking branch 'upstream/master' into bboozzoo/remodel-add-unit-tests-for-helpers Maciej Borzecki 2021-10-29 11:03:48 +02:00
  • 63fad0f1b7 Merge branch 'master' into tests-split-test-tools-part2 Sergio Cazzolato 2021-10-28 22:36:49 -03:00
  • 648be99862 make sure state paths are created before the snapd state is saved Sergio Cazzolato 2021-10-28 14:20:15 -03:00
  • fb3eb0eef2 Merge branch 'master' into tests-split-test-tools Sergio Cazzolato 2021-10-28 14:15:40 -03:00
  • fbe4ef4843 osutil/disks: rename SizeInBytes to LastUsableByte, update comments Ian Johnson 2021-10-28 07:48:04 -05:00
  • 588ca8bb48 i/builtin: suppress denials of sys_module capability Alberto Mardegan 2021-10-28 12:39:36 +03:00
  • d9a5270eec i/b/common: add flags for sys_module capability Alberto Mardegan 2021-10-28 12:33:28 +03:00
  • 6a76393747 interfaces/apparmor: allow suppress sys_module denials Alberto Mardegan 2021-10-15 11:47:21 +03:00
  • 463edb3694 data/selinux: allow snap-confine to read udev's database Maciej Borzecki 2021-10-28 12:03:40 +02:00
  • be279dda77 i/b/common_test: refactor AppArmor features test (#10982) Alberto Mardegan 2021-10-28 12:26:35 +03:00
  • 681a9b9582 spread: run lxd tests with version from latest/edge Michael Vogt 2021-10-28 10:44:23 +02:00
  • da370e099e Merge pull request #10947 from sergiocazzolato/tests-debian-11 Michael Vogt 2021-10-28 10:40:05 +02:00
  • 8728633684 Merge pull request #10980 from bboozzoo/bboozzoo/preserve-timesync-clock-in-install Michael Vogt 2021-10-28 10:39:46 +02:00
  • 7d38e126e9 sandbox/cgroup: use time.After Maciej Borzecki 2021-10-28 08:06:56 +02:00
  • 8140d5e38b Merge branch 'master' into tests-split-test-tools Sergio Cazzolato 2021-10-27 19:47:32 -03:00
  • 70eaafdf9e Merge remote-tracking branch 'upstream/master' into tests-debian-11 Sergio Cazzolato 2021-10-27 19:45:30 -03:00
  • 47d358acc5 osutil/disks: adjust some comments about addressing size/math Ian Johnson 2021-10-27 17:15:09 -05:00
  • 4eb73391c0 Merge remote-tracking branch 'upstream/master' into microk8s-smoke Michael Vogt 2021-10-27 20:13:50 +02:00
  • 648be25893 Merge remote-tracking branch 'upstream/master' into bboozzoo/snap-run-wait-systemd-group-job-done Maciej Borzecki 2021-10-27 14:40:19 +02:00
  • d3ed70737a sandbox/cgroup: drop auxiliary channel cleanup, tweaks Maciej Borzecki 2021-10-27 14:39:53 +02:00
  • 0bd30d85dd o/devicestate: comment tweaks Maciej Borzecki 2021-10-27 13:33:32 +02:00
  • 7d193b3a17 Merge branch 'polkit-policy-validate' into polkit-iface James Henstridge 2021-10-27 19:29:05 +08:00
  • 15a7bf968b o/devicestate: copy timesyncd clock timestamp during install Maciej Borzecki 2021-10-27 13:05:41 +02:00
  • d49b61f456 Merge remote-tracking branch 'upstream/master' into polkit-policy-validate James Henstridge 2021-10-27 18:25:16 +08:00
  • 482f8c7c87 Merge pull request #10976 from bboozzoo/bboozzoo/before-plug-apparmor Michael Vogt 2021-10-27 09:38:30 +02:00
  • bb0662301f Merge pull request #10967 from alfonsosanchezbeato/fix-mm-iface Michael Vogt 2021-10-27 09:35:08 +02:00
  • 3fb55e9368 Merge pull request #10978 from mardy/fix-error-message Maciej Borzecki 2021-10-27 09:26:10 +02:00
  • 214998bb10 tests/main/cgroup-tracking-failure: case for ubuntu-core-20 Maciej Borzecki 2021-10-27 08:15:58 +02:00
  • 199d93c854 osutil/disks/disks_linux_test.go: also add non-sectors sfdisk unit test Ian Johnson 2021-10-26 16:42:40 -05:00
  • f620a32504 osutil/disks/disks_linux_test.go: add non-512 multiple sector sz unit test Ian Johnson 2021-10-26 16:30:34 -05:00
  • df80f1c225 Merge pull request #10939 from stolowski/validation-sets/spread-test-enforcing Michael Vogt 2021-10-26 17:27:00 +02:00
  • 54cb525a6c Merge branch 'master' into feature/uc20-multi-volume-gadget-asset-updates-16 Signed-off-by: Ian Johnson <ian.johnson@canonical.com> Ian Johnson 2021-10-26 08:36:19 -05:00
  • 01c80a4d7e disks: rename SizeInSectors to SizeInBytes, adjust accordingly Ian Johnson 2021-10-26 08:34:15 -05:00
  • 4f313dd16f tests: fix error message in run-checks Alberto Mardegan 2021-10-26 15:51:11 +03:00
  • 0c4956c2c2 tests/main/cgroup-tracking-failure: split 21.04 and 20.04 cases, include systems Maciej Borzecki 2021-10-26 13:23:22 +02:00
  • b811abc084 interfaces/builtin: do not probe parser features when apparmor isn't available Maciej Borzecki 2021-10-26 13:05:06 +02:00
  • a8fbcbec6b tests/main/cgroup-tracking-failure: fix typos Maciej Borzecki 2021-10-26 12:08:14 +02:00
  • dbe02f76ea cmd: update struct doc Miguel Pires 2021-10-26 10:18:03 +01:00
  • e3d68cd079 Merge remote-tracking branch 'upstream/master' into bboozzoo/snap-run-wait-systemd-group-job-done Maciej Borzecki 2021-10-26 10:14:01 +02:00
  • 6102d79ea6 Merge pull request #10968 from bboozzoo/bboozzoo/snap-confine-cgroup-only-devices-were-assigned Michael Vogt 2021-10-26 09:49:33 +02:00
  • 0165366e58 interfaces/network-manager-observe: Update for libnm client library Alex Murray 2021-10-21 15:04:54 +10:30
  • acad4ba4a6 cmd: restore err msg wrt connect Miguel Pires 2021-10-25 17:58:52 +01:00
  • fa194743d2 Merge pull request #10910 from MiguelPires/dup-op-fails Michael Vogt 2021-10-25 16:44:59 +02:00
  • 078776b731 Merge branch 'master' into tests-split-test-tools-part2 Sergio Cazzolato 2021-10-25 11:33:49 -03:00
  • b7d63adc9e Merge branch 'master' into tests-split-test-tools Sergio Cazzolato 2021-10-25 11:33:14 -03:00
  • e02897f61b Merge remote-tracking branch 'upstream/master' into tests-recover-nested-from-qemu-assertion-error Sergio Cazzolato 2021-10-25 11:14:11 -03:00
  • 6952e8e582 tests/main/cgroup-tracking-failure: update the test, run it on 21.04 and 21.10 Maciej Borzecki 2021-10-25 15:57:47 +02:00
  • a1f1d3993e sandbox/cgroup: move the debug line Maciej Borzecki 2021-10-25 14:56:16 +02:00
  • 092832afbe Update the function wiht the new name nested_check_unit_stays_active Sergio Cazzolato 2021-10-25 09:38:59 -03:00
  • dc0b484f74 cmd: allow disconnect w/o snap and update tests Miguel Pires 2021-10-25 12:21:53 +01:00
  • c6794c2814 Merge pull request #10959 from bboozzoo/bboozzoo/selinux-use-session Michael Vogt 2021-10-25 13:04:03 +02:00
  • e72ed85754 Merge pull request #10966 from bboozzoo/bboozzoo/sync-with-opensuse Michael Vogt 2021-10-25 12:01:30 +02:00
  • fbd486e0df Move restore before execute. Paweł Stołowski 2021-10-22 15:55:55 +02:00
  • 889d36485e Move validation set cleanup to restore section. Paweł Stołowski 2021-10-22 14:46:06 +02:00
  • 9e8232c982 Forget both validation sets at the end of the test to avoid issue with removing the snaps on restore. Paweł Stołowski 2021-10-22 10:59:09 +02:00
  • 76089d89bc Also check that validation set becomes invalid after installing a snap with --ignore-validation. Paweł Stołowski 2021-10-19 09:24:01 +02:00
  • 5097e52f71 Test validation enforcing. Paweł Stołowski 2021-10-15 10:36:30 +02:00
  • eb4d86c7e1 interfaces: skip connection of netlink interface on older systems Samuele Pedroni 2021-10-25 11:50:07 +02:00
  • d13b483173 asserts, o/snapstate: honor IgnoreValidation flag when checking installed snaps Samuele Pedroni 2021-10-25 11:48:42 +02:00
  • a044a48263 tests/main/apparmor-batch-reload: fix fake apparmor_parser to handle --preprocess Samuele Pedroni 2021-10-25 11:46:05 +02:00
  • c7db508304 Merge remote-tracking branch 'upstream/master' into bboozzoo/snap-run-wait-systemd-group-job-done Maciej Borzecki 2021-10-25 10:39:39 +02:00
  • a4deb7a233 Merge remote-tracking branch 'upstream/master' into bboozzoo/snap-confine-cgroup-only-devices-were-assigned Maciej Borzecki 2021-10-25 09:48:40 +02:00
  • 288f3cf2ba cmd/snap-confine: tiny refactor, tweak comments Maciej Borzecki 2021-10-25 09:48:06 +02:00
  • 168bbb92c6 Merge remote-tracking branch 'upstream/master' into bboozzoo/selinux-use-session Maciej Borzecki 2021-10-25 08:59:27 +02:00
  • ac504398b9 tests/main/apparmor-batch-reload: fix fake apparmor_parser to handle --preprocess Maciej Borzecki 2021-10-22 15:46:21 +02:00
  • ae8ccd0981 tests/main/security-dev-input-event-denied: fix the test Maciej Borzecki 2021-10-22 15:56:04 +02:00
  • 493fc3dfc2 tests: skip connection of Qualcomm IPC on trusty Alberto Mardegan 2021-10-18 14:42:33 +03:00
  • f4d250b6b5 tests: skip connection of netlink interface on older systems Alberto Mardegan 2021-10-18 12:55:14 +03:00
  • a49b7badde i/b/netlink_audit: refuse connection if audit_read is not supported Alberto Mardegan 2021-10-18 14:23:27 +03:00
  • 8f85cf45aa apparmor: add support for probing the audit_read feature Alberto Mardegan 2021-10-19 11:33:46 +03:00
  • 1ebd49b6c5 build-aux: ensure that debian packaging matches build-base Dimitri John Ledkov 2021-10-21 12:09:21 +01:00
  • 998e595d3d Merge branch 'master' into tests-recover-nested-from-qemu-assertion-error Sergio Cazzolato 2021-10-22 09:48:40 -03:00
  • 35528dd688 sandbox/apparmor, interfaces/apparmor: detect bpf capability, generate snippet for s-c (#10951) Maciej Borzecki 2021-10-22 14:48:16 +02:00
  • 9abd623989 cmd/snap: improve snap disconnect arg parsing and err msg Miguel Pires 2021-10-22 13:39:02 +01:00
  • 7816a45f26 Merge remote-tracking branch 'upstream/master' into tests-debian-11 Sergio Cazzolato 2021-10-22 09:38:59 -03:00
  • 55d1b1ba5d Merge pull request #10965 from anonymouse64/feature/release-2.53.1-changelog Michael Vogt 2021-10-22 13:45:47 +02:00
  • a8aece5b4e cmd/snap-confine: fix formatting of current tag setup Maciej Borzecki 2021-10-22 12:58:01 +02:00
  • 42a3ee5611 cmd/snap-confine: lazy set up of device cgroup, only when devices were assigned Maciej Borzecki 2021-10-22 12:39:57 +02:00
  • 49d305431f interface/modem-manager: allow connecting to the mbim/qmi proxy Alfonso Sánchez-Beato 2021-10-22 11:24:15 +02:00
  • 79e533ff46 Merge pull request #10964 from anonymouse64/bugfix/release-tarballs-c-vendor-dir Maciej Borzecki 2021-10-22 10:57:07 +02:00
  • 62d4d85a04 packaging/opensuse: sync with openSUSE packaging, enable AppArmor on 15.3+ Maciej Borzecki 2021-10-22 10:50:17 +02:00
  • 720c1ae582 tests: test for enforcing with prerequisites Samuele Pedroni 2021-10-22 10:43:32 +02:00
  • 0fe6257c1e tests/main/snapd-sigterm: fix race conditions Samuele Pedroni 2021-10-22 10:39:21 +02:00
  • 7d1fa87e1b Check ignoreValidation condition before the main switch (thanks pedronis). Paweł Stołowski 2021-10-22 09:56:46 +02:00
  • 32c8a4c8ab Honor ignoreValidation flag on snaps when checking installed snaps against enforce validation sets. Paweł Stołowski 2021-10-19 18:02:43 +02:00
  • c4d098f0d1 Merge remote-tracking branch 'upstream/master' into polkit-policy-validate James Henstridge 2021-10-22 09:52:36 +08:00
  • ce104e4a1b Merge branch 'release/2.53' into feature/release-2.53.1-changelog Ian Johnson 2021-10-21 18:06:27 -05:00
  • b662ce0361 release-tools/repack-debian-tarball.sh: fix c-vendor dir Ian Johnson 2021-10-21 17:50:52 -05:00
  • cb29ff949f release: 2.53.1 2.53.1 Ian Johnson 2021-10-21 14:10:37 -05:00
  • 1480a141f6 Add new command to os.query help Sergio Cazzolato 2021-10-21 15:07:34 -03:00
  • 05c8a2a915 spread: run lxd tests with version from latest/stable Samuele Pedroni 2021-10-21 18:15:27 +02:00
  • df196112ed spread: run lxd tests with version from latest/stable Samuele Pedroni 2021-10-21 18:15:27 +02:00
  • 824d7c7825 tests/main/snapd-sigterm: flush, use retry Alberto Mardegan 2021-10-21 18:38:17 +03:00
  • 3ab3c48f45 Enable lxd tests on ubuntu 21.10 Sergio Cazzolato 2021-10-21 10:19:08 -03:00
  • c8b6250d1b Merge pull request #10958 from MiguelPires/rm-spread-checks Miguel Pires 2021-10-21 14:21:50 +01:00
  • 1df31166f5 spread: run lxd tests with version from latest/stable Maciej Borzecki 2021-10-21 15:09:48 +02:00
  • 15a07d82ab secboot: use latest secboot with tpm legacy platform and v2 fully optional (#10946) Samuele Pedroni 2021-10-21 14:39:39 +02:00
  • b8a6483f29 cmd/snap-confine: die when snap process is outside of snap specific cgroup (2.53) Samuele Pedroni 2021-10-21 14:46:55 +02:00
  • 81aa8c9d93 secboot: use latest secboot with tpm legacy platform and v2 fully optional (#10946) Samuele Pedroni 2021-10-21 14:39:39 +02:00