Files
Alberto Mardegan 2eb3cb7f87 i/b/mount-control: add optional / to umount rules (#12168)
* i/b/mount-control: add optional `/` to umount rules

In commit a10ecaaaaf 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.
2022-09-27 17:44:34 +02:00
..
2022-04-22 11:10:58 +02:00
2022-04-14 12:51:08 +02:00