From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 7 10:54:17 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32491181 for ; Sat, 7 Jun 2014 10:54:17 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0184B239C for ; Sat, 7 Jun 2014 10:54:17 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s57AsGRD008688 for ; Sat, 7 Jun 2014 11:54:16 +0100 (BST) (envelope-from bz-noreply@freebsd.org) 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 Date: Sat, 07 Jun 2014 10:54:17 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: raivo.hool@gmail.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jun 2014 10:54:17 -0000 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.