FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 11-11-2011, 07:07 PM
Hugh Caley
 
Default Subject:, autofs doesn't work automatically with NIS mounts; workarounds?

Subject:

Re: autofs doesn't work automatically with NIS mounts;
workarounds?



From:

Michael Cronenworth <mike@cchtml.com>



Date:

11/11/2011 11:48 AM







To:

<users@lists.fedoraproject.org>





Hugh Caley wrote:


Any other
thoughts?* As I understand it, this is an issue with


NetworkManager startup returning successfully before the
interface is


up, so there is no networking available when autofs gets
started.





It sounds like an existing bug. There fix seems to be in comment
#12.




https://bugzilla.redhat.com/show_bug.cgi?id=709637


Yeah, saw that.* The comment #12 fix doesn't seem to fix it.



@Richard Shaw: NetworkManager is set to bring up the ethernet
connection automatically.



Hugh



--

Hugh Caley


Linux System Administrator


Aldon Business Area

Rocket Software


6001 Shellmound St. Ste. 600 Emeryville, CA 94608 USA


Tel:+1.510.285.8542


Email:hcaley@aldon.com


Web:aldon.com



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-11-2011, 07:27 PM
Richard Shaw
 
Default Subject:, autofs doesn't work automatically with NIS mounts; workarounds?

On Fri, Nov 11, 2011 at 2:07 PM, Hugh Caley <hcaley@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
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-11-2011, 08:55 PM
John Austin
 
Default Subject:, autofs doesn't work automatically with NIS mounts; workarounds?

On Fri, 2011-11-11 at 14:27 -0600, Richard Shaw wrote:
> On Fri, Nov 11, 2011 at 2:07 PM, Hugh Caley <hcaley@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@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



--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 11-11-2011, 09:38 PM
Tom Horsley
 
Default Subject:, autofs doesn't work automatically with NIS mounts; workarounds?

On Fri, 11 Nov 2011 21:55:55 +0000
John Austin wrote:

> [root@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 do something similar, but I modify it thusly:

/bin/bash -c 'sleep 5 ; service ypbind restart' & < /dev/null > /dev/null 2>&1

That way rc.local doesn't hang, and ypbind gets restarted
in the background.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 10:38 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org