From owner-freebsd-rc@FreeBSD.ORG Mon Jun 2 19:56:08 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D914A6C; Mon, 2 Jun 2014 19:56:08 +0000 (UTC) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DDD0C2DF7; Mon, 2 Jun 2014 19:56:07 +0000 (UTC) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 25B962842B; Mon, 2 Jun 2014 21:56:05 +0200 (CEST) Received: from [192.168.1.2] (ip-89-177-49-222.net.upcbroadband.cz [89.177.49.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2A76228429; Mon, 2 Jun 2014 21:56:04 +0200 (CEST) Message-ID: <538CD6D3.6060908@quip.cz> Date: Mon, 02 Jun 2014 21:56:03 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Mark Felder Subject: Re: rc.subr cant seem to handle spaces in binary names References: <58603eaa94f5e276b09138753b25c5f7@mail.feld.me> In-Reply-To: <58603eaa94f5e276b09138753b25c5f7@mail.feld.me> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 19:56:08 -0000 Mark Felder wrote: > Hello, > > Finally looking for feedback on this. I have a port > (multimedia/plexmediaserver) whose binary name is "Plex Media Server" -- > with spaces. Our rc framework doesn't like this, and every attempt to > get it to play nice has resulted in failure. I do not like spaces in the > binary name, but this is something that Plex has had for years and I > don't expect them to change. Is this a bug in rc.subr, a known WONTFIX, > or am I overlooking something? I'd love to simplify the rc script if > possible. I think it is related to similar problem as with hypen it the name="background-fsck" (in rc.d/bgfsck). It did wrong things in eval part of rc.subr http://lists.freebsd.org/pipermail/freebsd-rc/2010-January/001814.html So I think you can install "Plex Media Server" binary renamed to "Plex_Media_Server", or somebody should fix rc.subr. Miroslav Lachman