Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2014 10:54:17 +0000
From:      bz-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 190747] New: ftp/pure-ftpd starts two instances of uploadscript on reboot
Message-ID:  <bug-190747-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190747

            Bug ID: 190747
           Summary: ftp/pure-ftpd starts two instances of uploadscript on
                    reboot
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: raivo.hool@gmail.com

FreeBSD 10 current. After the introduction of staging and the rewrite of the
rc.d/pure-ftpd startup script, pure-ftpd starts two instances of the upload
script upon reboot if pureftpd_uploadscript is enabled in rc.conf. This only
happens upon reboot, never upon starting the service manually when the system
is already up and running.

My rc.conf:

pureftpd_enable="YES"
pureftpd_upload_enable="YES"
pureftpd_uploadscript="/root/cronscript/liiguta_klientide_failid.sh"

The situation after each reboot:

root        758   0.0  0.1   59720   6292  -  Is   11:50AM  0:00.05 pure-ftpd
(SERVER) (pure-ftpd)
root        760   0.0  0.1   30528   4316  -  Is   11:50AM  0:00.00
/usr/local/sbin/pure-uploadscript -B -r
/root/cronscript/liiguta_klientide_failid.sh
root        949   0.0  0.1   30528   4480  -  Is   11:50AM  0:00.00
/usr/local/sbin/pure-uploadscript -B -r
/root/cronscript/liiguta_klientide_failid.sh

The situation after killing all the processes and doing service pure-ftpd
start:

root       2315   0.0  0.1   59720   6532  -  Is   11:54AM   0:00.20 pure-ftpd
(SERVER) (pure-ftpd)
root       2317   0.0  0.1   30528   4616  -  Is   11:54AM   0:00.00
/usr/local/sbin/pure-uploadscript -B -r
/root/cronscript/liiguta_klientide_failid.sh

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-190747-13>