[zones-discuss] chroot env into zone

2008-11-12 Thread Maciej Browarski
Hello,
I've running chroot environment (only apache, php and mysql)on Solaris 
10u5 and I want this environment move to ZONE environment.
Problem is with packages because zoneadm install all packages from 
global ZONE.
Is there only way that I install this ZONE and after installing ZONE 
remove unused packages ?

Regards,

-- 
Maciej Browarski


___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] chroot env into zone

2008-11-12 Thread C. Bergström
Maciej Browarski wrote:
 Hello,
 I've running chroot environment (only apache, php and mysql)on Solaris 
 10u5 and I want this environment move to ZONE environment.
 Problem is with packages because zoneadm install all packages from 
 global ZONE.
 Is there only way that I install this ZONE and after installing ZONE 
 remove unused packages ?

 Regards,

   
You'll need to make a native unbranded zone.. google privsnz and that 
should put you on the right track.. I've recently done this as well.. I 
know you're @Sun, but feel free to email directly if you need help..

./C
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] chroot env into zone

2008-11-12 Thread Tommy McNeely
Start with a real minimal build of Solaris, build a sparse zone. The zones then 
take ~200MB. No, its not a CHROOT, but you can chroot apps that support it 
(named) within the zone so that there is absolutely nothing that can be 
accessed if it somehow is broken... but the minimal install should reduce your 
patching requirements and the sparse zone makes it so that IF someone breaks 
in, they can't break most of the executables as they are on a read-only 
filesystem.
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org