Le ven. 6 avr. 2018 à 12:21, Peter Robinson <pbrobinson@gmail.com> a écrit :
On Fri, Apr 6, 2018 at 12:06 AM, Pierre-Francois RENARD
<pfrenard@gmail.com> wrote:
> Hello guys,
> I tried to use autofs and nfs.
> I have the same issue with autofs as other guys, with SELinux. I had to change SELinux mode to permissive to be able to make autofs usable ...

Please report a bug against selinux-policy with the denies included in
the bug report.

the bug already exists☺️

> But I  also discovered that by default mount.nfs and autofs are using NFSv4 and cannot switch to NFSv3.

NFSv4 has been the default client side in Fedora for a number of
years. I'm not aware that NFSv3 has been disabled thouygh.

it was working with f26/f27 with no tunning at all. probably something new.

There was a bunch of nfs stuff rebased, file a bug, I suspect it's the same on x86 too

> I had to add an option to /etc/sysconfig/autofs <<  OPTIONS=" -O vers=3" >> so autofs use by default NFSv3...
> Is it a normal behaviour or did I  miss something ?

With NFSv4 being the default that requirement seems fine to me.