Re: [Virtio-fs] virtiofs mounted filesystems & SELinux

2021-06-07 Thread Link Dupont
On Mon, Jun 7 2021 at 09:01:08 AM -0400, Daniel Walsh wrote: On 6/4/21 09:59, Daniel P. Berrangé wrote: On Fri, Jun 04, 2021 at 09:44:39AM -0400, Vivek Goyal wrote: On Thu, Jun 03, 2021 at 10:14:24PM -0400, Link Dupont wrote: On Thu, Jun 3 2021 at 08:56:46 PM -0400, Link Dupont wrote

Re: [Virtio-fs] virtiofs mounted filesystems & SELinux

2021-06-03 Thread Link Dupont
On Thu, Jun 3 2021 at 08:56:46 PM -0400, Link Dupont wrote: reproducible scenarios Alright. I reran my tests with a CentOS 8 guest. On CentOS 8 (with a virtiofs filesystem and with xattr on), the type of files in the mounted hierarchy are unlabeled_t. I can work around that by switching

Re: [Virtio-fs] virtiofs mounted filesystems & SELinux

2021-06-03 Thread Link Dupont
On Thu, Jun 3 2021 at 08:24:02 PM +0100, Dr. David Alan Gilbert wrote: (I'm not sure el7 had 9p either??) Oh drat. I'm conflating my issues. I have an EL7 guest that is having a similar problem, except the guest sees the files as type nfs_t. I guess the symptoms are the same, but the solutio

Re: virtiofs mounted filesystems & SELinux

2021-06-03 Thread Link Dupont
ly experimenting by trial-and-error here. On Wed, Jun 2 2021 at 03:55:40 PM -0500, Connor Kuehl wrote: On 5/21/21 11:59 AM, Link Dupont wrote: Adding the virtio-fs mailing list. I am mounting a filesystem into a domain using the virtiofs driver. Both my h

virtiofs mounted filesystems & SELinux

2021-05-25 Thread Link Dupont
I am mounting a filesystem into a domain using the virtiofs driver. Both my host (Fedora 34) and guest (CentOS 8.4) are running with SELinux enforcing. From my host, I can see that the SELinux context type is set to user_home_dir_t. $ ls -ldZ /home/link drwxr-xr-x. 61 li