[Bug 629234] Re: package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Dustin Kirkland
dustin.kirkland at gmail.com
Fri Sep 3 15:37:30 BST 2010
Patch attached.
** Description changed:
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
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: fglrx
AptOrdering:
- vsftpd: Install
- vsftpd: Configure
+ 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.
+
+ =======
** Patch added: "629234.diff"
https://bugs.edge.launchpad.net/ubuntu/+source/vsftpd/+bug/629234/+attachment/1539766/+files/629234.diff
** Changed in: vsftpd (Ubuntu Lucid)
Status: In Progress => Fix Committed
--
package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/629234
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vsftpd in ubuntu.
More information about the Ubuntu-server-bugs
mailing list