Public bug reported: Binary package hint: vsftpd
During an upgrade from Ubuntu 8.04 to Ubuntu 10.04 the vsftpd failed to upgrade cleanly: -------- Installing new version of config file /etc/pam.d/vsftpd ... 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 -------- The ftp group does not exist on Ubuntu 8.04 and is not created during or after the upgrade to Ubuntu 10.04. The primary group of the ftp user is exactly the nobody group. I think the problem is cause by the /var/lib/dpkg/info/vsftpd.postinst script assuming that the ftp user has an ftp group: -------- db_get vsftpd/username _USERNAME="${RET:-ftp}" -------- And later in the same script: -------- mkdir -p "${_DIRECTORY}" chown root:${_USERNAME} ${_DIRECTORY} -R -------- I think the most obvious fix is to create a new _GROUP variable which would default to an existing group and use this in the chown command. I'm not sure if the nobody group is the best group for this. ** Affects: vsftpd (Ubuntu) Importance: Undecided Status: New -- 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. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs