Commit Graph

  • ec0354f7fb Merge pull request #12517 from sergiocazzolato/tests-new-lxd-prepare-command Sergio Cazzolato 2023-03-09 17:20:58 -03:00
  • b56d54ae45 Merge branch 'master' into tests-update-nested-tests-again-p1 Sergio Cazzolato 2023-03-09 13:56:54 -03:00
  • 444ff31fcd Merge branch 'master' into tests-new-lxd-prepare-command Sergio Cazzolato 2023-03-09 13:56:33 -03:00
  • f6819a4f66 Merge pull request #12632 from sergiocazzolato/tests-update-interfaces-account-control Sergio Cazzolato 2023-03-09 13:55:29 -03:00
  • 597f1efcaf interfaces/account-control: grant access to files needed by pam Alfonso Sánchez-Beato 2023-03-08 16:30:11 +00:00
  • 0af29dc029 Merge branch 'master' into tests-update-interfaces-account-control Sergio Cazzolato 2023-03-09 10:50:37 -03:00
  • 57de0e8553 golang-ci: bump version to support golang 1.20 Philip Meulengracht 2023-03-09 13:20:07 +01:00
  • ae6489f798 golang: remove deadcode linter Philip Meulengracht 2023-03-09 12:29:06 +01:00
  • b2341fb7c6 Update interfaces-account-control test to use snapd with the UC base Sergio Cazzolato 2023-03-09 08:47:54 -03:00
  • 5d98130839 Skip snapd-reexec-prompt on arm devices as it is excluded in amd64 Sergio Cazzolato 2023-03-08 11:57:34 -03:00
  • 0572c42991 tests/nested/manual/fde-on-classic: test appending kernel command Alfonso Sánchez-Beato 2023-02-27 17:05:07 +00:00
  • 52c10afbd3 o/configcore: add flag that will determine if a system option can be Alfonso Sánchez-Beato 2023-02-27 17:04:06 +00:00
  • a0948bc380 interfaces/nvidia-drivers-support: NVIDIA drivers userspace system setup support (#12591) Dimitri John Ledkov 2023-03-08 16:11:17 +00:00
  • 5001aa1294 Merge branch 'master' into tests-update-nested-tests-again-p1 Sergio Cazzolato 2023-03-08 08:53:16 -03:00
  • 01936913d7 Merge remote-tracking branch 'upstream/master' into tests-new-lxd-prepare-command Sergio Cazzolato 2023-03-08 08:52:39 -03:00
  • ebb3121141 tests/nested/manual/fde-on-classic: fix wrong gadget.yaml Valentin David 2023-03-06 13:10:09 +01:00
  • 291f4dd00d cmd/snap-confine: review feedback Philip Meulengracht 2023-03-08 08:48:06 +01:00
  • 52a7c50819 cmd/snap-confine: handle NULL mounts in sc_do_mounts/sc_create_mount_points. Allow dynamic_mounts to be NULL. Philip Meulengracht 2023-03-07 08:21:46 +01:00
  • 49c582ab87 snap-confine: fix crash in legacy mode on UC16 Michael Vogt 2023-03-06 20:46:26 +01:00
  • e9ce4c3599 multiple: review feedback Philip Meulengracht 2023-03-03 14:54:27 +01:00
  • 855fdb8cf7 o/configstate/configcore: delay classic check till after we are sure a modification is going to be made to avoid the error being thrown prematurely. Philip Meulengracht 2023-03-03 14:52:25 +01:00
  • b26ea24eff cmd/snap-confine: cast to void* when freeing Philip Meulengracht 2023-03-03 14:16:11 +01:00
  • 1f2235eacf o/configstate/configcore: tweak error message (thanks @mvo5) Philip Meulengracht 2023-03-03 12:42:34 +01:00
  • cfd0d2dd7a o/configstate/configcore: error on core devices trying to set homedirs Philip Meulengracht 2023-03-03 12:38:41 +01:00
  • 7a69d4ef49 cmd/snap-confine*: review feedback Philip Meulengracht 2023-03-03 11:47:58 +01:00
  • fc487d1bca multiple: review comments Philip Meulengracht 2023-03-03 09:52:02 +01:00
  • f0d8058aa2 s/apparmor: review feedback Philip Meulengracht 2023-03-02 12:53:04 +01:00
  • 2e26ad5b7f cmd/snap-confine: review feedback Philip Meulengracht 2023-03-02 12:51:02 +01:00
  • ce0c818a8f sandbox/apparmor: use CommaSeparatedList instead of strings.Split Philip Meulengracht 2023-02-08 14:29:30 +01:00
  • f1e7e4ac1b multiple: remove redundant unit test now some of functionality has moved to package sysparams Philip Meulengracht 2023-02-08 13:53:57 +01:00
  • 7b1425e376 multiple: Add missing updating of snippets when changing the homedirs. Philip Meulengracht 2023-02-08 12:54:44 +01:00
  • 08c43f5e95 cmd/snap-confine: fix missing value for return Philip Meulengracht 2023-02-08 09:12:39 +01:00
  • 19b6730a44 cmd/snap-confine: some cleanup in the snap-confine changes to how we check homedirs Philip Meulengracht 2023-02-08 09:04:43 +01:00
  • 5822b1a626 cmd/snap-confine: fix missspelling of separately Philip Meulengracht 2023-02-07 13:04:36 +01:00
  • e0666f5f88 o/configstate/configcore: remove unused function Philip Meulengracht 2023-02-07 12:54:30 +01:00
  • d67bc000af multiple: review feedback Philip Meulengracht 2023-02-07 11:47:55 +01:00
  • 1cfbe4f1fd multiple: review feedback Philip Meulengracht 2023-01-25 12:11:53 +01:00
  • 976288a2c9 sandbox/apparmor: add newline to generated snippet, fix apparmor rules where multiple forward slashes would cause denials on mounts Philip Meulengracht 2023-01-12 12:43:06 +01:00
  • 58af6611ea t/main/snapd-homedirs: fix error message check Philip Meulengracht 2023-01-11 16:21:55 +01:00
  • d37e23e55a snap-confine: tweak error message for non-home users without configuration Michael Vogt 2022-11-10 17:58:14 +01:00
  • 864b5e1c98 tests: improve debug for snapd-homedirs Michael Vogt 2022-10-27 11:55:22 +02:00
  • ae1535aa91 configcore. remove unused mockMountInfoRestore Michael Vogt 2022-10-26 18:19:57 +02:00
  • 237c37d81c sandbox: fix SetupSnapConfineSnippets() when homedirs is empty Michael Vogt 2022-10-26 18:12:06 +02:00
  • dd18dc3e02 snap-bootstrap: add missing osutil.MockMountInfo() Michael Vogt 2022-10-26 11:46:51 +02:00
  • 3a70c91a8a image: add missing osutil.MockMountInfo() Michael Vogt 2022-10-26 11:45:03 +02:00
  • 4f7c5896e0 configcore: add missing osutil.MockMountInfo() Michael Vogt 2022-10-26 09:05:22 +02:00
  • 3cb01fa9d7 sysconfig: add missing osutil.MockMountInfo() Michael Vogt 2022-10-26 08:22:03 +02:00
  • 2211516c3e libsnap-confine-private: add missing #include <string.h> Michael Vogt 2022-10-25 14:03:15 +02:00
  • 0754225a57 tests: update homedirs test to check namespace reusal Alberto Mardegan 2022-10-21 13:53:13 +03:00
  • 7be5ba3599 cmd/snap-confine: check homedirs to see if NS is stale Alberto Mardegan 2022-10-21 13:52:40 +03:00
  • 45da94b5db cmd/snap-confine: mount homedirs into snap namespace Alberto Mardegan 2022-10-21 13:51:32 +03:00
  • 7debca10b4 cmd/snap-confine: read the homedirs configuration file Alberto Mardegan 2022-10-21 11:07:27 +03:00
  • 3c685edcdc many: update snap-confine profile as homedirs change Alberto Mardegan 2022-10-17 17:28:43 +03:00
  • ce6e1cb4af tests/main/snapd-homedirs: update test for arbitrary homedirs Alberto Mardegan 2022-10-14 13:58:25 +03:00
  • 2053300d14 o/c/c/homedirs: update AppArmor profile of snap-confine Alberto Mardegan 2022-10-14 13:57:31 +03:00
  • 017865f383 sandbox/aa: generate snippets for homedirs support Alberto Mardegan 2022-10-14 13:56:35 +03:00
  • 14398d4fed sandbox/apparmor: add a function to reload snap-confine profile Alberto Mardegan 2022-10-14 13:55:49 +03:00
  • 26350987b4 many: remove restrictions on homedir locations Alberto Mardegan 2022-10-14 13:54:54 +03:00
  • 4e2ff228b1 o/snapstate: stop monitoring if refresh happens Miguel Pires 2023-03-03 09:31:27 +00:00
  • 2f8931f909 interfaces/hardware-observe: allow readin /proc/tty/driver/* Alfonso Sánchez-Beato 2023-03-07 12:17:24 +00:00
  • 5641bdcac6 interfaces: grant access to new ibus socket location in desktop-legacy James Henstridge 2023-03-08 12:27:22 +08:00
  • 2efe3808cc Revert exit Sergio Cazzolato 2023-03-07 17:25:04 -03:00
  • 2a53d2deb2 Fix how params are exported in tests.nested Sergio Cazzolato 2023-03-07 13:51:08 -03:00
  • d5f47ca71f many: read system options when handling kernel command line (#12561) alfonsosanchezbeato 2023-03-07 16:48:17 +00:00
  • b84b30f207 i/b/udisks2: only allow udev file path that would be valid in any sysroot Valentin David 2023-01-20 15:26:36 +01:00
  • e06564e94d i/b/udisks2: resolve udev-file path within the snap Valentin David 2023-01-20 13:50:21 +01:00
  • 10a7924b8a i/b/udisks2: test error when opening udev-file Valentin David 2023-01-26 11:07:41 +01:00
  • 2e201b740d i/b/udisks2: disallow installation by default if udev-file is set Valentin David 2022-12-07 16:55:07 +01:00
  • 638998b12e i/b/polkit: Do not check peer name Valentin David 2022-09-06 13:05:50 +02:00
  • 1d79cac15a i/b/udisks2: add attribute to load udev rules Valentin David 2022-09-14 13:56:50 +02:00
  • 931a191cb7 i/b/udisks2: add missing AppArmor permissions Valentin David 2022-09-14 13:54:58 +02:00
  • f92f93f3da i/b/udisks2: allow users to connect to daemon Valentin David 2022-09-14 13:52:24 +02:00
  • 87957c6faf i/b/udisks2: allow installation of daemon on classic Valentin David 2022-09-14 13:51:13 +02:00
  • 2b216dea76 Fixes ans less noise the vm preparation Sergio Cazzolato 2023-03-07 12:20:21 -03:00
  • 8ad8d5914b image,tests: add snap architecture check against model architecture for prepare-image (#12603) Philip Meulengracht 2023-03-07 14:18:50 +01:00
  • 280cda8ca9 devicestate: return extraPemEncodedCerts from MockDeviceService and setup extra cert dir in the tests Michael Vogt 2023-03-03 14:29:42 +01:00
  • 1a4a67df29 devicestate: return an error from newEnoughProxy() Michael Vogt 2023-02-23 18:34:53 +01:00
  • 77d0bf54ea devicestate: change the MockDeviceService() to use https Michael Vogt 2023-02-23 18:06:18 +01:00
  • 50595827b6 devicestate: fix missing ExtraSSLCerts support when getting serials Michael Vogt 2023-02-23 18:01:14 +01:00
  • 014a791a21 snap: show log information from Wait tasks in the CLI (#12598) Michael Vogt 2023-03-06 16:53:20 +01:00
  • 079d9a9eba i/b/fwupd: allow to write to some EFI path for some capsules Valentin David 2023-02-20 14:19:12 +01:00
  • 0b2ed0b5fc interfaces/apparmor: Add read of /proc/PID/cpuset to base template Alex Murray 2023-02-21 12:03:19 +10:30
  • 18c3325074 o/snapstate: fix deletion of monitored snaps map Miguel Pires 2023-03-03 16:25:07 +00:00
  • 3af8ad924c tests/core/gadget-config-defaults*: Fix cleanup Valentin David 2023-02-24 14:21:04 +01:00
  • df9f99f88a desktop-legacy, unity7: Support for indicators activation tokens Marco Trevisan 2023-02-27 18:19:48 +01:00
  • 1050c92659 tests: improve interface-process-control test (#12611) Sergio Cazzolato 2023-03-06 12:27:43 -03:00
  • 2fb98ac5df Merge branch 'master' into tests-new-lxd-prepare-command Sergio Cazzolato 2023-03-06 09:43:21 -03:00
  • 5fa37453b4 secboot: fix unittest after updating an error message Michael Vogt 2023-03-06 11:01:00 +01:00
  • 87c46856d8 daemon: improve TODO/XXX comment for getGadgetDiskMapping Michael Vogt 2023-03-03 16:29:13 +01:00
  • 82bebf6c43 install: add checks for correct encType in MockSecbootFormatEncryptedDevice() Michael Vogt 2023-03-03 16:28:57 +01:00
  • 0de11daca8 secboot: improve error message (thanks Samuele) Michael Vogt 2023-03-03 16:28:27 +01:00
  • 33274758ee tests: fix typo, fix missing newline Michael Vogt 2023-02-28 12:37:50 +01:00
  • 9b42bfee0d secboot: pdate secboot branch and enable InlineCryptoEngine support Michael Vogt 2023-02-28 12:17:08 +01:00
  • 10d2e6b606 tests: also check log file for ICE usage Michael Vogt 2023-02-23 14:58:12 +01:00
  • 4ae9ef7fda tests: add nested test for fde-setup with ice support Michael Vogt 2023-02-23 12:40:08 +01:00
  • 23bef5993d secboot: use helper EncryptionType.IsLUKS Michael Vogt 2023-02-23 11:52:23 +01:00
  • 7c4493880e devicestate: use "inline-crypto-engine" for ICE feature Michael Vogt 2023-02-23 11:49:34 +01:00
  • dbced6f8e6 secboot: ensure FormatEncryptedDevice checks encryptionType Michael Vogt 2023-02-23 11:45:33 +01:00
  • 722d410cc9 many: deal with EncryptionTypeLUKSWithICE in more places Michael Vogt 2023-02-23 11:39:19 +01:00
  • 6bbd6f94c1 secboot: improve string for EncryptionTypeLUKSWithICE (thanks to Samuele) Michael Vogt 2023-02-23 10:55:44 +01:00