[Bug 552067] [NEW] secure_chroot_dir in /var/run/vsftpd disappears each time the system is restarted
NicoBarbarian
nicolas.deherly at free.fr
Tue Mar 30 22:41:22 BST 2010
Public bug reported:
Binary package hint: vsftpd
Ubuntu version:
Description: Ubuntu 9.10
Release: 9.10
Version of the vsftpd package:
2.2.0-1ubuntu1
Description of the problem:
By default, in /etc/vsftpd.conf, the secure_chroot_dir option is set to
a directory inside /var/run/ (sorry I can't remember what is the actual
directory, I've changed the value in my own vsftpd configuration file).
Even if the directory is created by a post install script, it is deleted
each time the system is restarted on default ubuntu configuration since
/var/run is mounted as a tmpfs filesystem , i.e. is only existing in RAM
and thus is recreated at each startup.
A workaround I've found is to create a directory in any place which is not mounted in a tmpfs filesystem
(By default, tmpfs are used for /dev /dev/shm /var/run /var/lock /lib/init/rw)
** Affects: vsftpd (Ubuntu)
Importance: Undecided
Status: New
--
secure_chroot_dir in /var/run/vsftpd disappears each time the system is restarted
https://bugs.launchpad.net/bugs/552067
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