A jail with a dash in its name

Robert Bonomi bonomi at mail.r-bonomi.com
Tue Dec 21 12:11:40 UTC 2010

> From owner-freebsd-questions at freebsd.org  Tue Dec 21 04:58:59 2010
> Date: Tue, 21 Dec 2010 11:58:38 +0100
> From: Christer Solskogen <christer.solskogen at gmail.com>
> To: FreeBSD Mailing List <freebsd-questions at 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

More information about the freebsd-questions mailing list