ow...@bugs.debian.org (Debian Bug Tracking System) writes:

> #412820: vsftpd: hard coded /home/ftp install breaks in NFS environment
> It has been closed by Daniel Baumann <dan...@debian.org> (reply to 
> dan...@debian.org).
> /home has to be writable. If it isn't, that is your local problem.

In case NFS is down, the error situation is typical. The above
suggestion called for better error handling while installing the
package.

Jari

> While installing vsftpd in NFS environment reports:
>
>     Reading package lists... Done
>     Building dependency tree... Done
>     The following NEW packages will be installed:
>       vsftpd
>     0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
>     Need to get 114kB of archives.
>     After unpacking 418kB of additional disk space will be used.
>     Get:1 http://deb unstable/main vsftpd 2.0.5-2 [114kB]
>     Fetched 114kB in 2s (52.5kB/s)
>     Selecting previously deselected package vsftpd.
>     (Reading database ... 232828 files and directories currently installed.)
>     Unpacking vsftpd (from .../vsftpd_2.0.5-2_i386.deb) ...
>     Setting up vsftpd (2.0.5-2) ...
>     Adding system user `ftp' (UID 119) ...
>     Adding new user `ftp' (UID 119) with group `nogroup' ...
>     Not creating home directory `/home/ftp'.
>     install: cannot create directory `/home/ftp': Permission denied
>     dpkg: error processing vsftpd (--configure):
>      subprocess 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)
>
> The /home is not automatically writable. 
>
> SUGGESTION
>
> program could notice this installation problem and suggest:
>
>   "Default install failed. Please run: vsftpd-config DESTDIR"
>
> where separate program vsftpd-config would take care of installing the
> needed things to a deesignated directory. (like /srv/ftp).
>
> -- System Information:
> Debian Release: 4.0
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'stable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/dash
> Kernel: Linux 2.6.18-3-686
> Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US)
>
> ----------



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to