Date: Fri, 04 Nov 2005 11:13:05 +0100 From: Vladimir Dvorak <dvorakv@vdsoft.org> To: Vladimir Dvorak <dvorakv@vdsoft.org> Cc: freebsd-questions@freebsd.org Subject: Re: cannot jkill JAIL Message-ID: <436B3431.1070901@vdsoft.org> In-Reply-To: <436B2AE5.6010908@vdsoft.org> References: <436B2AE5.6010908@vdsoft.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Dvorak wrote: >Hi, > >cannot jkill jail. > >I have in /etc/rc.conf this: > >jail_enable=yes >jail_list="firma1" >jail_set_hostname_allow="NO" > >jail_firma1_rootdir="/mnt/JAILS/10.0.0.166" >jail_firma1_hostname="company1.domain.com" >jail_firma1_ip="10.0.0.166" >jail_firma1_exec_start="/bin/sh /etc/rc" >jail_firma1_exec_stop="/bin/sh /etc/rc.shutdown" >jail_firma1_exec_devfs_enable="YES" > >After boot process I ssh to host system and look for jail like this: > >root@ultrahost# jls > JID IP Address Hostname Path > 1 10.0.0.166 company1.domain.com >/mnt/JAILS/10.0.0.166 > >And the problem ? I cannot jkill this jail > >root@ultrahost# jkill -r 1 >jkill: couldn't connect to kernel: bad namelist - no kernbase >root@ultrahost# jkill -k 1 >jkill: couldn't connect to kernel: bad namelist - no kernbase >root@ultrahost# jkill -f -k 1 >jkill: couldn't connect to kernel: bad namelist - no kernbase > >No chance. :-( ( but as you can see, jls reports jail running and I can >via SSH connect to) > >What I am doing wrong ? > >Thank you, > >Vladimir > > > Now it is solved. I should mount devfs into the jail also. ('mount_devfs devfs /mnt/JAILS/10.0.0.167/dev') Vladimir
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?436B3431.1070901>