Commit Graph

  • f9bfc41782 overlord: skip manager tests on riscv for now Michael Vogt 2022-02-01 17:58:18 +01:00
  • 2830e07c1e overlord: skip manager tests on riscv for now Michael Vogt 2022-02-01 17:58:18 +01:00
  • 21323e9156 o/snapstate: address review comments Alfonso Sánchez-Beato 2022-02-01 16:05:17 +01:00
  • d5eb40d189 o/servicestate: quota group error should be more explanative when memory cgroup is disabled burak 2022-02-01 16:52:49 +03:00
  • 3920e3f744 Merge pull request #11323 from alfonsosanchezbeato/modem-manager-add-sysfs-files Michael Vogt 2022-02-01 14:52:03 +01:00
  • 82e8d871b6 asserts: typo in AuthorityDelegation doc comment Samuele Pedroni 2022-02-01 12:58:46 +01:00
  • b07547ffa7 asserts: typos and cleanups for authority-delegation Samuele Pedroni 2022-02-01 11:16:16 +01:00
  • 6cd03b76f4 o/snapstate: extend aliases delta case to cover scenario with apps being added/removed Maciej Borzecki 2022-02-01 13:42:06 +01:00
  • e3d7a3d3d1 overlord: add managers test to verify auto-aliases handling when apps are added/removed in subsequent snap revisions Maciej Borzecki 2022-02-01 13:19:31 +01:00
  • 7d10492fc3 tests: ensure that interface hook works with hotplug plug Pawel Stolowski 2022-02-01 12:30:15 +01:00
  • ba97d60445 o/snapstate: revert migration on refresh if flag is disabled Miguel Pires 2022-01-27 14:49:44 +00:00
  • 90d4f82116 tests/main/interfaces-packagekit-control: enable on CentOS 8 Maciej Borzecki 2022-02-01 12:19:10 +01:00
  • 3bc6c0e286 tests: run lp-1949368 apparmor checks only for strict confinement Michael Vogt 2022-02-01 12:14:22 +01:00
  • 90145d861b Merge pull request #11319 from stolowski/fix-snap-repair-test Maciej Borzecki 2022-02-01 12:06:33 +01:00
  • 2e47a9beca Merge pull request #11313 from MiguelPires/write-st-undo-migration Michael Vogt 2022-02-01 11:46:14 +01:00
  • 3cb7b9c57a spread: enable Powertools, install EPEL and EPEL Next on CentOS 8 Stream Maciej Borzecki 2022-02-01 11:30:11 +01:00
  • e35149e3ad boot: change name *Param* to *Args* Alfonso Sánchez-Beato 2022-02-01 10:54:40 +01:00
  • 0b90ff32d3 interfaces/opengl: add unit test for ARM Mali Ethan Hsieh 2022-01-26 16:41:04 +08:00
  • 0d2925f7e3 interfaces/opengl: add support for ARM Mali Ethan Hsieh 2022-01-21 17:26:18 +08:00
  • 42a8341375 Merge pull request #11291 from EthanHsieh/opengl-mali Maciej Borzecki 2022-02-01 10:33:51 +01:00
  • f720c80817 Merge branch 'master' into notifications/no-zenity Paweł Stołowski 2022-02-01 10:30:20 +01:00
  • fd264a190e bootloader: add additional test for piboot Alfonso Sánchez-Beato 2022-02-01 10:08:53 +01:00
  • 098dd582e7 Also test snap.foo_bar.hook.f-0-0 which is valid (matches snapd's regex). Paweł Stołowski 2022-02-01 09:39:48 +01:00
  • e592bcd0ea Add extra test cases. Paweł Stołowski 2022-02-01 09:34:33 +01:00
  • 4be87db454 o/assertstate: auto aliases for apps that exist Maciej Borzecki 2022-02-01 08:30:43 +01:00
  • 0579b9b1bc spread: switch to CentOS 8 Stream image Maciej Borzecki 2022-02-01 08:46:10 +01:00
  • 0c4e0c7d91 Merge pull request #11324 from sergiocazzolato/tests-run-reexec-more-systems Ian Johnson 2022-01-31 18:06:53 -06:00
  • e0ba04409a o/snapstate: add comment Miguel Pires 2022-01-31 19:03:49 +00:00
  • ff6bc510a4 tests: fixed an issue with retrieval of the squashfuse repo Arseniy Aharonov 2021-12-17 09:11:22 +00:00
  • 9d3e51a93f Fix s-c unit test. Paweł Stołowski 2022-01-31 18:34:04 +01:00
  • ceb729511b packaging: fix running autopkgtest Michael Vogt 2022-01-14 10:59:42 +01:00
  • 8644b80f4b Allow numbers in hook (except for the first character) when checking hook security tag in snap-confine to allow interface hooks for such plugs/slots; this matches the validHook regex (snap/naming/validate.go) used by snapd. Hooks for plugs/slots names that end with numbers otherwise cause an error if snapctl is used: Paweł Stołowski 2022-01-31 18:03:14 +01:00
  • d7514ebef1 interfaces/shared-memory: ValidateNoAppArmorRegexp() is in sandbox Alex Murray 2022-01-19 15:33:55 +10:30
  • cdeeb8e3b5 Reverse the order of fchmod/fchown in setup_private_mount() Alex Murray 2021-12-16 18:28:34 +10:30
  • 7fce4e2b08 tests/main/snap-confine-tmp-mount: Test snap-confine mount setup Alex Murray 2021-12-03 22:49:52 +10:30
  • e1b20926db tests/main/snap-confine-unexpected-path: New snap-confine spread test Alex Murray 2021-12-03 12:16:04 +10:30
  • acb2b4cdb8 cmd/snap-confine: Prevent user-controlled race in setup_private_mount Alex Murray 2021-11-18 11:03:45 +10:30
  • b82d040848 cmd/snap-confine: Remove execute permission from AppArmor profile Alex Murray 2021-11-17 14:43:41 +10:30
  • 4a2eb78e56 cmd/libsnap-confine-private: Tighten AppArmor label check Alex Murray 2021-11-17 14:37:39 +10:30
  • c6011693a8 cmd/libsnap-confine-private: Don't fail open on apparmor confinement Alex Murray 2021-11-17 14:32:09 +10:30
  • 54e71e7750 cmd/libsnap-confine-private: Defend against hardlink attacks Alex Murray 2021-11-17 14:27:22 +10:30
  • ad67f006c4 cmd/libsnap-confine-private: Fix use of uninitialised variable Alex Murray 2021-11-17 14:23:25 +10:30
  • 27b5271b9a i/apparmor/spec: add quoting to layout paths Alberto Mardegan 2021-12-15 09:55:28 +03:00
  • 41c3707cf3 tests: add spread tests for AppArmor path validation Alberto Mardegan 2021-12-14 12:36:57 +03:00
  • 181741ced3 snap: add unit test for BindFile AppArmor validation Alberto Mardegan 2021-12-13 14:19:03 +03:00
  • 99e17fce0b snap: disallow AARE in layout targets Alberto Mardegan 2021-12-10 11:15:15 +03:00
  • e8eecb90c2 snap: add test for AARE in ValidateAll Alberto Mardegan 2021-12-10 11:14:13 +03:00
  • 3c1607f603 snap: validate layout paths to exclude AppArmor patterns Alberto Mardegan 2021-11-29 15:50:27 +03:00
  • 410b891b5d interfaces/apparmor: move function to sandbox package Alberto Mardegan 2021-11-29 16:44:13 +03:00
  • 99b0739a4c i/b/content: ensure that paths don't express AppArmor patterns Alberto Mardegan 2021-11-02 12:19:34 +03:00
  • e8cde3f878 many: quote constructed paths ending up into AppArmor rules Alberto Mardegan 2021-11-01 14:19:17 +03:00
  • 9242b0bea1 Use strutil.shlex rather than strings William Wilson 2022-01-31 09:09:13 -06:00
  • 57b2411bfc o/snapstate: improve function doc Miguel Pires 2022-01-31 15:06:32 +00:00
  • 00859162a5 tests: add spread tests for transactional flag Alfonso Sánchez-Beato 2022-01-31 15:27:55 +01:00
  • 89f786e152 o/snapstate: implement transactional flag Alfonso Sánchez-Beato 2022-01-31 15:25:52 +01:00
  • fd595c2ffe enable snap-userd-reexec for all ubuntu and debian Sergio Cazzolato 2022-01-31 09:25:11 -03:00
  • e9a0c60b14 tests/main/services-stress: test a snap with many services Maciej Borzecki 2022-01-31 12:32:32 +01:00
  • d275bda871 wrappers: preserve original buggy behavior Maciej Borzecki 2022-01-31 12:15:57 +01:00
  • f70c70e585 Skip snap-userd-reexec test when reexec is not enabled (#11307) Sergio Cazzolato 2022-01-31 08:16:46 -03:00
  • 9f9c3bbbf6 tests: skip bind mount in snapd-snap test when the core snap in not repacked (#11298) Sergio Cazzolato 2022-01-31 08:15:46 -03:00
  • f7712ab846 wrappers: preserve sockets/timers vs services startup order Maciej Borzecki 2022-01-31 11:52:19 +01:00
  • 27a3fec806 wrappers: do not disable services during cleanup if not enabling them Maciej Borzecki 2022-01-31 11:34:16 +01:00
  • 1beb4f60bd wrappers: formatting tweak Maciej Borzecki 2022-01-31 11:34:07 +01:00
  • 820e7457ab Merge pull request #11306 from alfonsosanchezbeato/transactional-apis Maciej Borzecki 2022-01-31 11:14:19 +01:00
  • c913255ec9 i/builtin: allow modem-manager interface to access some files in sysfs Alfonso Sánchez-Beato 2022-01-31 08:46:14 +01:00
  • 7014cd1dbd osutil/mkfs: Expose more fakeroot flags William Wilson 2022-01-28 15:00:16 -06:00
  • 7e0fb3266a Merge pull request #11292 from sergiocazzolato/tests-new-jammy-image Sergio Cazzolato 2022-01-28 16:59:13 -03:00
  • 6968012ac8 Use repair.NewCmdShow in the test to avoid appending to internal slice; this follows existing tests in the suite and fixes failures when running the test with -count N. Paweł Stołowski 2022-01-28 18:08:12 +01:00
  • 850a62f72e daemon: remove reboot function and adapt tests Alfonso Sánchez-Beato 2022-01-28 16:52:01 +01:00
  • f0d19f3379 bootloader: add interface for bootloaders needing reboot args Alfonso Sánchez-Beato 2022-01-28 16:48:30 +01:00
  • 285db664f3 boot: implement reboot function Alfonso Sánchez-Beato 2022-01-28 16:47:39 +01:00
  • e1a856242e asserts: finish the scaffold of authority-delegation Samuele Pedroni 2022-01-26 16:45:03 +01:00
  • 2bb8fbc4d1 asserts: start of authority-delegation Samuele Pedroni 2022-01-12 16:28:26 +01:00
  • f9a3f474a1 asserts: extend attrWord comment Samuele Pedroni 2022-01-28 13:11:29 +01:00
  • 3f290e9798 asserts: start generalizing attrMatcher Samuele Pedroni 2022-01-28 13:09:32 +01:00
  • 7bcf2a77c2 wrappers: be more aggressive with batch systemd operations Maciej Borzecki 2022-01-28 12:50:54 +01:00
  • 880e7beaa6 bootloader/piboot: address review comments and add tests Alfonso Sánchez-Beato 2022-01-28 11:49:32 +01:00
  • 32cbe91b8b client/snap_op.go: add colon to TODO comment Alfonso Sánchez-Beato 2022-01-28 10:41:08 +01:00
  • 632fa77a1b tests: fix snap-run-gdbserver restore Michael Vogt 2022-01-28 09:35:37 +01:00
  • 73b76b6406 Merge pull request #11301 from mvo5/we-want-ca-certs Michael Vogt 2022-01-27 21:26:55 +01:00
  • d168133e97 devicestate: ensure permissions of /var/lib/snapd/void are correct Michael Vogt 2022-01-27 21:18:32 +01:00
  • c398a020ce devicestate: ensure permissions of /var/lib/snapd/void are correct Michael Vogt 2022-01-27 21:18:32 +01:00
  • 4a499c68b7 gadget: add doc-comment, simplify constants and fix Copyright years Ian Johnson 2022-01-27 14:13:56 -06:00
  • b0ce20d700 Merge pull request #11177 from shaba/altlinux Michael Vogt 2022-01-27 19:57:57 +01:00
  • 16f9e11a76 cmd/snap-update-ns: convert some unexpected decimal file mode constants to octal. James Henstridge 2022-01-27 18:14:44 +08:00
  • fcdc3d4846 Merge pull request #11312 from jhenstridge/snap-confine-mode-bug Michael Vogt 2022-01-27 19:47:11 +01:00
  • f994782831 gadget: detect properly piboot bootloader Alfonso Sánchez-Beato 2022-01-27 11:15:44 +01:00
  • 4dc732b14f many: update unit tests for batched systemd operations Maciej Borzecki 2022-01-27 16:42:28 +01:00
  • 51343e4ac4 wrappers: drop remaining reset-failed and canoditional reload Maciej Borzecki 2022-01-27 16:40:18 +01:00
  • d363105501 many: address review comments Alfonso Sánchez-Beato 2022-01-27 16:27:44 +01:00
  • 61a9174324 Merge pull request #11294 from sergiocazzolato/tests-add-ubuntu2110-virt Michael Vogt 2022-01-27 15:54:20 +01:00
  • 8e2f414ba6 wrappers: optimize services start Ondrej Kubik 2022-01-20 09:09:03 +00:00
  • 4a62ecbe4d wrappers: optimize removing SnapServices Ondrej Kubik 2022-01-20 09:06:37 +00:00
  • ec4f965c7a add autogen case for altlinux Alexey Shabalin 2022-01-27 17:46:32 +03:00
  • 3535aa85a9 dirs: add altlinux to altDirDistros Alexey Shabalin 2022-01-27 17:46:06 +03:00
  • 7e3bd3cff6 wrappers: use batched calls when enabling services Ondrej Kubik 2022-01-20 09:02:31 +00:00
  • eb71502e18 wrappers: use batched calls when stopping services Ondrej Kubik 2022-01-20 08:59:06 +00:00
  • 2149086dbd tests: skip version check on lp-1871652 for sru validation (#11310) Sergio Cazzolato 2022-01-27 10:45:51 -03:00
  • 44a5d9bc3b Merge pull request #11304 from Meulengracht/feature/add-resource-test Maciej Borzecki 2022-01-27 14:44:12 +01:00
  • a02397ec14 o/snapstate: improve migration test robustness Miguel Pires 2022-01-27 12:04:24 +00:00