On Fri, Feb 4, 2022 at 3:49 PM Richard W.M. Jones <rjones(a)redhat.com> wrote:
On Fri, Feb 04, 2022 at 03:47:11PM +0200, Nir Soffer wrote:
> Can be fixed with:
>
> $ sudo chcon -R -t nfs_t mnt
Yes that did work, thanks.
Is this still a bug?
For NFS this works out of the box - I don't think you need to
relebal anything manually.
As a user I would expect that mounting posix file system will also work
out of the box. For example vdsm ca relabel the mount point when creating
a storage domain.
Also I'm not sure using nfs_t is the right label to use, we better discuss this
with selinux folks.
So I think this issue is worth a bug, in the worst case we will close
it, and the
bug will also document the workaround.
Nir