m4r35n357
Posts: 25
Joined: Fri Jul 06, 2012 4:31 pm

NFS bugs?

Sat Dec 15, 2012 1:22 pm

NFS mounting fails unless I run rpcbind manually. I believe that this is because of the following installation error:

Code: Select all

pi@raspberrypi ~ $ ls -lAh /etc/rc2.d/
total 4.0K
lrwxrwxrwx 1 root root  17 Dec 13 21:00 K01lightdm -> ../init.d/lightdm
lrwxrwxrwx 1 root root  20 Dec 12 19:55 K06nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root  17 Dec 12 19:55 K06rpcbind -> ../init.d/rpcbind
For reference, on a Wheezy system I get this:

Code: Select all

$ ls -lAh /etc/rc2.d/
total 4.0K
-rw-r--r-- 1 root root 677 Nov 16 20:52 README
lrwxrwxrwx 1 root root  14 Nov  8 21:41 S01motd -> ../init.d/motd
lrwxrwxrwx 1 root root  17 Dec  6 20:42 S13rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root  20 Dec  6 20:42 S14nfs-common -> ../init.d/nfs-common
enough info? I don't know where Wheezy gets the correct start numbers, or where Raspbian gets the wrong kill numbers either . . .

m4r35n357
Posts: 25
Joined: Fri Jul 06, 2012 4:31 pm

Re: NFS bugs?

Sat Dec 15, 2012 1:43 pm

I messed around a bit more, this was where I left things:

Code: Select all

pi@raspberrypi ~ $ ls -lAh /etc/rc2.d/
total 4.0K
lrwxrwxrwx 1 root root  17 Dec 13 21:00 K01lightdm -> ../init.d/lightdm
-rw-r--r-- 1 root root 677 Nov 16 20:52 README
lrwxrwxrwx 1 root root  18 Oct 28 21:56 S01bootlogs -> ../init.d/bootlogs
lrwxrwxrwx 1 root root  17 Oct 28 22:27 S01ifplugd -> ../init.d/ifplugd
lrwxrwxrwx 1 root root  14 Oct 28 21:56 S01motd -> ../init.d/motd
lrwxrwxrwx 1 root root  20 Dec 15 13:31 S01nfs-common -> ../init.d/nfs-common
lrwxrwxrwx 1 root root  17 Dec 15 13:31 S01rpcbind -> ../init.d/rpcbind
lrwxrwxrwx 1 root root  17 Oct 28 22:27 S01rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root  14 Oct 28 22:27 S01sudo -> ../init.d/sudo
lrwxrwxrwx 1 root root  22 Oct 28 22:27 S01triggerhappy -> ../init.d/triggerhappy
lrwxrwxrwx 1 root root  16 Dec 11 22:44 S02autofs -> ../init.d/autofs
lrwxrwxrwx 1 root root  14 Oct 28 22:27 S02dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root  17 Dec 11 21:13 S02dnsmasq -> ../init.d/dnsmasq
lrwxrwxrwx 1 root root  24 Oct 28 22:28 S02dphys-swapfile -> ../init.d/dphys-swapfile
lrwxrwxrwx 1 root root  18 Dec 15 12:06 S02lighttpd -> ../init.d/lighttpd
lrwxrwxrwx 1 root root  13 Oct 28 22:27 S02ntp -> ../init.d/ntp
lrwxrwxrwx 1 root root  13 Oct 28 22:59 S02ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root  19 Dec 12 19:54 S03bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root  14 Dec 11 21:13 S03cron -> ../init.d/cron
lrwxrwxrwx 1 root root  15 Dec 13 20:25 S03exim4 -> ../init.d/exim4
lrwxrwxrwx 1 root root  25 Dec 12 19:55 S03network-manager -> ../init.d/network-manager
lrwxrwxrwx 1 root root  15 Dec 11 21:59 S03rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root  20 Dec 12 19:55 S04pulseaudio -> ../init.d/pulseaudio
lrwxrwxrwx 1 root root  18 Dec 12 19:55 S05rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root  19 Dec 12 19:55 S05rmnologin -> ../init.d/rmnologin
but still no rpcbind process, so I have settled on the nasty hack of adding:

Code: Select all

sudo service rpcbind restart
to /etc/rc.local. Not ideal, but at least now I can use the automounter . . .

Return to “Raspbian”