Subject:,Re: autofs doesn't work automatically with NIS mounts; workarounds?
John Austin
ja at jaa.org.uk
Fri Nov 11 21:55:55 UTC 2011
On Fri, 2011-11-11 at 14:27 -0600, Richard Shaw wrote:
> On Fri, Nov 11, 2011 at 2:07 PM, Hugh Caley <hcaley at rocketsoftware.com> wrote:
> > @Richard Shaw: NetworkManager is set to bring up the ethernet connection automatically.
>
> I think what autofs really needs is a systemd unit file. Currently
> it's still using Sysv compatibility.
>
> Richard
I have found that something like this is required
for F15 and F16 if you wish to be certain things
start correctly
Using NetworkManager by the way.
[root at naxos ~]# cat /etc/rc.d/rc.local
#!/bin/sh
service ypbind stop; sleep 2
service autofs stop; sleep 2
service ypbind start; sleep 2
service autofs start; sleep 2
I haven't fiddled with the sleep values to minimise them
I just sit and wait - crud
John
More information about the users
mailing list