11-20-2009
i have no idea what the process is yet. so i assume that i would change it via the global zone then?
10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I would like to implement zones in solaris 10 to simulate 2 nodes on a single solaris 10 using zones. Can some one tell me what does it mean by global and non-global zones
Also write what is the use of using non global or global and permissions like read-write on zones.
My requirement... (3 Replies)
Discussion started by: upengan78
3 Replies
2. Solaris
Hello,
I am attempting to install a newly configured Solaris 9 zone using the flash archive image provided on the sun website. Each time I run the install I get a failure during the Postprocess: Creating mount points. Following is the log:
Log File: /var/tmp/s9-zone.install.25457.log... (0 Replies)
Discussion started by: brialt1
0 Replies
3. Solaris
Dear all,
we are trying to install a Solaris10 Branded Zone on a Solaris 11 Express system getting this message:
***The image patch level is downrev for running in a solaris10 branded zone***
The Sparc Solaris 10 system is running Release 11/06 and Patch 119254-70 is installed.
Does the... (0 Replies)
Discussion started by: xunil321
0 Replies
4. Solaris
I have a T5220 running Solaris 10. I have a application that can only run on Solaris 9. I want to build a branded Solaris 9 zone for this application on the Solaris 10 Server.
What steps would I need to accomplish this? (2 Replies)
Discussion started by: soupbone38
2 Replies
5. Solaris
I am trying to create a branded 10 zone on a Solaris 11.1 control domain. I am using a flar image (cpio) from an existing LDOM. Here are the steps taken after flarcreate.
#zonecfg -z <device>
>create -b
>set brand=solaris10
>set zonepath=/zonez/<device>
>set ip-type=exclusive
>add net... (1 Reply)
Discussion started by: aeroforce
1 Replies
6. Solaris
I am trying to get a NFS share on a Solaris 10 branded zone. I have read that this is not possible...but I was hoping someone here could tell me different.
share -F nfs -o ro,anon=0 /dir
This would really surprise me that you cannot do this.
Thanks (2 Replies)
Discussion started by: aeroforce
2 Replies
7. Solaris
All.
I am trying to create a 10 branded zone on a Sol 11.1 T5. The Global is using IPMP...so aggregating is out of the question. Has anyone successfully created a branded zone with IPMP? If they have can you please show me the steps you took to get this to run.
Thanks (4 Replies)
Discussion started by: aeroforce
4 Replies
8. Solaris
Hi,
I want to install branded zone sol 9 in sol 10. I keep getting same error. Please advice me.
Thanks. (12 Replies)
Discussion started by: mzainal
12 Replies
9. Solaris
I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially
Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies
10. Solaris
So I started with following the example on the omnios page for bhyve (sorry, I can't provide the link because I'm a post shy of the 5 to give a URL):
And found that in the end I was able to create a running bhyve zone, but accessing it via zlogin results in a blank console. I've tried Debian 9... (14 Replies)
Discussion started by: stratacast1
14 Replies
LEARN ABOUT OPENSOLARIS
getzonelabelbyname
getzonelabelbyid(3TSOL) Trusted Extensions Library Functions getzonelabelbyid(3TSOL)
NAME
getzonelabelbyid, getzonelabelbyname, getzoneidbylabel - map between zones and labels
SYNOPSIS
cc [flags...] file... -ltsol [library...]
#include <tsol/label.h>
m_label_t *getzonelabelbyid(zoneid_t zoneid);
m_label_t *getzonelabelbyname(const char *zonename);
zoneid_t *getzoneidbylabel(const m_label_t *label);
DESCRIPTION
The getzonelabelbyid() function returns the mandatory access control (MAC) label of zoneid.
The getzonelabelbyname() function returns the MAC label of the zone whose name is zonename.
The getzoneidbylabel() function returns the zone ID of the zone whose label is label.
All of these functions require that the specified zone's state is at least ZONE_IS_READY. The zone of the calling process must dominate the
specified zone's label, or the calling process must be in the global zone.
RETURN VALUES
On successful completion, the getzonelabelbyid() and getzonelabelbyname() functions return a pointer to a sensitivity label that is allo-
cated within these functions. To free the storage, use m_label_free(3TSOL). If the zone does not exist, NULL is returned.
On successful completion, the getzoneidbylabel() function returns the zone ID with the matching label. If there is no matching zone, the
function returns -1.
ERRORS
The getzonelabelbyid() and getzonelabelbyname() functions will fail if:
ENOENT The specified zone does not exist.
The getzonelabelbyid() function will fail if:
ENOENT No zone corresponds to the specified label.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
Intro(2), getzonenamebyid(3C), getzoneidbyname(3C), libtsol(3LIB), m_label_free(3TSOL), attributes(5), labels(5)
NOTES
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.
SunOS 5.11 20 Jul 2007 getzonelabelbyid(3TSOL)