58186 Commits

Author SHA1 Message Date
Michael Vogt
e757928651 release: 2.59 2.59 2023-03-10 13:37:13 +01:00
Michael Vogt
b9534bccbf NEWS.md: new file and updated for 2.59 (#12635)
* NEWS.md: new file and updated for 2.59

* Apply suggestions from code review

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* NEWS.md: tweak (thanks to Samuele)

* NEWS.md: add also image building assertion fetching fixes

---------

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>
Co-authored-by: Samuele Pedroni <pedronis@lucediurna.net>
2023-03-10 12:42:59 +01:00
Philip Meulengracht
0a96697db9 Merge pull request #12566 from Meulengracht/feature/model-assert-valsets
asserts: support validation-sets in model assertion
2023-03-10 09:43:25 +01:00
Philip Meulengracht
d1f1074adf asserts: review feedback
add Optional to the sequence check, change error for wrongly formatted validation-set entry
2023-03-10 07:22:44 +01:00
Philip Meulengracht
6c167b9ab6 asserts: review feedback
clarify error description if specifying an invalid sequence
2023-03-10 07:22:44 +01:00
Philip Meulengracht
9a006ce79d asserts: review feedback
dont allow 0 in sequence, remove checkDefaultIntWhat as its not needed anymore, add unit test for the 0 case
2023-03-10 07:22:44 +01:00
Philip Meulengracht
77c9bfb609 asserts: review feedback
improve error messages, add missing unit test cases for these errors
2023-03-10 07:22:43 +01:00
Philip Meulengracht
080f154631 asserts: review feedback
use 'what' methods instead to provide error context when data members are invalid, change certain error messages to align with the rest, and introduce a What variant of checkIntWithDefault
2023-03-10 07:22:43 +01:00
Philip Meulengracht
b3f15803d1 asserts: remove monitor as a mode 2023-03-10 07:22:43 +01:00
Philip Meulengracht
1f903f7524 asserts: default to brand ID when account ID is not set 2023-03-10 07:22:42 +01:00
Philip Meulengracht
b18a7aab80 asserts: support validation-sets in model assertion 2023-03-10 07:22:42 +01:00
Sergio Cazzolato
67e693bf50 Merge pull request #12481 from sergiocazzolato/tests-update-nested-tests-again-p1
tests: improvements for nested tests
2023-03-09 21:54:03 -03:00
Sergio Cazzolato
ec0354f7fb Merge pull request #12517 from sergiocazzolato/tests-new-lxd-prepare-command
tests: update lxd-state tool to install and prepare the lxd snap
2023-03-09 17:20:58 -03:00
Sergio Cazzolato
b56d54ae45 Merge branch 'master' into tests-update-nested-tests-again-p1 2023-03-09 13:56:54 -03:00
Sergio Cazzolato
444ff31fcd Merge branch 'master' into tests-new-lxd-prepare-command 2023-03-09 13:56:33 -03:00
Sergio Cazzolato
f6819a4f66 Merge pull request #12632 from sergiocazzolato/tests-update-interfaces-account-control
tests: update interfaces-account-control test to use snapd with the UC base
2023-03-09 13:55:29 -03:00
Alfonso Sánchez-Beato
597f1efcaf interfaces/account-control: grant access to files needed by pam
pam uses /var/log/lastlog for successful log attempts, and
/var/log/tallylog for failures.
2023-03-09 17:03:32 +01:00
Sergio Cazzolato
0af29dc029 Merge branch 'master' into tests-update-interfaces-account-control 2023-03-09 10:50:37 -03:00
Philip Meulengracht
57de0e8553 golang-ci: bump version to support golang 1.20 2023-03-09 14:43:47 +01:00
Philip Meulengracht
ae6489f798 golang: remove deadcode linter 2023-03-09 14:43:47 +01:00
Sergio Cazzolato
b2341fb7c6 Update interfaces-account-control test to use snapd with the UC base
The tests is update because pam  is configured to load a binary module
and when the snap is a different base, UC fails to load the module

Also uc22 is added to the systems supported.
2023-03-09 08:47:54 -03:00
Sergio Cazzolato
5d98130839 Skip snapd-reexec-prompt on arm devices as it is excluded in amd64
Include ubuntu-core-16-arm-64 in the excluded systems, this is failing
as it fails in amd64
2023-03-09 10:13:00 +01:00
Alfonso Sánchez-Beato
0572c42991 tests/nested/manual/fde-on-classic: test appending kernel command
line arguments by using system options.
2023-03-08 17:24:06 +01:00
Alfonso Sánchez-Beato
52c10afbd3 o/configcore: add flag that will determine if a system option can be
used on a system with modes. Use it for the kernel command line
options.
2023-03-08 17:24:06 +01:00
Dimitri John Ledkov
a0948bc380 interfaces/nvidia-drivers-support: NVIDIA drivers userspace system setup support (#12591)
* interfaces/nvidia-support: Add support for NVIDIA char devices

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>

* Fix policy tests

* expand nvidiaSupportSummary

* update copyright year

* Rename to nvidia-drivers-support

* Rename files

* go.gofmt fix

---------

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@canonical.com>
2023-03-08 17:11:17 +01:00