~mvo/snapd/+git/snapd-mvo:snap-daemon-fix

Last commit made on 2023-09-05
Get this branch:
git clone -b snap-daemon-fix https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
snap-daemon-fix
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

e4ca100... by Michael Vogt

tests: fix system-usernames-missing-user multiline MATCH

This test failed with:
```
2023-09-05T12:51:25.0650751Z + echo 'Then the snap cannot be installed'
2023-09-05T12:51:25.0651128Z Then the snap cannot be installed
2023-09-05T12:51:25.0651591Z + MATCH 'cannot add user/group "snap_daemon": group exists and user does not'
2023-09-05T12:51:25.0652024Z + snap install --edge test-snapd-daemon-user
2023-09-05T12:51:25.0652503Z grep error: pattern not found, got:
2023-09-05T12:51:25.0653135Z error: cannot install "test-snapd-daemon-user": cannot ensure users for snap
2023-09-05T12:51:25.0653797Z "test-snapd-daemon-user" required system username "snap_daemon": cannot
2023-09-05T12:51:25.0654381Z add user/group "snap_daemon": group exists and user does not
```
This is because of the line breaks that are added in the error
and that MATCH only matces a single line. This commit fixes it
by changing the \n to normal spaces in the error message before
doing the match.

75a2072... by Valentin David

o/d/remodel.go: release lock when resealing

Resealing can take more than a minute since it must hash a lot of files
that it might need to unpack from snaps. It also needs to interact
with the TPM and parse the event log, which might be slow. If
we keep the lock, then snapd will not respond for a long time.

This fixes failures for `tests/nested/manual/core20-remodel`

7c17cf2... by "J. Brock" <email address hidden>

asserts,seed: preseed authority delegation (#13034)

* asserts/model: add preseedAuthority field to Model

* seed20: allow authority-id to differ from the brand-id

* fixup! asserts/model: add preseedAuthority field to Model

fix comment wording to PreseedAuthority

* fixup! seed20: allow authority-id to differ from the brand-id

clarify error message as "preseed authority-id"

* fixup! asserts/model: add preseedAuthority field to Model

standardize checkOptionalAuthority() signature and make acceptsAny bool explicit when invoking it

* fixup! seed20: allow authority-id to differ from the brand-id

fix ineffectual assignment to preseedAs2

* fixup! asserts/model: add preseedAuthority field to Model

bump copyright years for files touched by 5593e76312

* fixup! seed20: allow authority-id to differ from the brand-id

bump copyright years for files touched by ce7ba34e0f

* fixup! asserts/model: add preseedAuthority field to Model

asserts/model.go: rename "acceptsAny" to "acceptsWildcard"

cbd51b2... by Robert Ancell

interface: make theme access functions generic so can be reused for other interfaces

67cd710... by Valentin David

t/n/c/connected-after-reboot-revert: expect one more reboot on UC16

Here are the expected reboot causes:
 * Make current revision for snap "core" unavailable
 * Make snap "core" (unset) available to the system
 * Make current revision for snap "pc-kernel" unavailable
 * Make snap "pc-kernel" (unset) available to the system

b81a8b2... by Philip Meulengracht

o/restart: support for restart boundaries

0cc46ad... by Philip Meulengracht

i/b/bool-file: Allow configuring trigger, delay_on and delay_off fields within LED driver

4fb5d79... by Bugra Aydogar

i/b/bool-file: Allow configuring trigger, delay_on and delay_off fields within LED driver

d8942e6... by Ash <email address hidden>

steam_support: allow media, mnt, run/media, opt, and srv (#13053)

* Allow media, mnt, run/media, opt, and srv

* Fix opt and srv; Add usr/etc paths

* Add ld library mount paths

* Broaden and simplify mount

97e757d... by Valentin David

t/n/m/fde-on-classic: Do not check for default EFI boot loader (shim)

The EFI boot loader is for the ESP, not the boot partition. This
was removed in pc-gadget recently.