/etc/inetd.conf conflicts with /etc/init.d/wu-ftpd

Bug #92864 reported by Mike Baranczak
6
Affects Status Importance Assigned to Milestone
wu-ftpd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: wu-ftpd

I just installed wu-ftpd, and had trouble getting it started. Turns out that the problem was this:

The /etc/init.d/wu-ftpd script first checks in /etc/inetd.conf if wu-ftpd is in there. (On my system, it is. I didn't put it there, so I assume it was added when I installed wu-ftpd.) If so, it does nothing. Which seems reasonable, except that I don't have inetd installed. As a result, wu-ftpd is never started.

Work-around: remove the "ftp" line from /etc/inetd.conf, and the init.d script should work correctly.

Permanent fix: in /etc/init.d/wu-ftpd, change this:

if [ -f /etc/inetd.conf ] && egrep '^ftp[[:space:]][[:space:]]*' /etc/inetd.conf >/dev/null; then

to this:

if [ -f /etc/inetd.conf ] && [ -n `which inetd` ] && egrep '^ftp[[:space:]][[:space:]]*' /etc/inetd.conf >/dev/null; then

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

wu-ftpd (2.6.2-28ubuntu1) gutsy; urgency=low

  * Merge from Debian unstable. Remaining Ubuntu changes:
    - Modify Maintainer value to match Debian-Maintainer-Field Spec
  * debian/init: check (x)inetd presence on startup (LP: #92864)

wu-ftpd (2.6.2-28) unstable; urgency=low

  * applied patch to fix output of SIZE command (closes: #433887)
  * fixed typo in template (closes: #433665)
  * updated debconf translations: pt, de, sv, eu, vi, fr, es, ca
    (closes: #433664, #434578, #434686, #434777)

wu-ftpd (2.6.2-27) unstable; urgency=low

  * Made the init script LSB-compliant
  * Added Spanish debconf translation (closes: #428570)
  * Removed DH_COMPAT from debian/rules and replaced with debian/compat
  * Changed netbase dependency to depend on update-inetd
  * Removed old version migration code from debian/preinst as it's not
    required for upgrades from etch (or even sarge)
  * Updated some debconf questions to follow style guides

 -- Lionel Porcheron <email address hidden> Wed, 01 Aug 2007 00:38:54 +0200

Changed in wu-ftpd:
status: New → Fix Released
Revision history for this message
Dmitry Tantsur (divius) wrote :

Bug still valid for Jaunty: see #363637

Changed in wu-ftpd (Ubuntu):
status: Fix Released → Confirmed
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.