From owner-freebsd-ports@FreeBSD.ORG Fri Dec 23 07:21:31 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B514106566B; Fri, 23 Dec 2011 07:21:31 +0000 (UTC) (envelope-from christer.edwards@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 52E7A8FC0C; Fri, 23 Dec 2011 07:21:30 +0000 (UTC) Received: by lahl5 with SMTP id l5so5127573lah.13 for ; Thu, 22 Dec 2011 23:21:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=VuIFbS0QFs1U48e5JjW/5hAD5VrSAh462l2cwr58JO8=; b=AgfjVu9qoc8q/j9MAzlRFgLztDkDQ2/c57ZTn6iyDW1VyGRa7//xMijkTnKh1AevEh qKClVYHSjd+NgW43BRH8DokR/j28QHsnB96L9wRGeH+Nh6GT13uNzsKHXWgTo/JHrYgE M1HUR7yeChBWUAPUZPqUDVk9vnykLi7MTEi5s= Received: by 10.152.128.98 with SMTP id nn2mr10950105lab.14.1324624889232; Thu, 22 Dec 2011 23:21:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.152.20.134 with HTTP; Thu, 22 Dec 2011 23:21:08 -0800 (PST) In-Reply-To: <4EF429BB.2040906@FreeBSD.org> References: <4EEC6D9D.1020102@yandex.ru> <4EEEAE03.1080908@yandex.ru> <4EF2FBAE.8050406@yandex.ru> <4EF393BC.2020003@yandex.ru> <4EF3CF11.6070104@FreeBSD.org> <4EF3E10C.4070209@FreeBSD.org> <4EF3F19D.6090905@FreeBSD.org> <4EF429BB.2040906@FreeBSD.org> From: Christer Edwards Date: Fri, 23 Dec 2011 00:21:08 -0700 Message-ID: To: Doug Barton Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-ports@FreeBSD.org" Subject: Re: salt rc.d scripts (Was: RUN_DEPENDS for python based port) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 07:21:31 -0000 On Fri, Dec 23, 2011 at 12:11 AM, Doug Barton wrote: > Did you read the pre-commit checklist? Particularly item 7? "If the script uses an interpreted language like perl, python, or ruby, make certain that command_interpreter is set appropriately." Each rc script includes: 'command_interpreter="%%PYTHON_CMD%%"' as suggested earlier. I looked at another port (security/denyhosts) and noticed it used "%%PYTHON%%" vs "%%PYTHON_CMD%%", but either way after installation it expands properly to "/usr/local/bin/python2.7" as I would expect.. Again, the error I'm finding is: [root@salt /usr/local/etc/rc.d]# ./salt_master start Starting salt_master. [root@salt /usr/local/etc/rc.d]# ./salt_master stop salt_master not running? (check /var/run/salt_master.pid).