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

Bug#37134: marked as done (xinetd: /etc/init.d/xinetd can't find portmap)



Your message dated Sun, 26 Dec 1999 20:46:22 +0100
with message-id <19991226204622.A1535@jagor.srce.hr>
and subject line latest xinetd Debian package (2.1.8.7) fixes these problems
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 4 May 1999 08:18:06 +0000
Received: (qmail 31622 invoked from network); 4 May 1999 08:18:05 -0000
Received: from pm3-d07.nas.com (HELO debian1.loaner.com) (root@206.63.102.8)
  by master.debian.org with SMTP; 4 May 1999 08:18:05 -0000
Received: by debian1.loaner.com
	id m10eaNI-002fA1C
	(Debian Smail-3.2.0.102 1998-Aug-2 #2); Tue, 4 May 1999 01:16:20 -0700 (PDT)
Message-Id: <m10eaNI-002fA1C@debian1.loaner.com>
Date: Tue, 4 May 1999 01:16:20 -0700 (PDT)
From:  <kingsley@debian1.loaner.com>
Subject: xinetd: /etc/init.d/xinetd can't find portmap
To: submit@bugs.debian.org
Bcc:
X-Mailer: bug 3.1.0

Package: xinetd
Version: 2.2.1-8



-- System Information
Debian Release: 1.3
Kernel Version: Linux debian1.loaner.com 2.0.33 #1 Thu Jan 22 21:36:13 PST 1998 i686 unknown

Versions of the packages xinetd depends on:
libc6	Version: 2.0.7.19981211-6
libc6	Version: 2.0.7.19981211-6
netbase	Version: 3.11-1.2

--- Begin /etc/init.d/xinetd (modified conffile)
if [ -f /usr/sbin/rpc.portmap ];
then
       PORTMAP=rpc.portmap;
elif [ -f /usr/sbin/portmap ];
then
       PORTMAP=portmap;
else
       exit 0;
fi
test -f /usr/sbin/xinetd || exit 0
case "$1" in
  start)
	echo -n "Starting base networking daemons: "
	echo -n "$PORTMAP " ; start-stop-daemon --start --quiet --exec /usr/sbin/$PORTMAP
	echo -n "xinetd" ; start-stop-daemon --start --quiet --exec /usr/sbin/xinetd
	echo
	;;
  stop)
	start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/xinetd
	start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/$PORTMAP
	killall -9 slattach 2>/dev/null || exit 0
	;;
  reload)
	start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/inetd.pid --signal 1 --exec /usr/sbin/xinetd
	;;
  *)
	echo "Usage: /etc/init.d/netbase {start|stop}"
	exit 1
	;;
esac
exit 0

--- End /etc/init.d/xinetd

To whom it may concern,

First of all, thanks for maintaining xinetd. 

It seems to me that the 3.11-1.2 version of Debian's netbase package puts
portmap in /sbin/portmap, however, /etc/init.d/xinetd in the 2.2.1-8 version of
xinetd doesn't look for it there. 

/etc/init.d/xinetd looks for it at /usr/sbin/rpc.portmap and /usr/sbin/portmap.
When /etc/init.d/xinetd can't find portmap, it fails and its services are
unavailable. In my case, my first clue was fetchmail refused a connection to
localhost for smtp when I tried to download email from my internet service
provider.

I worked around the problem with

        $ mv /sbin/portmap /usr/sbin/portmap
        $ ln -s /usr/sbin/portmap /sbin/portmap

I hope the second command will allow the package manager (Debian's "dpkg") to
remove portmap, if necessary.

Thanks,
Kingsley
---------------------------------------
Received: (at 37134-done) by bugs.debian.org; 26 Dec 1999 19:46:28 +0000
Received: (qmail 30109 invoked from network); 26 Dec 1999 19:46:27 -0000
Received: from jagor.srce.hr (jrodin@161.53.2.130)
  by master.debian.org with SMTP; 26 Dec 1999 19:46:27 -0000
Received: (from jrodin@localhost)
	by jagor.srce.hr (8.9.0/8.9.0) id UAA01751;
	Sun, 26 Dec 1999 20:46:22 +0100 (MET)
Date: Sun, 26 Dec 1999 20:46:22 +0100
From: Josip Rodin <jrodin@public.srce.hr>
To: 31500-done@bugs.debian.org, 35166-done@bugs.debian.org,
        36809-done@bugs.debian.org, 37134-done@bugs.debian.org,
        38361-done@bugs.debian.org, 41386-done@bugs.debian.org,
        41568-done@bugs.debian.org, 43161-done@bugs.debian.org,
        44099-done@bugs.debian.org, 44529-done@bugs.debian.org,
        44537-done@bugs.debian.org, 45602-done@bugs.debian.org,
        46572-done@bugs.debian.org, 46603-done@bugs.debian.org,
        49398-done@bugs.debian.org, 49438-done@bugs.debian.org
Subject: latest xinetd Debian package (2.1.8.7) fixes these problems
Message-ID: <19991226204622.A1535@jagor.srce.hr>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95i

Hi people, 

All these problems you reported against Debian xinetd package
are fixed now. Please upgrade, if you can.

In case you wondered, the bugs haven't been closed until now because the
package maintainer wasn't around, and the package is in fact orphaned. I am
doing this as a member of the quality assurance group.

Thanks for reporting...

-- 
enJoy -*/\*- don't even try to pronounce my first name


Reply to: