bitlbee fails to start in feisty (netkit-inetd depend gone awol)

Bug #108855 reported by Steve
6
Affects Status Importance Assigned to Milestone
bitlbee (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

bitlbee can be started either from inetd (default) or as a stand-alone daemon (marked upstream as experimental).

It ships in feisty configured to start from inetd, yet - unlike the version shipped with edgy - it does not depend on netkit-inetd: compare http://packages.ubuntu.com/feisty/net/bitlbee with http://packages.ubuntu.com/edgy/net/bitlbee. Nor does it ship with an init script.

This means that after an apt-get dist-upgrade, followed by an apt-get autoremove bitlbee is broken and doesn't start.

Steve (st3v3)
description: updated
Revision history for this message
Steve (st3v3) wrote :

changelog.Debian.gz says:

  * debian/control: Replace netkit-inetd dependency with a versioned
    dependency on netbase. netbase provides the appropriate inetd
    dependency. Closes: #382682.

however, unlike Debian's netbase (http://packages.debian.org/stable/admin/netbase), Ubuntu's netbase does not depend on an inetd:

Depends: ifupdown (>= 0.6.4-4.9), iputils-ping | ping, lsb-base (>= 3.0-6), debconf (>= 0.5) | debconf-2.0, update-inetd

Revision history for this message
Steve (st3v3) wrote :

netbase changelog says:

netbase (4.27ubuntu1) feisty; urgency=low

  * Merge from debian unstable, remaining changes:
    - drop dependency on inet superserver

so suggest (possibly modified to include choice of inetd variant):

--- bitlbee-1.0.3/debian/control 2007-04-23 17:21:38.000000000 +0100
+++ bitlbee-1.0.3-sdh/debian/control 2007-04-23 19:55:35.000000000 +0100
@@ -8,7 +8,7 @@

 Package: bitlbee
 Architecture: any
-Depends: ${shlibs:Depends}, adduser, netbase (>= 4.08), net-tools, ${debconf-depends}, debianutils (>= 1.16), tcpd, update-inetd
+Depends: ${shlibs:Depends}, adduser, netbase (>= 4.08), net-tools, ${debconf-depends}, debianutils (>= 1.16), tcpd, netkit-inetd, update-inetd
 Description: An IRC to other chat networks gateway
  This program can be used as an IRC server which forwards everything you
  say to people on other chat networks: Jabber, ICQ, AIM, MSN and Yahoo.

Revision history for this message
Tom Woodington (launchpad-isaiah) wrote :

Additionally this means bitlbee does not install correctly on a vanilla feisty install as netkit-inetd is not installed with it, and subsequently not configured

Revision history for this message
Tom Woodington (launchpad-isaiah) wrote :

Manual fix details for those encountering the problem after installing on vanilla feisty are as below

Install inetd:
sudo apt-get instal netkit-inetd

Add the below line to /etc/inetd.conf
ircd stream tcp nowait nobody /usr/local/sbin/bitlbee bitlbee

Reload the inetd conf file to apply changes:
sudo /etc/init.d/inetd reload

Revision history for this message
Tom Woodington (launchpad-isaiah) wrote :

Correction

The below needs to be added to /etc/inetd.conf not the line given above

ircd stream tcp nowait bitlbee /usr/sbin/bitlbee bitlbee

(changed starting user to bitlbee and fixed the application path)

Revision history for this message
Steve (st3v3) wrote :

Indeed, and this is done by the bitlbee postinst (using update-inetd, hence the depend):

        update-inetd --group OTHER --add "$PORT"'\tstream\ttcp\tnowait\tbitlbee\t'"$TCPD"'\t'"$BITLBEE"

Revision history for this message
Rich Johnson (nixternal) wrote :

bitlbee (1.0.3-1.3ubuntu2) gutsy; urgency=low

  * Bitlbee needs an inetd daemon in order to run (LP: #108855)
    - debian/control: added netkit-inetd in binary depends

 -- <email address hidden> (Richard A. Johnson) Fri, 03 Aug 2007 22:14:45 -0500

Changed in bitlbee:
status: New → Fix Released
Revision history for this message
zerian (zerianlangside) wrote :

hello every body, i need a help if u could help me plz. i ahve a laptop compaq Evo N600c and i have a problem with it when i try downloand any thing it going to restrst it also i formated 4 times but it is still the same even i try to repried by window XP it is still the same, i'm very glad if some one help me plz?
thanks very much,

i'm waiting for ur help
see u

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.