snapd:release/2.56

Last commit made on 2022-09-27
Get this branch:
git clone -b release/2.56 https://git.launchpad.net/snapd

Branch merges

Branch information

Name:
release/2.56
Repository:
lp:snapd

Recent commits

2eb3cb7... by Alberto Mardegan

i/b/mount-control: add optional `/` to umount rules (#12168)

* i/b/mount-control: add optional `/` to umount rules

In commit a10ecaaaafc0aeaac59d563fc08cc6ba0ad75f1a we added an optional
`/` at the end of the AppArmor mount rules, since AppArmor is rather
strict on them.

Indeed, the same applies to umount rules.

* tests: improve mount-control spread tests

Diversify the paths in the "where" attributes, otherwise a
value like "$SNAP_COMMON/**" would hide potential errors in the "where"
attributes of other mount entries -- as indeed has been the case until
now, when we realized of the `/` missing at the end of the umount rules
(see the previous commit).

* tests: improve mount-control tests with review comments

Add a "/" to a mount point to verify that it's irrelevant.

0682d8b... by Sergio Cazzolato

Add definition for test-snapd-sh-core{20,22}

819dd26... by Sergio Cazzolato

Remove old comment

e709b2a... by Sergio Cazzolato

Fix how snaps are cached in uc22

The snaps cached were from edge channel which is not correct any more

This is making the tests in uc22 running beta validation run much slower

7615a29... by Michael Vogt

release: version 2.56.3 (#11959)

de94c60... by Nathan Teodosio

Allow editing of Jupyter notebooks in browsers

50a529f... by Maximiliano Bertacchini

interfaces/builtin/system-observe: extend access for htop

* Allow read access to /proc/sys/kernel/sched_autogroup_enabled and
  /proc/*/{,task/*/}autogroup to show AGRP (autogroup) and ANI
  (autogroup nice) columns.

* Allow read access to /proc/*/{,task/*/}io for detailed process IO
  stats.

063368e... by Maximiliano Bertacchini

interfaces/builtin/mount-observe: extend access for htop

* Allow read access to /proc/1/mounts to detect whether it's running under
  lxc/lxd/docker.

* Allow read access to /proc/spl/kstat/zfs/arcstats to calculate RAM usage
  more accurately.

cfbc777... by Maciej Borzecki

interfaces/builtin/system-observe: extend access for htop

Htop supports various meters, including OOM score display, summary of process
mappings memory use and PSI information

Signed-off-by: Maciej Borzecki <email address hidden>

a211a73... by Michael Vogt

devicestate: add more path to `fixupWritableDefaultDirs()`

There is a use-case for fixupWritableDefaultDirs() to include
the dirs:
```
- /etc/systemd/network
```
to support rename to predicable network names. Eventually this
is something that snapd/netplan will support but to unblock
users this workaround is needed.