* Enable refresh-app-awareness by default.
* Update tests.
* Fix comment.
* Pass --ignore-running in spread tests.
* Update hidden-snap-dir test with --ignore-running.
* Fix op-remove-retry test to kill test-snapd-tools.block process.
* Remove --ignore-running flag from hidden-snap-dir (not needed).
* Remove --ignore-running flag from refresh test (not needed).
* Add comment to the test
Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>
* Add comment to the test
Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>
* Add extra comments explaining --ignore-running use in the tests.
Co-authored-by: Maciej Borzecki <maciek.borzecki@gmail.com>
We agreed to enable this feature after a release a long while ago and
forgot about this entirely. This should improve compatibility of some
snaps that use classic confinement, as $XDG_RUNTIME_DIR will no longer
be altered, allowing unmodified binaries to find sockets and other
resources there.
Forum: https://forum.snapcraft.io/t/classic-confinement-breaks-high-dpi-support/13868
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
This new feature flag will control the location of the per-user snap
data root. When the flag is unset, the ~/snap location is used. When
the flag is set the new ~/.snapdata location will be used as the root of
all other locations (such as SNAP_USER_DATA and SNAP_USER_COMMON).
The flag is implemented on the go and C sides, as both need to observe
it.
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
A while ago we enabled this for select customers. We should enable this
globally now as this feature genuinely improves robustness for a certain
class of mount namespace operations.
Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
The new feature flag controls how snap-update-ns performs updates of
mount namespaces. With this flag enabled the differential update logic
is disabled and mount namespaces are torn down and re-constructed
internally, that is, without discarding the mount namespace that is
preserved in the file-system.
Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>