post-install script fails if any users exist with word 'ftp' in their name (was: package vsftpd (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vsftpd (Ubuntu) |
Confirmed
|
Low
|
Unassigned |
Bug Description
Binary package hint: vsftpd
Just installed picked from the synaptic package manager and failed to install
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: vsftpd (not installed)
ProcVersionSign
Uname: Linux 2.6.32-
NonfreeKernelMo
AptOrdering:
vsftpd: Install
vsftpd: Configure
Architecture: i386
Date: Sat Sep 18 01:20:52 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 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
summary: |
- package vsftpd (not installed) failed to install/upgrade: subprocess - installed post-installation script returned error exit status 1 + post-install script fails if any users exist with word 'ftp' in their + name (was: package vsftpd (not installed) failed to install/upgrade: + subprocess installed post-installation script returned error exit status + 1) |
Hello shankar, thanks very much for taking the time to report this bug and help us make Ubuntu better!
It would appear that this happened because there was already a user named ftp, but with a group name different than 'ftp'.
This is a bug in vsftpd.postinst. It automatically assumes that the group ftp exists.
The user should be given the option to run vsftpd as a user/group other than ftp/ftp.
Marking as Triaged as it is ready to be worked on. Setting Importance to Low, as most users won't already have an ftp user.