WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: nfs-utils.tcz: mount.nfs binary missing  (Read 2591 times)

Offline rschmied

  • Newbie
  • *
  • Posts: 2
nfs-utils.tcz: mount.nfs binary missing
« on: October 24, 2013, 09:21:01 AM »
the nfs-utils extension is apparently missing the mount.nfs binary. It has been recently updated and I'm not sure if it has been broken before:

Code: [Select]
nfs-utils.tcz
Description:    NFS client and server utilities.
Current: 2013/10/11 Fixed problem of nfs-server startup script.
Uploaded on Mon Oct 21 22:54

A listing of the directory shows that it has a link for umount.nfs pointing to mount.nfs which apparently is missing:

Code: [Select]
tc@box:/tmp/tcloop/nfs-utils/usr/local/sbin$ ls -la
total 176
drwxr-xr-x 2 tc staff   184 Oct 10 17:39 ./
drwxr-xr-x 6 tc staff    72 Oct 10 17:39 ../
-rwxr-xr-x 1 tc staff 35172 Oct 10 17:39 exportfs
-rwxr-xr-x 1 tc staff 15272 Oct 10 17:39 nfsstat
-rwxr-xr-x 1 tc staff 57768 Oct 10 17:39 rpc.mountd
-rwxr-xr-x 1 tc staff  8656 Oct 10 17:39 rpc.nfsd
-rwxr-xr-x 1 tc staff 31424 Oct 10 17:39 rpc.statd
-rwxr-xr-x 1 tc staff  7696 Oct 10 17:39 rpcdebug
-rwxr-xr-x 1 tc staff 10412 Oct 10 17:39 showmount
-rwxr-xr-x 1 tc staff 10992 Oct 10 17:39 sm-notify
-rwxr-xr-x 1 tc staff   297 Oct 10 17:39 start-statd
lrwxrwxrwx 1 tc staff     9 Oct 10 17:39 umount.nfs -> mount.nfs
tc@box:/tmp/tcloop/nfs-utils/usr/local/sbin$

Looking forward to a fixed package.

Thanks,
-ralph

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: nfs-utils.tcz: mount.nfs binary missing
« Reply #1 on: October 24, 2013, 09:55:48 AM »
Hi rschmied
It looks like that package may have been updated by  awabimakoto.  You might want to send him a PM to bring it
to his attention.

Offline rschmied

  • Newbie
  • *
  • Posts: 2
Re: nfs-utils.tcz: mount.nfs binary missing
« Reply #2 on: October 24, 2013, 12:38:17 PM »
Quote
It looks like that package may have been updated by  awabimakoto.  You might want to send him a PM to bring it
done...

Offline makoto

  • Newbie
  • *
  • Posts: 26
Re: nfs-utils.tcz: mount.nfs binary missing
« Reply #3 on: October 24, 2013, 12:51:50 PM »
Sorry about that. I just patch a file to /usr/local/etc/init.d/nfs-server without changing anything else. Maybe the file is missing during submitqc5 processing. Can anyone repackage it? The patch file is as below:
Code: [Select]
--- /usr/local/etc/init.d/nfs-server
+++ /usr/local/etc/init.d/nfs-server
@@ -12,7 +12,7 @@
        fi
 
        if grep nfsd /proc/filesystems 2> /dev/null; then
-               if grep nfsd /proc/mounts 2> /dev/null; then
+               if [ -z "`grep nfsd /proc/mounts`" 2> /dev/null ]; then
                        mount -t nfsd nfsd /proc/fs/nfs 2> /dev/null
                fi
        fi
As I don't use tinycore at the moment and I lost my original tcz, I cannot do that job. Sorry. :-[