Re: smbfs on VIMAGE kernel

2011-01-11 Thread Mikolaj Golub

On Tue, 11 Jan 2011 16:20:11 -0800 Julian Elischer wrote:

 JE> On 1/11/11 11:42 AM, Mikolaj Golub wrote:
 >> Hi,
 >>
 >> With the attached patch I can mount and use samba fs on current built with
 >> VIMAGE option.
 >>
 JE> but what does that actually MEAN?

Without the patch when you try to mount samba fs on a system compiled with
VIMAGE option it will just panic. I didn't need samba inside jails, I just
wanted to mount samba fs on host.

-- 
Mikolaj Golub
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: smbfs on VIMAGE kernel

2011-01-11 Thread Bjoern A. Zeeb

On Tue, 11 Jan 2011, Julian Elischer wrote:


On 1/11/11 11:42 AM, Mikolaj Golub wrote:

Hi,

With the attached patch I can mount and use samba fs on current built with
VIMAGE option.


but what does that actually MEAN?

you are in a jail
you have your own stack.
you mount a filesystem.
When someone outside the jail (who  can see that point in the filesystem) 
sees it,

who's stack do they use to access it?


Short answer: you cannot mount any file system inside a jail unless
it's marked jail friendly which brings us to ZFS only currently.

/bz

--
Bjoern A. Zeeb You have to have visions!
 Going to jail sucks --  All my daemons like it!
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: smbfs on VIMAGE kernel

2011-01-11 Thread Julian Elischer

On 1/11/11 11:42 AM, Mikolaj Golub wrote:

Hi,

With the attached patch I can mount and use samba fs on current built with
VIMAGE option.


but what does that actually MEAN?

you are in a jail
you have your own stack.
you mount a filesystem.
When someone outside the jail (who  can see that point in the 
filesystem) sees it,

who's stack do they use to access it?


___
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"