pure-ftpd does not work in 12.04.1 LTS

Bug #1092903 reported by LGB [Gábor Lénárt]
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pure-ftpd (Debian)
Fix Released
Unknown
pure-ftpd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

It's everything OK with my desktop (development/test) machine running ubuntu 12.10. However on our servers (12.04.1 LTS) we have problems with pure-ftpd as we use external auth ("extauth") with pure-ftpd on all of our servers. I guess it's a major issue as a server with LTS is expected working with a widely used ftp server (but maybe not so many people using pure-ftpd with extauth feature?).

What I could find out that in LTS pure-ftpd is only version 1.0.35, while it's 1.0.36 in 12.10. From the changelog of pure-ftpd:

--- pure-ftpd-1.0.35/ChangeLog 2011-12-03 07:26:21.000000000 +0100
+++ pure-ftpd-1.0.36/ChangeLog 2012-03-21 21:16:26.000000000 +0100
@@ -1,4 +1,20 @@

+* Version 1.0.36:
+ - The safe_write()/safe_read() factorization broke extauth. Using
+safe_read_partial() to read from the extauth pipe wasn't enough.
+Bug reported by Rasmus Fauske.

It's maybe the bug which cause that 1.0.35 does not work in LTS with extauth. Indeed, when I installed the 12.10 packages on LTS servers, it started working, no problem.

Is it possible to upgrade to 1.0.36 for LTS, or at least backport the fixes from the pure-ftpd team?

thanks a lot!

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: pure-ftpd 1.0.36-1
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic i686
ApportVersion: 2.6.1-0ubuntu9
Architecture: i386
Date: Fri Dec 21 14:32:02 2012
InstallationDate: Installed on 2012-03-01 (294 days ago)
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release i386 (20100816.2)
MarkForUpload: True
SourcePackage: pure-ftpd
UpgradeStatus: Upgraded to quantal on 2012-03-01 (294 days ago)

Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :
Revision history for this message
LGB [Gábor Lénárt] (lgb) wrote :

Btw, as http://pkgs.org/ubuntu-12.10/ubuntu-universe-i386/pure-ftpd-mysql_1.0.36-1_i386.deb.html states (my problem is even mentioned in this changelog entry):

2012-06-22 - Stefan Hornburg (Racke) <email address hidden>
pure-ftpd (1.0.36-1) unstable; urgency=low
  * New upstream release, fixes external authentication (Closes: #652938,
    thanks to Jon Daley <email address hidden> for the report).
  * Add build-arch and build-indep targets to debian/rules.

So it seems the "only" needed thing is to also update 12.04 (and possible also other supported Ubuntu versions?). As we use LTS versions for servers, we can't do too much with the fact that it's already fixed in the freshest (but not LTS) Ubuntu. I am not sure what kind of risks I can cause with installing 12.10 packages ("by hand") on a 12.04 system, it works, but ...

thanks!

Changed in pure-ftpd (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pure-ftpd (Ubuntu):
status: New → Confirmed
Revision history for this message
JeffV (jeff-launchpad-tanasity) wrote :

The 12.10 package doesn't seem to work for me on 12.04LTS.

Revision history for this message
Bartłomeij Bujak (bajt) wrote :

Still not working .

Revision history for this message
Bartłomeij Bujak (bajt) wrote :

I'm checked pure-ftpd-mysql 1.0.36-3.2build1 on 16.04.2 LTS problem still occur.

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.