Comment 20 for bug 677764

Revision history for this message
Imre Gergely (cemc) wrote :

Package from -proposed tested and installs correctly on Lucid, see below:

=== BEFORE (does not install when ftpfoo user present):
root@utest-lls32:~# useradd ftpfoo
root@utest-lls32:~# apt-get install vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  vsftpd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/140kB of archives.
After this operation, 471kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package vsftpd.
(Reading database ... 35120 files and directories currently installed.)
Unpacking vsftpd (from .../vsftpd_2.2.2-3ubuntu6.1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up vsftpd (2.2.2-3ubuntu6.1) ...
vsftpd user (ftp) already exists, doing nothing.
chown: invalid group: `root:ftp'
dpkg: error processing vsftpd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 vsftpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@utest-lls32:~# id ftpfoo
uid=1001(ftpfoo) gid=1001(ftpfoo) groups=1001(ftpfoo)
root@utest-lls32:~# id ftp
id: ftp: No such user

=== AFTER:
root@utest-lls32:~# useradd ftpfoo
root@utest-lls32:~# apt-get install vsftpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  vsftpd
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 0B/140kB of archives.
After this operation, 471kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package vsftpd.
(Reading database ... 35120 files and directories currently installed.)
Unpacking vsftpd (from .../vsftpd_2.2.2-3ubuntu6.2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up vsftpd (2.2.2-3ubuntu6.2) ...
Adding user ftp to group ftp
vsftpd start/running, process 2353

root@utest-lls32:~# id ftpfoo
uid=1001(ftpfoo) gid=1001(ftpfoo) groups=1001(ftpfoo)
root@utest-lls32:~# id ftp
uid=104(ftp) gid=112(ftp) groups=112(ftp)