Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.


  Search this Thread
Old 09-30-2012, 05:08 AM   #1
Senior Member
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,452

Rep: Reputation: 85
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.

Old 09-30-2012, 05:22 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,669

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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.


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 12:11 PM
Migrating Solaris 10 Zones to new machine. bavondrake Solaris / OpenSolaris 3 03-16-2011 06:32 PM
solaris zones: what is it for? ic_torres Solaris / OpenSolaris 5 04-11-2009 05:22 AM
LXer: Branded Linux Zones In Open Solaris? LXer Syndicated Linux News 0 08-01-2008 04:10 PM
Is my solaris 10 with zones? xpucto Solaris / OpenSolaris 7 02-26-2006 11:20 AM

All times are GMT -5. The time now is 03:33 AM.

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