[Bug 530832] Re: vsftpd 2.2.2-3ubuntu4 fails to upgrade because no ftp group
Jean-Baptiste Lallement
530832 at bugs.launchpad.net
Sat Jul 17 22:17:26 BST 2010
John, this is the same error because the fix for this bug doesn't
correctly check if the default user/group 'ftp' exits.
To reproduce :
$ sudo adduser --system --group ftpd
$ sudo apt-get install vsftpd
In postinst the following line is wrong
if ! getent passwd | grep -q "^${_USERNAME}"
and should be at least
if ! getent passwd | grep -qw "^${_USERNAME}"
or simply:
if ! getent passwd "${_USERNAME}"
Same thing for checking the existence of the group. BTW the problem
still exists in 10.10.
--
vsftpd 2.2.2-3ubuntu4 fails to upgrade because no ftp group
https://bugs.launchpad.net/bugs/530832
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