Date: Tue, 21 Dec 2010 06:11:37 -0600 (CST) From: Robert Bonomi <bonomi@mail.r-bonomi.com> To: christer.solskogen@gmail.com, freebsd-questions@freebsd.org Subject: Re: A jail with a dash in its name Message-ID: <201012211211.oBLCBbJW007155@mail.r-bonomi.com>
next in thread | raw e-mail | index | archive | help
> From owner-freebsd-questions@freebsd.org Tue Dec 21 04:58:59 2010 > Date: Tue, 21 Dec 2010 11:58:38 +0100 > From: Christer Solskogen <christer.solskogen@gmail.com> > To: FreeBSD Mailing List <freebsd-questions@freebsd.org> > Subject: A jail with a dash in its name > > I want to create a jail called forest-friend. And having a dash in the > name seems to create problems for me. > > /etc/rc.conf: jail_forest-friend_rootdir=/usr/jails/forest-friend: not found > > how do I escape that? It looks to me like yo're chasing the wrong problem. That statement appears to be a shell variable assignment, yet the error message indicates that the system is trying to find an executable by the name of the entire expression. You need to show us the actual line in /etc/rc.conf _and_ the surrounding context.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012211211.oBLCBbJW007155>