Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 17:55:37 -0500
From:      "Bender, Chris" <chris_bender@cellularatsea.com>
To:        =?iso-8859-1?Q?Eirik_=D8verby?= <ltning@anduin.net>
Cc:        freebsd-jail@freebsd.org
Subject:   RE: JAILS help
Message-ID:  <assp.03761011da.863259E16B6C464DAD1E9DD10BB311540582EC02@wmsexg01.corp.cellularatsea.com>
In-Reply-To: <A0836B24-745D-4C9F-8545-50273F094CD1@anduin.net>
References:  <863259E16B6C464DAD1E9DD10BB311540582EBFC@wmsexg01.corp.cellularatsea.com> <A0836B24-745D-4C9F-8545-50273F094CD1@anduin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
There is no mention but I found  a scipt that looks to execute such an=
 item in the home directory.=20
zs1# more tools2
export jail_tools2_hostname=3D"tools2"
export jail_tools2_ip=3D"172.19.4.41"
export jail_tools2_ip_multi0=3D"172.19.4.46"
export jail_tools2_ip_multi1=3D"172.19.4.47"
export jail_tools2_ip_multi2=3D"172.19.4.48"
export jail_tools2_ip_multi3=3D"135.209.138.15"
export jail_tools2_ip_multi4=3D"135.209.138.20"
export jail_tools2_rootdir=3D"/usr/jails/tools2"
export jail_tools2_exec_start=3D"/bin/sh /etc/rc"
export jail_tools2_mount_enable=3D"YES"
export jail_tools2_devfs_enable=3D"YES"
export jail_tools2_devfs_ruleset=3D"devfsrules_jail"
export jail_tools2_procfs_enable=3D"YES"
export jail_tools2_fdescfs_enable=3D"YES"
export jail_tools2_image=3D""
export jail_tools2_imagetype=3D""
export jail_tools2_attachparams=3D""
export jail_tools2_attachblocking=3D""
export jail_tools2_forceblocking=3D""

This file is not in the jailed system files but outside the files system=
.=20
When I run it
I get=20

zs1# /etc/rc.d/jail start tools 2
Configuring jails:.
Starting jails:/etc/rc.d/jail: ERROR: jail: No hostname has been defined=
 for tools
zs1# /etc/rc.d/jail -h start tools 2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h start tools2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h onestart tools2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h one start tools2
/etc/rc.d/jail: unknown directive '-h'.
Usage: /etc/rc.d/jail [fast|force|one](start|stop|restart|rcvar)
zs1# /etc/rc.d/jail -h one start tools2

???Thanks



-----Original Message-----
From: Eirik =D8verby [mailto:ltning@anduin.net]=20
Sent: Monday, January 30, 2012 5:49 PM
To: Bender, Chris
Cc: freebsd-jail@freebsd.org
Subject: Re: JAILS help

Check /etc/rc.conf for any mention of jails. If there is, you should be=
 able to start the jails using the /etc/rc.d/jail script, specifying the=
 operation (start) and the jail name.

If there is no mention in /etc/rc.conf - how and where are the jails def=
ined? How do you know there are any?

/Eirik

On Jan 30, 2012, at 23:44, Bender, Chris wrote:

> zs1# uname -spr
>=20
> FreeBSD 8.2-RELEASE-p2 amd64
>=20
>=20
>=20
> Can anyone assist me with a Jails issue. System restarted and JAILS=
 is=20
> NOT running a mission critical system.
>=20
>=20
>=20
> Willing to pay for help.
>=20
> Thanks
>=20
>=20
>=20
> Chris Bender
>=20
> Network Engineer
>=20
> AT&T / Wireless Maritime Services
>=20
> 3088 N Commerce Parkway
>=20
> Miramar, FL 33025
>=20
>=20
>=20
> Cell Phone: 954-235-5972
>=20
> Desk:  954-883-2453
>=20
>=20
>=20
> Chris.Bender@cellularatsea.com <mailto:Chris.Bender@cellularatsea.com>
>=20
>=20
>=20
>=20
>=20
>=20
>=20
> _______________________________________________
> freebsd-jail@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-jail
> To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.03761011da.863259E16B6C464DAD1E9DD10BB311540582EC02>