Commit Graph

  • 5ea6820282 snap/mount: discard namespace and retry if updateSnapNamespace fails (#12541) Sergio Costas 2023-07-21 09:21:42 +02:00
  • ffa162ef6b fix upgrade-from-release for ubuntu mantic and fix it for lunar Sergio Cazzolato 2023-07-18 14:22:25 -03:00
  • 9cff007503 daemon: remove unreachable code Michael Vogt 2023-07-19 15:21:08 +02:00
  • 876953a4a8 o/snapstate: limit implicit --unaliased flag for parallel installs only Zeyad Gouda 2023-07-17 10:04:02 +03:00
  • 6601349c8f o/snapstate: remove unneeded log message and fix typo in test Zeyad Gouda 2023-07-13 10:30:08 +03:00
  • f5ddfe6a86 o/snapstate: implicitly set --unaliased flag for parallel installs Zeyad Gouda 2023-07-10 14:36:12 +03:00
  • ca49727e35 preseed: remove unneeded error check after sd.EssentialSnaps() Michael Vogt 2023-07-19 18:06:19 +02:00
  • b4d2006eb7 devicestate: fix missing err assignment in cleanupRecoverySystem Michael Vogt 2023-07-19 19:10:51 +02:00
  • 2b3491b039 systemd: fix incorrect err handling in ensureMountUnitFile() Michael Vogt 2023-07-19 19:35:57 +02:00
  • 57c8e27e91 client: extract realUidGid() helper (thanks to Oliver for the suggestion) Michael Vogt 2023-07-19 11:35:35 +02:00
  • 14d835a10c osutil: fix error message when restoring the "reuid" (thanks to Alfonso) Michael Vogt 2023-07-19 11:28:17 +02:00
  • f5042e3c3f tests: do not run drop-privs on ubuntu-core as there is no go-compiler there Michael Vogt 2023-07-17 17:53:31 +02:00
  • accf67f1a4 osutil: fix silly mistake from d35eccff Michael Vogt 2023-07-14 08:59:10 +02:00
  • 13717898a2 osutil: add more caveats to RunAsUidGid Michael Vogt 2023-07-14 08:56:22 +02:00
  • 29d2e1a228 tests: add test about errors handling in drop-privs Michael Vogt 2023-07-13 19:10:46 +02:00
  • 089791d23e osutil: clarify RunAsUidGid() comment about LockOSThread() Michael Vogt 2023-07-13 19:08:45 +02:00
  • da86ee58d0 osutil: remove no longer needed sys.UnrecoverableError Michael Vogt 2023-07-13 19:07:14 +02:00
  • 0ccf1491bf osutil: tweak error handling in sys.RunAsUidGid() Michael Vogt 2023-07-13 18:57:29 +02:00
  • 57faa0dac8 sys: add comment about syscall.Setreuid() and RawSyscall Michael Vogt 2023-07-13 18:38:02 +02:00
  • 7de1130789 tests: tweak drop-privs/runas-2 test Michael Vogt 2023-07-13 18:24:03 +02:00
  • d69ad5d1fa tests/main/drop-privs: improve uid check Philip Meulengracht 2023-07-13 10:34:08 +02:00
  • dbaebdf4b7 tests/main/drop-privs: correct a wrong comment Philip Meulengracht 2023-07-13 10:17:16 +02:00
  • d019a26956 osutil,tests: move runas code to own file Philip Meulengracht 2023-07-13 09:19:52 +02:00
  • b0bddef4c8 osutil/sys: dont forget darwin enums Philip Meulengracht 2023-07-12 12:53:52 +02:00
  • bd6fddcc3e client,osutil: support for accessing auth.json without root Philip Meulengracht 2023-07-12 12:47:17 +02:00
  • 737d582ea3 boot: fix redundant error check in markSuccessful() Michael Vogt 2023-07-19 19:39:05 +02:00
  • aa99a58193 boot/cmdline.go: remove ErrNoKernelCommandline Valentin David 2023-07-13 14:01:39 +02:00
  • 9431b3f822 daemon: modify unit tests of TestErrToResponse to test multiple snaps Zeyad Gouda 2023-07-04 15:19:04 +03:00
  • 5d2877e3aa daemon: fix /v2/snaps "Internal Server Error" error when installing unknown snaps Zeyad Gouda 2023-07-04 12:08:19 +03:00
  • a314160079 interfaces: allow suppressing pycache deny rule (#12822) Dimitri John Ledkov 2023-07-18 14:28:23 +01:00
  • 994c4e7eec many: carry bootloader options in rebootinfo Philip Meulengracht 2023-07-10 12:24:26 +02:00
  • 45f2ee27f8 t/regression/mount-order-regression: set no mem limit Philip Meulengracht 2023-07-14 10:57:27 +02:00
  • 0ee6c919fb t/core/snapd-failover: use SIGKILL instead of SIGSEGV Philip Meulengracht 2023-07-14 10:13:24 +02:00
  • 5029c4540a tests/lib/tools: use correct unit switch Philip Meulengracht 2023-07-13 14:34:21 +02:00
  • 9b6039c21e tests: make strace-static channel point to beta Michael Vogt 2023-07-17 13:20:08 +02:00
  • 0622b612ba gadget: fix TestMountVolumesLazyUnmount after master branch update Michael Vogt 2023-07-14 15:42:23 +02:00
  • 9084ca3138 snapcraft.yaml: pull in apparmor optimization patches from Alfonso Michael Vogt 2023-07-12 16:45:58 +02:00
  • 6117ee45f3 install: extract unmount helper function Michael Vogt 2023-07-10 11:05:08 +02:00
  • 392589b1f7 gadget/install/install_test: test if fallback unmount fails and add checks for log messages Zeyad Gouda 2023-07-13 12:57:33 +03:00
  • ddf69e8681 gadget/install/install_test: add unit tests for MountVolumes Zeyad Gouda 2023-07-12 12:30:09 +03:00
  • 0725930920 daemon.go: fix typo Christian Ehrhardt 2023-07-13 10:53:58 +02:00
  • 54fd3e5f84 interfaces/opengl: add support for ARM Mali Aristo Chen 2023-06-20 17:32:06 +08:00
  • 85cdda5c73 interfaces/opengl: add support for ARM Mali Aristo Chen 2023-06-20 17:32:06 +08:00
  • d8f6ff32f1 tests: fix security-seccomp test by skip using the apparmor parser with cache (#12893) Sergio Cazzolato 2023-07-11 13:51:02 -03:00
  • e873fab27d interfaces: update comments about no-expr-simplify Michael Vogt 2023-07-10 11:44:03 +02:00
  • 5379e2c609 o/state: clarify why we are s.reading() Philip Meulengracht 2023-07-07 12:53:16 +02:00
  • d4b64e97a7 o/state: support for task+change status events Philip Meulengracht 2023-06-27 09:24:04 +02:00
  • 18f82a8a71 advisor: add a small unittest Michael Vogt 2023-05-23 21:48:03 +02:00
  • cb63090852 interface: partly revert network-control apparmor change (ee7e554) Michael Vogt 2023-06-13 12:49:01 +02:00
  • 2bef6c5d77 go.mod: update gopkg.in/yaml.v3 to v3.0.1 to fix CVE-2022-28948 Michael Vogt 2023-07-06 15:19:22 +02:00
  • 7ba95e3a7a tests: speed up the prepare phase through a new tool to manage initial snapd env (#12707) Sergio Cazzolato 2023-07-07 12:17:41 -03:00
  • 4640067371 .github: fix exempted bot name Miguel Pires 2023-07-07 13:21:46 +01:00
  • 5c9d87060a .github: ignore translations committer in CLA check Miguel Pires 2023-07-07 09:50:13 +01:00
  • 7e22ca9392 Skip uc20-create-partitions-encrypt in ubuntu-23.* Sergio Cazzolato 2023-06-30 18:04:28 -03:00
  • 7f0bcdfd55 snap-bootstrap: print version information at startup Michael Vogt 2023-07-04 14:56:29 +02:00
  • e3215d6f1f daemon.go: doc cleanup Robert P. J. Day 2023-06-20 11:23:11 -04:00
  • d30afc0ac3 i/builtin: allow directories in private /dev/shm (#12925) Mehdi Bendriss 2023-07-06 18:11:44 +02:00
  • 34b1374f55 tests: add check that apparmor.service service works correctly with vendored apparmor Alex Murray 2023-06-21 11:48:51 +02:00
  • 2b363e0e2b Merge pull request #12957 from mvo5/changelog-2.60.1 Michael Vogt 2023-07-06 18:03:06 +02:00
  • 7abfa24798 luks2: use cmdErr in osutil.OutputErr() Michael Vogt 2023-07-04 13:14:57 +02:00
  • 838b5f868c luks2: fix error reporting when fifoErr is nil Michael Vogt 2023-07-03 11:56:12 +02:00
  • 4f49d3673e luks2: add test for writeExistingKeyToFifo() failing Michael Vogt 2023-07-03 11:05:41 +02:00
  • 500d76eba7 luks2: make AddKey() robust against failure on pipe write or cmd Michael Vogt 2023-07-03 10:40:29 +02:00
  • 27b6c5b025 luks2: refactor/simplify cryptsetupCmd(), make AddKey() slightly more complex Michael Vogt 2023-07-03 10:10:06 +02:00
  • 2bee427f7a luks2: cleanup pendig readers/writer of a fifo too Michael Vogt 2023-07-03 09:28:15 +02:00
  • 8b02d31002 luks2: add missing unit tests Michael Vogt 2023-06-30 17:34:13 +02:00
  • 0e790be44a shutdown: fix reboot and shutdown in core desktop Sergio Costas Rodriguez 2023-06-01 11:44:41 +02:00
  • 361617826f tests: test factory reset without fde Valentin David 2023-06-23 16:17:52 +02:00
  • 716822edb0 i/builtin: add read access to /proc/task/schedstat in system-observe (#12927) Mehdi Bendriss 2023-07-06 17:36:49 +02:00
  • 7739ab7f25 tests/muinstaller-real: remove unnecessary comment Alfonso Sánchez-Beato 2023-07-05 13:09:06 +01:00
  • bb663ae0ec tests/lib/muinstaller: update dependencies Alfonso Sánchez-Beato 2023-07-05 13:08:44 +01:00
  • 7af3db6707 release: 2.60.1 (#12950) Michael Vogt 2023-07-06 09:48:49 +02:00
  • 6e6d3711a9 release: 2.60.1 (#12950) 2.60.1 Michael Vogt 2023-07-06 09:48:49 +02:00
  • f1e72fa0bd many: rename dl opt from IsAutoRefresh to Scheduled Miguel Pires 2023-07-04 15:50:45 +01:00
  • 16aa83a96d many: rename store opt from IsAutoRefresh to Schedule Miguel Pires 2023-07-04 11:22:10 +01:00
  • 64fc4f1b26 o/snapstate: save refresh-candidates on auto-refresh Miguel Pires 2023-07-04 11:16:13 +01:00
  • cc7985119f i/mount: use testutil.DeepUnsortedMatches instead of explicit sorting Samuele Pedroni 2023-07-05 14:50:24 +02:00
  • b618145e5f i/mount: the new .fstab is kept even if snapd-update-ns fails Samuele Pedroni 2023-07-05 10:56:19 +02:00
  • c12e59f78e interfaces: add some tests for the mount backend ns update case Samuele Pedroni 2023-07-03 14:02:52 +02:00
  • cc5127df45 tests: install ubuntu image snap to build uc18 and uc2* (#12891) Sergio Cazzolato 2023-06-19 09:54:05 -03:00
  • befebe0d50 gadget: check partial schema is ok in updates/remodeling Alfonso Sánchez-Beato 2023-06-23 11:51:58 +01:00
  • bf6c94aafd gadget: remove impossible checks for empty schema Alfonso Sánchez-Beato 2023-06-23 10:05:01 +01:00
  • 8a9f3c889e many: move helper gadgettest function to gadget Alfonso Sánchez-Beato 2023-06-23 09:35:35 +01:00
  • e079407cf3 gadget: check that schema is not set if partial schema is set Alfonso Sánchez-Beato 2023-06-22 13:24:38 +01:00
  • 1a3e46ff16 tests/muinstaller-real: add partial gadget test Alfonso Sánchez-Beato 2023-06-15 15:05:34 +01:00
  • aa5baf4b8e tests/lib: select boot disk for classic images too Alfonso Sánchez-Beato 2023-06-15 15:00:41 +01:00
  • 75b7259cd8 tests/muinstaller: fill information in partial gadgets Alfonso Sánchez-Beato 2023-06-15 14:59:18 +01:00
  • f276b8c23f gadget: consider partial in EnsureVolumeCompatibility Alfonso Sánchez-Beato 2023-06-15 14:55:52 +01:00
  • 60a56eed25 gadget/install: allow gaps in the partitions in the gadget Alfonso Sánchez-Beato 2023-06-15 13:53:30 +01:00
  • 73b3ca9d59 gadget: consider partial when calculating allowed offsets Alfonso Sánchez-Beato 2023-06-15 11:57:52 +01:00
  • 2bed1e12e1 gadget,overlord: apply information coming from the installer Alfonso Sánchez-Beato 2023-06-15 11:23:50 +01:00
  • 7841d66e9f client: set enclosing volume when retrieving system details Alfonso Sánchez-Beato 2023-06-15 11:16:26 +01:00
  • f91a089d33 install: lazy unmount() in writeFilesystemContent() if needed (#12939) Michael Vogt 2023-07-04 19:39:54 +02:00
  • 3a88987d5f install: lazy unmount() in writeFilesystemContent() if needed (#12939) Michael Vogt 2023-07-04 19:39:54 +02:00
  • 0cbe86b096 install: lazy unmount() in writeFilesystemContent() if needed (#12939) Michael Vogt 2023-07-04 19:39:54 +02:00
  • 90e8d0bc5c data: include "modprobe.d" and "modules-load.d" in preseeded blob Ondrej Kubik 2023-07-03 12:33:33 +01:00
  • db0fc0be0a data: include "modprobe.d" and "modules-load.d" in preseeded blob Ondrej Kubik 2023-07-03 12:33:33 +01:00
  • 9c472826e6 gadget: fix install test on armhf Michael Vogt 2023-07-03 15:40:37 +02:00
  • c9a5fe76c6 gadget: fix install test on armhf Michael Vogt 2023-07-03 15:40:37 +02:00
  • a45679bb24 interfaces: fix typo in network_manager_observe Dennis Loose 2023-06-19 11:53:52 +02:00