package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vsftpd (Debian) |
Fix Released
|
Unknown
|
|||
vsftpd (Ubuntu) |
Fix Released
|
Medium
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
Medium
|
Unassigned | ||
Maverick |
Fix Released
|
Medium
|
Dustin Kirkland |
Bug Description
Binary package hint: vsftpd
I am not sure what to put here other then I am running Ubuntu 10.04 on a laptop. Ubuntu stated that it failed to install the package except that the vsftpd server is running fine. I connected with out a problem. I even went into the config file and
changed a setting then restarted the service. It appears to be running correctly. After making the change and restarting
the service I connected locally from my desktop to the ftp server with no problems. Even transfered several files. Then I noticed
the star shaped exclamation point on the task bar and now I am writing this..
Let me know if you need any more information such as specs of the machine. What I said above covers what I was doing/working on when the message appeared.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: vsftpd 2.2.2-3ubuntu6
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelMo
AptOrdering:
vsftpd: Install
vsftpd: Configure
Architecture: i386
Date: Thu Sep 2 19:18:44 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
SourcePackage: vsftpd
Title: package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
=======
SRU Justification
IMPACT: This bug affects users installing vsftpd (see the numerous duplicate bugs).
REPRODUCE: Have an "ftp" user on your system, but no ftp group. Try installing the vsftpd package. Boom.
HOW FIXED: The logic in the postinst needs to be rearranged slightly. First check if the group exists, if not, add it. Then check if the user exists, if not add it to to the group.
PATCH: Attached. Uploaded to lucid-proposed for review there.
REGRESSION POTENTIAL: Minimal. I've tested the installation thoroughly. The new method is idempotent.
=======
Related branches
- Dave Walker (community): Approve
-
Diff: 72 lines (+24/-8)3 files modifieddebian/changelog (+13/-0)
debian/vsftpd.postinst (+8/-5)
debian/vsftpd.upstart (+3/-3)
Changed in vsftpd (Ubuntu): | |
importance: | Undecided → High |
importance: | High → Medium |
Changed in vsftpd (Ubuntu): | |
status: | New → Triaged |
Changed in vsftpd (Ubuntu Lucid): | |
status: | New → Triaged |
assignee: | nobody → Dustin Kirkland (kirkland) |
importance: | Undecided → Medium |
Changed in vsftpd (Ubuntu Maverick): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
status: | Triaged → In Progress |
Changed in vsftpd (Ubuntu Lucid): | |
status: | Triaged → In Progress |
Changed in vsftpd (Ubuntu Lucid): | |
assignee: | Dustin Kirkland (kirkland) → nobody |
Changed in vsftpd (Debian): | |
status: | Unknown → Fix Released |
Changed in vsftpd (Ubuntu Lucid): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
status: | Incomplete → In Progress |
Changed in vsftpd (Ubuntu Lucid): | |
status: | In Progress → Confirmed |
assignee: | Andres Rodriguez (andreserl) → nobody |
tags: |
added: verification-done removed: verification-needed |
This bug was fixed in the package vsftpd - 2.3.0~pre2-4ubuntu2
--------------- pre2-4ubuntu2) maverick; urgency=low
vsftpd (2.3.0~
* debian/ vsftpd. postinst: Check that the group exists first, then
the user, then try adding the user to the group, LP: #629234
-- Dustin Kirkland <email address hidden> Fri, 03 Sep 2010 08:32:27 -0600