Re: Jail starts but doesn't start

2011-05-04 Thread Michael Scheidell
Try sh first. Bash might not be installed in jail. -- Michael Scheidell CTO SECNAP Network Security 561-999-5000 -Original message- From: Mickey Harvey To: "freebsd-jail@freebsd.org" Sent: Wed, May 4, 2011 23:24:55 GMT+00:00 Subject: Jail starts but doesn't start Hosts /etc/rc.conf

Jail starts but doesn't start

2011-05-04 Thread Mickey Harvey
Hosts /etc/rc.conf 1. ifconfig_bge0="inet 192.168.224.11 netmask 255.255.255.0" 2. defaultrouter="192.168.224.1" 3. sshd_enable="YES" 4. 5. linux_enable="YES" 6. zfs_enable="YES" 7. jail_enable="YES" 8. jail_list="www0 dns0 smarty0 centos" 9. 10. ifconfig_bge0_alias0=

Re: jexec by jname

2011-05-04 Thread Uffe Jakobsen
On 2011-03-26 19:09, Fabian Keil wrote: Subbsd wrote: I see wrong information at http://wiki.freebsd.org/Jails "jexec - selection by jail name, 2008-05-26 commited to 8-CURRENT" I do not see something like "jexec -n" in RELENG_8 or CURRENT. This is fake ;) ? Quoting jexec(8): | DESCRIPTI

Re: Getting hostname from jail_getid(3) or ezjail(5)

2011-05-04 Thread Uffe Jakobsen
On 2011-02-08 17:30, Julian Fagir wrote: Hi, I wanted to write a tool starting a shell in a jail. I know, jexec accomplishes this too, but I want to compile the name of the jail into the program, no commandline-parameters (more about this topic will be posted on this list soon). Thus, I used lib