On Nov 24, 2007 7:55 PM, Steinar H. Gunderson <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 24, 2007 at 07:37:57PM -0500, Luis R. Rodriguez wrote:
> > nfs-common will have rpc.statd start itself before the networking
> > subsystem. If this is done rpc.statd will not register and therefore
> > preventing the use of automount to work after bootup. If you restart
> > nfs-common after bootup automount will then work. The solution to this
> > is to move nfs-common init script to start at a later time after
> > networking. I'm surprised no one had reported this before.
>
> Well, unsurprisingly this is because it seems to work for most other people,
> including myself. :-)

Good to know :)

> > This prevents automount from working. This is cause because of the
> > order of init scripts:
> >
> > lrwxrwxrwx 1 root root  20 Sep 18 12:13 S20nfs-common -> 
> > ../init.d/nfs-common
> > lrwxr-xr-x 1 root root  20 Aug 23  2004 S35networking -> 
> > ../init.d/networking
>
> What directory is this in? Certainly not in rcS.d, at least, which is what
> matters at system startup:

This is in:

/etc/rc3.d/

>   fugl:/etc/rcS.d> ls -l *{networking,nfs-common}
>   lrwxrwxrwx 1 root root 20 2006-08-02 20:43 S40networking -> 
> ../init.d/networking
>   lrwxrwxrwx 1 root root 20 2007-07-16 18:12 S44nfs-common -> 
> ../init.d/nfs-common

Interesting. The nodes I'm using been using debian unstable for a long
time (couple of years). And they are apt-get dist-upgraded every now
and then. Perhaps the issue was that the old rc sym link was note
moved/updated.

If you do:

rm -f /etc/rc3.d/S20nfs-common

and then apt-get install --reinstall nfs-common, you will not get a
new one generated, I just tried. What package is in charge of putting
the new script in place if you don't have one?

  Luis



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to