LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 09-30-2012, 04:08 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,441

Rep: Reputation: 80
Solaris Zones, Linux Chroot


How does Linux chroots compare to Solaris zones?

I've been told zones are better, but I haven't played with them yet. Does better mean that somethings can escape out of the chrooted environment?

What advantages does each one offer over the other?

I imagine the chroot command is already available to Solaris, so there must have been a reason why chroot was created.

Thanks
 
Old 09-30-2012, 04:22 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,499

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
chroot is only providing file system isolation and is limited to non root accounts. There have always been ways to escape chroot when you have root privileges.

zones are not only isolating file systems but also processes (a ps will show only the processes launched on the zone), network (each zone has its own IP address(es) including its own localhost. You can cap resource usage per zone (CPU, memory).

Finally, Solaris supports also branded zones which provide a different OS interface to applications (e.g. a Solaris 10 branded zone installed on Solaris 11).

Linux closer equivalents are OpenVZ and lxc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
two vlans in solaris zones bajones Solaris / OpenSolaris 1 03-06-2012 11:11 AM
Migrating Solaris 10 Zones to new machine. bavondrake Solaris / OpenSolaris 3 03-16-2011 05:32 PM
solaris zones: what is it for? ic_torres Solaris / OpenSolaris 5 04-11-2009 04:22 AM
LXer: Branded Linux Zones In Open Solaris? LXer Syndicated Linux News 0 08-01-2008 03:10 PM
Is my solaris 10 with zones? xpucto Solaris / OpenSolaris 7 02-26-2006 10:20 AM


All times are GMT -5. The time now is 01:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration