spiegel_podman/pkg/machine/applehv
Jason T. Greene d1670573d0 Fix relabeling failures with Z/z volumes on Mac
Non-Linux systems, such as BSD kernels, constrain xatter updates
according to file permissions. This is in contrast to Linux selinux
attr writes, which are governed by an selinux policy. By dafault this
policy apllows users to relabel files owned by themselves even if file
perms would otherwise disallow write.

This results in robust container relabeling results on Linux, and
fragile results everywhere else. Therefore, change the mac policy to
force the nfs_t context on all files, and ignore all relabel
events.

As a side-effect, this will disallow any ability to store custom
selinux constants on files. However, this is of limited use in
a machine context, since files in these volumes are externally
managed on systems which do not support SELinux.

Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
2024-04-09 17:58:35 +00:00
..
vfkit Enable lint for Darwin and fix identified issues 2024-02-26 11:01:54 -05:00
config.go Podman 5 machine refactor - applehv 2024-02-07 09:18:45 -06:00
ignition.go Bump Go module to v5 2024-02-08 09:35:39 -05:00
machine.go Fix relabeling failures with Z/z volumes on Mac 2024-04-09 17:58:35 +00:00
stubber.go machine: make more use of strongunits 2024-03-06 16:14:30 +01:00
vfkit.go Enable lint for Darwin and fix identified issues 2024-02-26 11:01:54 -05:00