Re: [CentOS] SELinux settings for directory shared via NFS and samba?

2019-07-19 Thread hw

On 7/19/19 3:43 PM, Monty Shinn wrote:



On Jul 19, 2019, at 8:27 AM, Leon Fauster via CentOS  wrote:

Am 19.07.2019 um 14:51 schrieb hw :

Hi,

what do I need to do to share the same directory with both NFS and samba?
SElinux requires 'samba_share_t' for samba and 'nfs_t' for NFS, and AFAIC
I can't set both at the same time on a directory.


Maybe samba_share_nfs boolean? (not tested)

--
LF



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Might look into “public_content_rw_t” context as well.


Thanks!  Maybe I can still get around it; if not, I'll try those.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SELinux settings for directory shared via NFS and samba?

2019-07-19 Thread Monty Shinn

> On Jul 19, 2019, at 8:27 AM, Leon Fauster via CentOS  
> wrote:
> 
> Am 19.07.2019 um 14:51 schrieb hw :
>> Hi,
>> 
>> what do I need to do to share the same directory with both NFS and samba?
>> SElinux requires 'samba_share_t' for samba and 'nfs_t' for NFS, and AFAIC
>> I can't set both at the same time on a directory.
> 
> Maybe samba_share_nfs boolean? (not tested)
> 
> --
> LF
> 
> 
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos

Might look into “public_content_rw_t” context as well.

ms
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SELinux settings for directory shared via NFS and samba?

2019-07-19 Thread Leon Fauster via CentOS
Am 19.07.2019 um 14:51 schrieb hw :
> Hi,
> 
> what do I need to do to share the same directory with both NFS and samba?
> SElinux requires 'samba_share_t' for samba and 'nfs_t' for NFS, and AFAIC
> I can't set both at the same time on a directory.

Maybe samba_share_nfs boolean? (not tested)

--
LF



___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] SELinux settings for directory shared via NFS and samba?

2019-07-19 Thread hw


Hi,

what do I need to do to share the same directory with both NFS and samba?
SElinux requires 'samba_share_t' for samba and 'nfs_t' for NFS, and AFAIC
I can't set both at the same time on a directory.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos