Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 181327 - /etc/init.d/nfs script does not work in Gentoo/FreeBSD
Summary: /etc/init.d/nfs script does not work in Gentoo/FreeBSD
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 17:02 UTC by Sergey Belyashov
Modified: 2019-10-11 17:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Belyashov 2007-06-08 17:02:54 UTC
When I try to start nfs daemon I receive many errors. Then I check /etc/init.d/nfs and found that it is script for Linux systems.

Reproducible: Always

Steps to Reproduce:




# emerge --info
Portage 2.1.2.9 (default-bsd/fbsd/6.2/x86, gcc-4.1.2, freebsd-lib-6.2-r1, 6.2-RELEASE i386)
=================================================================
System uname: 6.2-RELEASE i386 i386
Gentoo Base System release 2.0.0_alpha3
Timestamp of tree: Thu, 07 Jun 2007 21:30:08 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-devel/autoconf:  2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  6.2-r1
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i486-gentoo-freebsd6.2"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-gentoo-freebsd6.2"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en ru"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://isoft.tushino.ru/gentoo-portage"
USE="berkdb bzip2 cli crypt cups dri gdbm iconv java5 libg++ midi ncurses nls oss pam pcre perl ppds python readline reflection session slang spl ssl tcpd truetype unicode utf8 vim-syntax x86-fbsd xorg zlib" ALSA_PCM_PLUGINS="shm" ELIBC="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LINGUAS="en ru" USERLAND="BSD" VIDEO_CARDS="vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 gal 2008-07-06 15:28:47 UTC
Same here.

 sudo /etc/init.d/nfs start
 * Exporting NFS directories ...
exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "82.228.253.122:/home/galevsky".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x                       [ ok ]
 * Starting NFS mountd...   [ ok ]
 * Starting NFS daemon ...  [ !! ]
 * Starting NFS smnotify ...[ ok ]

Hereafter is the log:

Jul  6 17:26:30 ks354604 exportfs[17520]: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "82.228.253.122:/home/galevsky".   Assuming default behaviour ('no_subtree_check').
NOTE: this default has changed since nfs-utils version 1.0.x
Jul  6 17:26:30 ks354604 nfsd[17525]: nfssvc: Function not implemented
Jul  6 17:26:30 ks354604 postfix/master[4420]: warning: process /usr/lib/postfix/qmgr pid 17471 exit status 1
Jul  6 17:26:30 ks354604 postfix/master[4420]: warning: /usr/lib/postfix/qmgr: bad command startup -- throttling
Comment 2 gal 2008-07-07 11:57:20 UTC
(In reply to comment #1)

> Jul  6 17:26:30 ks354604 nfsd[17525]: nfssvc: Function not implemented

this error is due to lack of nfs support by the kernel.
'Hope this helps Serguey.

Gal' 
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-10-11 17:37:13 UTC
*-fbsd is gone.