wu-ftpd: "inetd installed" - detection bug

Bug #341058 reported by Andreas Krüger
6
Affects Status Importance Assigned to Milestone
wu-ftpd (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: wu-ftpd

Hello,

I have Ubuntu 8.10 newly installed on this computer and needed a simple FTP server today.

I installed wu-ftpd, but the beast would not start up.

My analysis: /etc/init.d/wu-ftpd tries to find out whether an instance of inetd is installed.

But there is a simple bug in that shell code, that causes wu-ftpd to not start up by itself
even if inetd is not installed (it isn't on this machine).

The essence of that bug: The shell command [ -n ] is a success, while [ -n "" ] is not.

Patch included.

With best regards, and thank you for providing fine software,

Andreas Krüger

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: wu-ftpd 2.6.2-30ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/lib/eclipse/eclipse:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=de_DE.UTF-8
SourcePackage: wu-ftpd
Uname: Linux 2.6.27-11-generic i686

Tags: apport-bug
Revision history for this message
Andreas Krüger (andreas-krueger) wrote :
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Is this still reproducible in Karmic?

Changed in wu-ftpd (Ubuntu):
status: New → Incomplete
status: Incomplete → Won't Fix
status: Won't Fix → Incomplete
Revision history for this message
Alessio Treglia (quadrispro) wrote :

On Karmic:

I: [karmic_amd64-439af960-c7d6-42a2-87fd-b8d72757d369 chroot] (alessio->root) Running login shell: '/bin/bash'
(karmic_amd64)root@quadromatic:/home/alessio# apt-get install wu-ftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  update-inetd
Suggested packages:
  logrotate
The following NEW packages will be installed:
  update-inetd wu-ftpd
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 312kB of archives.
After this operation, 979kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://127.0.0.1 karmic/main update-inetd 4.31 [16.9kB]
Get:2 http://127.0.0.1 karmic/universe wu-ftpd 2.6.2-30ubuntu1 [296kB]
Fetched 312kB in 0s (477kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package update-inetd.
(Reading database ... 11198 files and directories currently installed.)
Unpacking update-inetd (from .../update-inetd_4.31_all.deb) ...
Selecting previously deselected package wu-ftpd.
Unpacking wu-ftpd (from .../wu-ftpd_2.6.2-30ubuntu1_amd64.deb) ...
Setting up update-inetd (4.31) ...

Setting up wu-ftpd (2.6.2-30ubuntu1) ...
 * Starting FTP server wu-ftpd [ OK ]

(karmic_amd64)root@quadromatic:/home/alessio# /etc/init.d/wu-ftpd stop
 * Stopping FTP server wu-ftpd
                                                                         [ OK ]

Revision history for this message
Andreas Krüger (andreas-krueger) wrote :

Bug is still active. I installed wu-ftpd 2.6.2-31ubuntu1 on a Ubuntu 9.10 desktop system today - same result as above.

My old patch as posted above on 2009-03-11 still repairs the situation.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for wu-ftpd (Ubuntu) because there has been no activity for 60 days.]

Changed in wu-ftpd (Ubuntu):
status: Incomplete → Expired
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.