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-05-11 11:27:06 +02:00
2021-08-24 15:16:37 -03:00
2022-09-27 15:02:59 +02:00
2022-02-11 14:30:36 +01:00
2022-02-11 14:30:36 +01:00