Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2006 09:41:09 -0400
From:      Calvin Hendryx-Parker <calvin@sixfeetup.com>
To:        freebsd-questions@freebsd.org
Subject:   rc.subr options conflict with one another
Message-ID:  <ec1rll$pbl$1@sea.gmane.org>

next in thread | raw e-mail | index | archive | help
I stumbled upon a bug that I wanted to run by the list first before
submitting it to the bugs list.

If you create a start script and use rc.subr with both of these 
variables set in your script you won't get the desired effect.

${name}_user="myuser"
start_cmd="${command} start"


The first argument will start the command using su if you aren't using 
chroot, and the second one will allow you to override the default method 
for start for example.  When you use the start_cmd or any of the 
argument_cmd variable the su command will not be used to start your daemon.

Does this look like a valid bug or am I missing something?

Thanks,
Calvin
-- 
S i x  F e e t  U p , I n c .  |  "Nowhere to go but open source"
Silicon Valley: +1 (650) 401-8579 x602
Midwest: +1 (317) 861-5948 x602
Toll-Free: 1-866-SIX-FEET
mailto:cparker@sixfeetup.com
http://www.sixfeetup.com  |  Zope/Plone Dedicated Hosting from $35/month




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ec1rll$pbl$1>