[Bug 629234] Re: package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Evan Broder
evan at ebroder.net
Thu Dec 16 07:14:12 GMT 2010
You could potentially work around the regex misinterpretation issue by
using some more complex combinations of grep and awk and so forth, but
there's a better reason to not use getent | grep.
If /etc/nsswitch.conf is configured with a user or group database that
doesn't support enumerating users (Hesiod, for instance, and probably
LDAP under bad configurations), then the test will return false
*negatives* and then try to create a user that already exists.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/629234
Title:
package vsftpd 2.2.2-3ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Status in “vsftpd” package in Ubuntu:
Fix Released
Status in “vsftpd” source package in Lucid:
In Progress
Status in “vsftpd” source package in Maverick:
Fix Released
Status in “vsftpd” package in Debian:
Unknown
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
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
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.
=======
More information about the Ubuntu-sponsors
mailing list