Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
coonfigure command in /etc/init.d/nfs -- command not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Mishka
n00b
n00b


Joined: 27 Dec 2007
Posts: 2

PostPosted: Fri Jan 16, 2009 2:11 pm    Post subject: coonfigure command in /etc/init.d/nfs -- command not found Reply with quote

AMD64, trying to start NFS server, got
Code:

gentoo init.d # ./nfs reload
 * Caching service dependencies ...
/var/lib/init.d/depcache: line 420: config: command not found
/var/lib/init.d/depcache: line 471: config: command not found             [ ok ]
 * Reloading /etc/exports ...                                             [ ok ]
gentoo init.d #


just emerged nfs-utils:
Code:

gentoo portage # emerge -s nfs-utils
Searching...
[ Results for search key : nfs-utils ]
[ Applications found : 1 ]

*  net-fs/nfs-utils
      Latest version available: 1.1.3
      Latest version installed: 1.1.3
      Size of files: 792 kB
      Homepage:      http://nfs.sourceforge.net/
      Description:   NFS client and server daemons
      License:       GPL-2



Just in case:
Code:

gentoo init.d # emerge --info
Portage 2.2_rc20 (default/linux/amd64/2008.0, gcc-4.1.1, glibc-2.5-r0, 2.6.26-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.26-gentoo-r3-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-glibc2.2.5
Timestamp of tree: Sun, 11 Jan 2009 03:05:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gnome gpm gtk iconv ipv6 isdnlog kde midi mmx mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl symlink sysfs tcpd unicode xorg xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa fbdev nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Where do I get this command from?
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Fri Jan 16, 2009 5:12 pm    Post subject: Reply with quote

it's supposed to be installed with the nfs-utils package

you could try grabbing the one from here and see if it does the trick?

http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.14&view=markup
Back to top
View user's profile Send private message
Mishka
n00b
n00b


Joined: 27 Dec 2007
Posts: 2

PostPosted: Sat Jan 17, 2009 3:08 pm    Post subject: Reply with quote

cach0rr0 wrote:
it's supposed to be installed with the nfs-utils package

I hoped so.

Quote:

you could try grabbing the one from here and see if it does the trick?

http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs.initd?rev=1.14&view=markup

Sorry, probably I was not clear. I have nfs (and nfsmount)script in my /etc/init.d. It got installed. But it refers to "config" in depend() that does not exist on my system.
But thanks for the reference. I see that team chaned line (from version 1.12 to 1.13) from:
type -t config 2>/dev/null 1>&2 && config /etc/exports
to
config /etc/exports

on May 4th, 2008.

The same is true for nfsmount, but for step .11 -> 1.12.

Hm-m, very interesting.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum