On Nov 24, 2007 8:20 PM, Luis R. Rodriguez <[EMAIL PROTECTED]> wrote: > 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?
Oh ok, I checked and I see now these scripts in rcS: [EMAIL PROTECTED]:~# ls -l /etc/rcS.d/*{networking,nfs-common} lrwxr-xr-x 1 root root 20 Aug 23 2004 /etc/rcS.d/K65networking -> ../init.d/networking lrwxrwxrwx 1 root root 20 Sep 18 12:13 /etc/rcS.d/S44nfs-common -> ../init.d/nfs-common however if I delete /etc/rc3.d/S20nfs-common statd is not started and automount does not work. Our inittab does have: # Boot-time system configuration/initialization script. # This is run first except when booting in emergency (-b) mode. si::sysinit:/etc/init.d/rcS This script runs the S??* files in /etc/rcS.d/. Hmm... Luis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]