[rhelv6-list] Curious vsftpd isssue

inode0 inode0 at gmail.com
Tue Oct 16 01:31:39 UTC 2012


On Mon, Oct 15, 2012 at 7:59 PM, Cale Fairchild <cfairchild at brocku.ca> wrote:
> Today I discovered a peculiar issue with the vsftpd init scripts. My vsftpd
> daemon stopped authenticating properly because when I restarted the service
> as root the vsftpd daemon inherited the current root environment which
> included redirected TMP variable set to /root/tmp. Of course when it was set
> that way the selinux context was incorrect and the permissions on the
> directory itself was very restrictive. I worked around the problem by
> resetting my TMP and TMPDIR variables to /tmp and restarting the service
> again but I am wondering if this should be filed as a bug?

Restart it with

# service vsftpd restart

and that shouldn't happen. Bad things can always happen restarting
daemons with a non-clean environment.

John




More information about the rhelv6-list mailing list