Files
snapd/data
Maciej Borzecki 3ebc50d5b5 data/selinux: update the policy to allow operations on non-tmpfs /tmp
Some distros, eg. CentOS 7 do not have /tmp on tmpfs. Because of this, the
policy rules for tmpfs are not effective and the following denial can be
observed when disconnecting the x11 interface (which mounts /tmp/.X11-unix from
the host):

type=AVC msg=audit(1606220902.660:1383): avc:  denied  { rmdir } for
         pid=28575 comm="snap-update-ns" name=".X11-unix" dev="sda2"
         ino=17552915
         scontext=system_u:system_r:snappy_mount_t:s0
         tcontext=system_u:object_r:tmp_t:s0
         tclass=dir permissive=1

We need to extend the policy to explicitly allow poking generic tmp_t files and
directories.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2020-11-24 14:15:13 +01:00
..
2020-04-18 11:25:30 +02:00
2018-02-22 17:37:57 +01:00