Comment 5 for bug 1010891

Revision history for this message
Steve Langasek (vorlon) wrote :

> Indeed, it looks as though the postrm script does
> 'rmdir --ignore-fail-on-non-empty' but that still
> raises an error when the directory does not exist,
> so should be '|| true'.

This bug was raised against version 5.2-1ubuntu1 of the package, which has the following:

                                rmdir --ignore-fail-on-non-empty ${TFTP_DIRECTORY} > /dev/null 2>&1 || true

That's the only 'rmdir' in that file. So I'm pretty sure it's not that.

It could be the deluser problem that ignik points out. The maintainer script should not be trying to delete arbitrary users from the system who happen to be listed in /etc/default/tftpd-hpa!