vsftpd 2.2.2-3ubuntu4 fails to upgrade because no ftp group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vsftpd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
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/
--------
--------
And later in the same script:
--------
--------
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.
Related branches
Changed in vsftpd (Ubuntu): | |
importance: | Undecided → Medium |
Changed in vsftpd (Ubuntu Lucid): | |
status: | New → Fix Committed |
This bug was fixed in the package vsftpd - 2.2.2-3ubuntu5
---------------
vsftpd (2.2.2-3ubuntu5) lucid; urgency=low
[Chuck Short] vsftpd. postinst: Add a group from the username selected by the user. (LP: #530832) patches/ 09-disable- anonymous. patch: Disable anonymous login by default. (LP: #528860)
* debian/
* debian/
[Andres Rodriguez] vsftpd. apport: Added.
* Add apport hook (LP: #531978):
- debian/
- debian/control: Build-depends on dh-apport.
- debian/rules: Add --with apport.
-- Chuck Short <email address hidden> Mon, 15 Mar 2010 15:16:32 -0400