Bulding release in a jail????

Goran Lowkrantz goran.lowkrantz at ismobile.com
Tue Feb 2 13:45:13 UTC 2010


I am trying to get a working release build environment in a jail but it 
fails because the release script needs to mount devfs in the chrooted build 
environment and the md devices used to build the images.

I have set the following syscontrols
vfs.usermount=1
security.jail.mount_allowed=1
security.jail.chflags_allowed=1

but still can't mount inside the jail.

I have tried to make the to jail the chroot filesystem and can mount it 
within the jail (but not umount it???) but still can't mount the md devices 
on this jaild filesystem.

Is it possible to build a release in a jail? What am I missing?

/glz



More information about the freebsd-questions mailing list