File vsftpd-openlog-force.patch of Package vsftpd.8244

Force openlog() to open log immediately iff force!=0.
Otherwise is log opened on first syslog() call which may be
after the privileges are dropped and new file descriptors
cannot be created.

Index: vsftpd-3.0.2/sysutil.c
===================================================================
--- vsftpd-3.0.2.orig/sysutil.c
+++ vsftpd-3.0.2/sysutil.c
@@ -2699,7 +2699,7 @@ vsf_sysutil_openlog(int force)
 {
   int facility = LOG_DAEMON;
   int option = LOG_PID;
-  if (!force)
+  if (force)
   {
     option |= LOG_NDELAY;
   }
openSUSE Build Service is sponsored by