snappy:release/2.55

Last commit made on 2022-05-11
Get this branch:
git clone -b release/2.55 https://git.launchpad.net/snappy

Branch merges

Branch information

Name:
release/2.55
Repository:
lp:snappy

Recent commits

12b345b... by Michael Vogt

release: 2.55.5 (#11773)

1d5e785... by Michael Vogt

Merge pull request #11772 from mvo5/no-core22-Snap-dir-transition-2.55

snapstate: do not auto-migrate to ~/Snap for core22 just yet (2.55)

82add9c... by Michael Vogt

snapstate: do not auto-migrate to ~/Snap for core22 just yet

During the roadmap sprint in Copenhagen we had a discussion about
the behavior of the ~/Snap folder migration. Unfortunately there
seems to have been some misunderstandings in the previous plan
and during the discussion it became apparent that is considered
to risky to migrate all the snaps with `base: core22`.

Instead we will most likely create an experimental option to
opt-in into the ~/Snap folder for selected snaps to get feedback
and gather data what snaps behave well and which are problematic.

Based on these results we will then decide if:
a) we do the migration at a future point automatically for all snaps
b) if allow snaps to opt-in into the migration via a flag in snap.yaml
c) migrate with core24

This is an initial commit to remove the current automatic migration
for core22 based snaps. We need to act quickly here to ensure
as few snaps as possible have migrated already (but there really
should be none because snapcraft does not allow building
`base: core22` snaps yet in their stable channel).

24ec658... by James Henstridge

cmd/snap-seccomp: add copy_file_range to syscallsWithNegArgsMaskHi32

While the base seccomp template only compares the sixth argument to 0,
the argument is a 32-bit "unsigned int". The high half of the register
won't necessarily have been cleared, so we want the same
CompareMaskedEqual behaviour.

2d9595b... by James Henstridge

cmd/snap-update-ns: fix up conversions between Go FileMode and posix mode bits

cce40bc... by James Henstridge

tests: expand private shm test to check permissions of private shm directory

80a934d... by James Henstridge

cmd/snap-update-ns: explicitly set umask to 0

f739efa... by James Henstridge

cmd/snap-update-ns: don't mask out high permission bits in MkdirAll and friends

272b086... by Valentin David

.github: Skip misspell and ineffassign on go 1.13

A change in golang.org/x/sys broke build of misspell and ineffassign
on go 1.13.

ed34c7c... by Sergio Cazzolato

Add lz4 dependency for jammy to avoid issues repacking kernel

The tests are failing to repack the kernel snap with the error
cpio: premature end of archive
This happens because the lz4 dependency is not installed in the system

Error:
+ cd repacked-kernel
+
unpackeddir=/home/gopath/src/github.com/snapcore/snapd/tests/main/abort/repacked-kernel
++ grep -Po 'config-\K.*'
++ ls config-5.15.0-27-generic
+ kver=5.15.0-27-generic
+ objcopy -j .initrd -O binary kernel.efi initrd
+ unmkinitramfs initrd unpacked-initrd
cpio: premature end of archive