bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-inetutils] Inetutils-1.4.2 not registering sgi_fam


From: address@hidden
Subject: [bug-inetutils] Inetutils-1.4.2 not registering sgi_fam
Date: Tue, 07 Mar 2006 06:51:32 -0000

Installing LFS-6.1.1 and BLFS.  Brought across the fam-2.7.0 package
from my LFS-4.1 system, i.e. copied the binaries, where it seems to
start-up just fine.  Ummm, portmap was copied from the host as well.
Getting following error:
Mar  4 15:34:34 pallas inetd[2160]: sgi_fam/1-2/rpc/tcp: unknown 
service

I discovered LFS changed versions of libstdc++ on me, so as a temporary
expedient I copied the v5 library, which helped with some things.  Same
message.  Then last evening I rebuilt fam with the new libraries and
ran ldd to check.  Same message.  Could this be an inetd/inetutils issue?  Any 
suggestions?  What did I miss?

Running processes (portmap before inetd):
  759 ?        00:00:00 udevd
 2044 ?        00:00:00 syslogd
 2073 ?        00:00:00 klogd
 2086 ?        00:00:00 crond
 2097 ?        00:00:00 portmap
 2105 ?        00:00:00 exim
 2153 ?        00:00:00 atd
 2160 ?        00:00:00 inetd
 2162 tty1     00:00:00 bash

>From /etc/inetd.conf:
sgi_fam/1-2 stream rpc/tcp wait root /usr/local/sbin/famd fam

/etc/rpc is the LFS default, containing:
sgi_fam         391002  fam

"rpcinfo -p"
shows portmap but not fam

>From /etc/services:
sunrpc          111/tcp
sunrpc          111/udp

And /etc/protocols:
ip      0       IP      # internet protocol, pseudo protocol number
icmp    1       ICMP    # internet control message protocol
igmp    2       IGMP    # internet group multicast protocol
ggp     3       GGP     # gateway-gateway protocol
tcp     6       TCP     # transmission control protocol
pup     12      PUP     # PARC universal packet protocol
udp     17      UDP     # user datagram protocol
idp     22      IDP     # WhatsThis?
raw     255     RAW     # RAW IP interface

Iptables should be allowing local rpc packets:
ACCEPT   tcp  --  127.0.0.0/24   anywhere   tcp dpt:sunrpc
DROP     tcp  -- !192.168.1.0/24 anywhere   tcp dpt:sunrpc
DROP     udp  -- !192.168.1.0/24 anywhere   udp dpt:sunrpc

/etc/fam.conf is the package default, coming along on the ride.

This was the build script:
#!/tools/bin/bash -e
# Build inetutils-1.4.2
if [ -d /lfs ]; then exit 55; fi
echo "Expected time: 0.2SBU" &&
patch -Np1 -i ../patches/inetutils-1.4.2-kernel_headers-1.patch &&
patch -Np1 -i ../patches/inetutils-1.4.2-no_server_man_pages-1.patch &&
(./configure --prefix=/usr --libexecdir=/usr/sbin \
  --sysconfdir=/etc --localstatedir=/var \
  --disable-logger --disable-syslogd --disable-whois \
  --disable-servers  --disable-clients \
  --enable-ftp --enable-telnet --enable-ping --enable-inetd\
  2>&1 | tee log.conf && exit $PIPESTATUS) &&
(make 2>&1 | tee log.make && exit $PIPESTATUS) &&
git `basename $0` &&
(make install 2>&1 | tee log.inst && exit $PIPESTATUS) &&
mv -v /usr/bin/ping /bin &&
echo f | git `basename $0` &&
git --backup `basename $0`

(git is a "guarded installation tool")

Paul Rogers  (address@hidden)
http://www.xprt.net/~pgrogers/
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]