Removing Packages "added" by zone creation

The search feature on these forums is limited. Scrolling back about 8 months I think I know the answer to this question, but I would like to be certain.
I have a solaris 10 global zone with SUNWut (sunray services) installed.
When I create my non-global zones, Solaris is "kind" enough to install the sunray services into the non-global zones as they get created. This leads to multiple instance of the sunray software running.
When I created the non global zones the first time, I went into the non--global zones and I removed the SUNWut packages using pkgrm.
Is there a way to tell the zone creation to not install the SUNWut package when the non global zone is created? I have to rebuild this machine and I would love to create the zones in a more efficient manner.
Looking through the posts I saw that people were dealing with my problem the same way I did. Once the non global zone is running, go in and do a pkgrm on it.
I just want to verify that this is the way other people are handling it.
Thanks,
Eric

The zones are a typical sparse root model (inherited-pkg-dir's are /lib/ /platform/ /sbin/ and /usr/). There is no nfs mounting or such.
Once the non-global zone is installed, If you go to /opt in the non-global zone the SUNWut directory is there. If you do a ps command you can see that there is a sunray server is running in each zone.
Thinking about it I suppose that the install script for SUNWut may be at fault. Perhaps it is telling the zone install that it is a base package when it is not. This would make sense because I was using a SRSS 3.0 install patched by my sun engineers to install on my sol10 system. Perhaps I will not run into the same issue now that I have the official 3.1 sunray s/w.
Only time will tell. But I appreciate the reply so that I know if it does happen that I am handling the problem in the correct manner (using pkgrm on SUNWut).
I will report back if this issue comes up again when I redo the system.
Thanks,
Eric

Similar Messages

  • Problem with zone creation in Solaris 10 6/06

    Hi,
    I have configured and installed a non-global zone following the example given in the guide http//www.sun.com/software/solaris/howtoguides/posgresqlhowto.jsp. My zone has the following configuration:
    # zonecfg -z pg_zone
    zonecfg:pg_zone> info
    zonepath: /export/zones/pg_zone
    autoboot: true
    pool:
    fs:
    dir: /pg_log
    special: /dev/dsk/c1d0s0
    raw: /dev/rdsk/c1d0s0
    type: ufs
    options: []
    net:
    address: 192.168.10.100/24
    physical: bge0
    zonecfg:pg_zone> exit
    The installation completed but I got the following errors:
    # zoneadm -z pg_zone install
    Preparing to install zone <pg_zone>.
    Creating list of files to copy from the global zone.
    Copying <130101> files to the zone.
    Initializing zone product registry.
    Determining zone package initialization order.
    Preparing to initialize <1059> packages on the zone.
    Initialized <1059> packages on zone.
    Zone <pg_zone> is initialized.
    Installation of these packages generated errors: <SUNWgnome-a11y-libs-share>
    Installation of <63> packages was skipped.
    The file </export/zones/pg_zone/root/var/sadm/system/logs/install_log> contains a log of the zone installation.
    When examined the logs there were several messages like this:
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWamutl> was not installed:
    The package <SUNWamutl> is registered to be installed in the
    global zone only. The package may have been installed in the global
    zone using the pkgadd '-G' option, or the package may contain a
    request script, or the package may directly set the package attribute
    SUNW_PKG_THISZONE=true in the pkginfo file.
    *** package <SUNWiimdv> was not installed:
    The package <SUNWiimdv> is either not fully installed in the
    global zone, or the package contains a request script. Only packages
    that are fully installed in the global zone and that do not contain a
    request script can be installed when a new zone is created. If this
    package does not contain a request script, you can correct this
    problem by removing and reinstalling the package in the global zone.
    And when I try to boot the zone I get this error:
    # zoneadm -z pg_zone boot
    zoneadm: zone 'pg_zone': "/usr/lib/fs/lofs/mount -o zonedevfs /export/zones/pg_zone/dev /export/zones/pg_zone/root/dev" failed with exit code 33
    zoneadm: zone 'pg_zone': call to zoneadmd failed
    Any suggestion how to solve this problem?
    thanks

    To answer your question wangzh: Yes I did. I actually followed exactly the procedure on the how-to-uides: http://www.sun.com/software/solaris/howtoguides/containersLowRes.jsp.
    I think the problem here might reside in the script supplied in the solaris distribution for creating zones. For example, in the default configuration script, the package directories /lib /platform /var and /usr are by default set to be automatically imported. But when I try to create a zone using these defaults settings, it ends up with an mounting error that prevents the installation of the zone. only when I remove manually those directories from the configuration then the installation continues.
    And during the installation process there are number of packages that are by default imported via the installation script and this is some of those packages that cause the errors here. I also tried to exclude the offending packages as suggested by henryC but I couldn't find all of them and the creation still fails at the booting.

  • Solaris10 branded zone creation error on Solaris 11.1

    Hello,
    We are having the problem in creating the Solaris10 branded zone on the solaris 11.1 version. We are trying to install this branded zone using the solaris10 VM template. Please can some one through some pointers ?
    The installation steps stops at "Waiting for boot to complete" but never successfully boots even waiting for long times. We can see that Zone status in configured only.
    root@localhost:~# /home/solaris-10u10-sparc.bin -p /solaris10 -i net0 -a xxx.xxx.xxx.xxx -z zone10
    This is an Oracle VM Template for Oracle Solaris Zones.
    Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
    This software and related documentation are provided under a license
    agreement containing restrictions on use and disclosure and are
    protected by intellectual property laws. Except as expressly
    permitted in your license agreement or allowed by law, you may not
    use, copy, reproduce, translate, broadcast, modify, license,
    transmit, distribute, exhibit, perform, publish, or display any
    part, in any form, or by any means. Reverse engineering,
    disassembly, or decompilation of this software, unless required by
    law for interoperability, is prohibited.
    Checking disk-space for extraction
    Ok
    Extracting in /root/bootimage.dnaqaD ...
    100% [===============================>]
    Checking data integrity
    Ok
    Checking platform compatibility
    The host and the image do not have the same Solaris release:
    host Solaris release: 5.11
    image Solaris release: 5.10
    Will create a Solaris 10 branded zone.
    IMAGE: /home/solaris-10u10-sparc.bin
    ZONE: zone10
    ZONEPATH: /solaris10/zone10
    INTERFACE: net0
    VNIC: vnicZBI6783
    MAC ADDR: 2:8:20:5c:92:f5
    IP ADDR: xxx.xxx.xxx.xxx
    NETMASK: 255.0.0.0
    DEFROUTER: # # This file is deprecated. Default routes will be created for any router # addresses specified here, but they will not change when the underlying # network configuration profile (NCP) changes. For NCP-specific static # routes, the '-p' option of the route(1M) command should be used. # # See netcfg(1M) for information about network configuration profiles. #
    TIMEZONE: Asia/Kolkata
    Checking disk-space for installation
    Ok
    Installing in /solaris10/zone10 ...
    100% [===============================>]
    Using a static exclusive-IP
    ./setupSysidcfgStaticIP[50]: file/sysidcfg.zone10: cannot create [No such file or directory]
    cp: cannot access file/sysidcfg.zone10
    chmod: WARNING: can't access file/sysidcfg.zone10
    Attaching zone10
    Booting zone10
    zoneadm: zone 'zone10': must be installed before boot.
    Waiting for boot to complete
    booting...
    booting...
    booting...
    root@localhost:# zoneadm list -cv
    ID NAME STATUS PATH BRAND IP
    0 global running / solaris shared
    4 zone1 running /zone1 solaris excl
    5 zone2 running /zone2 solaris excl
    - zone10 configured /solaris10/zone10 solaris10 excl
    root@localhost:#
    I have installed the package pkg:/system/zones/brand/brand-solaris10 on the system.
    # cat /etc/release
    Oracle Solaris 11.1 SPARC
    Copyright (c) 1983, 2012, Oracle and/or its affiliates. All rights reserved.
    Assembled 19 September 2012

    Sorry, please ignore my previous message about the wrong ip address (I assume you entered a valid ip address).
    The problem you are facing is related to the defaultrouter, and I assume you are running Solaris 11 update 1.
    If so, to workaround the problem for the time being you may edit the /etc/defaultrouter file in the global-zone and enter the ip address of the default router (you can remove this change when the template deployment is completed).
    If you have no idea about the default router ip address, just rename /etc/defaultrouter (e.g. to /etc/defaultrouter.orig) so that it cannot be found by the template. Again, you can undo the change when deployment is complete.
    Thierry

  • Will zones inherit security/hardening settings made prior to zone creation?

    Hi guys.
    So the scenario is I've just finished hardening Solaris 10: disabling of services, configuring tcp wrappers and the such. I would now like to create a zone or zones but there are a few things I would like to make sure of, before proceeding.
    The questions are:
    i) After creating a zone, whether it's sparse or whole, will the non-global zone inherit the hardening settings that I have setup prior? Or is it a seperate entity that requires me to harden it.
    ii)I understand that patching the global zone will patch the rest of the other zones. Does this include whole-root zone since it does not mount any filesystem outside its zone.
    Thank you.
    N.

    No, except for the packages that get installed at zone creation time, they're separate.
    Patches are applied to all zones. A zone may be temporarily booted just to apply a patch. Even though a whole-root zone may not mount external filesystems, that doesn't mean that it's independent. For instance, it's kernel files aren't actually loaded, since it doesn't have an independent kernel. When the global zone's kernel is patched, all others are as well. So the files within the zone will be patched as well to maintain consistency.
    Darren

  • Can I legally remove packages from a JRE bundled with my Application

    Can anyone help me get clarification on whether or not I can remove packages from a JRE that I am bundling with my Java Desktop Application. The full JRE is 90+ megs, my application does not require all of that. It was my understanding that I could modify the JRE as long I left the copyright notifications in place and did not try to represent the JRE as something I created. The license agreement is vague, at best. I was looking for direction or legal statement that allows me to trim out unnecessary packages from a JRE that is bundled with my application.
    Thank you in advance for any input.

    The license agreement is vague, at best.http://java.sun.com/j2se/1.5.0/jre/README
    Java(TM) 2 Platform Standard Edition
    Runtime Environment
    Version 5.0
    =======================================================================
    Redistribution of the J2SE Runtime Environment
    =======================================================================
    NOTE - The license for this software does not allow the
    redistribution of beta and other pre-release versions.
    Subject to the terms and conditions of the Software License
    Agreement and the obligations, restrictions, and exceptions set
    forth below, You may reproduce and distribute the Software (and
    also portions of Software identified below as Redistributable),
    provided that:
    (a) you distribute the Software complete and unmodified and only
    bundled as part of Your applets and applications ("Programs"),

  • Whole root zone creation

    Hi
    I am building a whole root zone  running Solaris U9  I noticed the   zone does not get installed with  some updated packages  from global zone like the openssl installed in global zone does not get installed in the non global zone and it also requires  sshd user to be defined This results  the ssh not starting in the new zone  I want to know if this  is the default behaviour of whole root zone installation process and how can we  get the zone to be installed with all the  currently running packages  of the global zone Are there any post installation steps that  need to be followed for the zone to boot up correctly. I have run the  post  post installation configuration steps as well
    TIA

    Thanks Walter
    I was wondering  since most of the packages  installations at least  require one interaction   where it asks  for confirmation.  how  the other  packages are getting installed. But mostly that might be the reason
    There is also  the SUNW_PKG_ALLZONES and other related variables   which control  this but  since here the packages which are already installed on global zome are getting installed on NG zone , how these parameters can be changed I could not found  any of these parameters in any pkginfo file in the global zone

  • Adding Webpart zone dynamically

    I am trying to create a tab component which bring tabs title and content from sharepoint list. In a tab content, I also want to show files from document libraray.
    I am currently using SPServices to bring data of Tab Title, Content and Documents. But performance is relatively slow.
    I am thinking of adding webpart zone inside tab content, so I can get documents directly instead of querying it. Is it possible to add webpart zone inside Tab Content using javascript?

    Hi,
    You can use the JQuery UI tabs to create the tabs and place the web parts.  The following article shows how to use the JQuery UI tabs in association with Web Parts.
    All you need is a couple of web parts and content editor web part for your JavaScript library code.
    Even though article is based on SharePoint 2013/Office 365, it works well with SharePoint 2010.  Please watch the Youtube video embedded in the following article, you will get clear idea how to use this, it is pretty easy.
    http://www.sharepointhillbilly.com/Lists/Posts/Post.aspx?ID=42
    <!-- Reference the jQueryUI theme's stylesheet on the Google CDN. Here we're using the "Start" theme -->
    <link type="text/css" rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/themes/start/jquery-ui.css" />
    <!-- Reference jQuery on the Google CDN -->
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
    <!-- Reference jQueryUI on the Google CDN -->
    <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js"></script>
    <style type="text/css">
    </style>
    <script type="text/javascript">
    jQuery(document).ready(function($) {
    $(".s4-wpcell").hide();
    $(".s4-wpcell-plain").hide();
    //Put the Web Part Title for all the Web Parts you wish
    //to put into the tabbed view into the array below.
    setTimeout(function() {
    HillbillyTabs(["Issue","Image Viewer","Time","Speakers","States","Cities","SlideShow"]);
    }, 0);
    function HillbillyTabs(webPartTitles)
    for(index in webPartTitles)
    var title = webPartTitles[index];
    $("#HillbillyTabs").append('<li><a href="#Tab'+index+'" id="TabHead'+index+'" onclick="SetActiveTab(this.id);">'+
    title+'</a></li>').after('<div id="Tab'+index+'"></div>');
    $("span:contains('"+title+"')").each(function(){
    if ($(this).text() == title){
    var webPart = $(this).hide().closest("span").closest("[id^='MSOZoneCell_WebPart']");
    if ($(webPart).contents().html() != undefined)
    webPart = $(webPart).contents();
    $("#Tab" + index).append((webPart));
    $("#tabsContainer").tabs();
    $(".s4-wpcell").show();
    $(".s4-wpcell-plain").show();
    </script>
    <div id="tabsContainer"><ul id="HillbillyTabs"></ul></div>
    Please don't forget to mark it answered, if your problem resolved or helpful.

  • Remove package from Distribution Point

    I have been fighting with an OS deployment for the last day. The log was showing it was unable to find the package p0100001 which was my boot image. I eventually got it working as I failed to configure my boundary correctly. But it got me wondering...
    In SCCM 2007, it was pretty straight forward on how to remove packages from distribution points. But I still can't figure out how to remove a package, specifically a boot image, from a DP. I can view the distribution in the monitoring section and see the
    package successfully deployed, but what if I wanted to remove that boot image from the DP? How is this done. I'm sure it's staring me in the face, but I'm missing it. Thanks!

    I realize this is an old post, but I am dealing with the same issue regarding the removal of deployment package contents from Distribution Points.  After removing a Distribution Point from the Contents Locations tab on one of my Deployment Packages,
    how long does it take for the deployment package to be removed from the distribution point.  I have removed a large deployment package from a distribution point, but am not seeing any increase in the available free space.
    Any help would be appreciated.
    Muskie
    Muskie

  • Conflict checking issues for package XYZ on zones a, b, c

    Hello.
    I'm trying to install postfix from Blastwave on a Solaris 10 U4 Sparc system with two non-global zones installed. To do that, I do:
    adm@winds02 ~ $ sudo pkg-get -i postfix
    No existing install of CSWpostfix found. Installing...
    Pre-existing local file postfix-2.2.8,REV=2006.03.13-SunOS5.8-sparc-CSW.pkg.gz matches checksum
    Keeping existing file
    Analysing special files...
    ## Verifying package <CSWpostfix> dependencies in zone <ldap-client>
    ## Verifying package <CSWpostfix> dependencies in zone <ldap-server>
    Conflict checking issues for package <CSWpostfix> on zones
    <ldap-client, ldap-server>.
    Do you want to continue with the installation of <CSWpostfix> [y,n,?] How do I find out, which issues there are supposed to be?
    Thanks,
    Alexander

    You could also try using an admin file that should answer those questions for you
    I usually use something like:
    mail=
    instance=unique
    partial=ask
    runlevel=ask
    idepend=nocheck
    rdepend=ask
    space=ask
    setuid=nocheck
    conflict=nocheck
    action=nocheck
    basedir=default

  • Unable to install .p5p  package in global zones in Solaris 11

    Hello All,
    I have few zones configured on my Solaris 11 node which are up and running. I have a package in a .p5p archive package which i need to install in my global zone as well as the non-global zones. I dont want to use a network based repository for the installation.
    When i try to install the package it gives me the below error
    "pkg install: The proposed operation on this parent image can not be performed because
    temporary origins were specified and this image has children. Please either
    retry the operation again without specifying any temporary origins, or if
    packages from additional origins are required, please configure those origins
    persistently."
    1. How to install a .p5p package without a network based repository ?
    2. Is it possible to install packages from the global zone to non-global zones without having to log on to each of the zones ?
    TIA,
    Sudhir

    Package can be installed from global zone to local zone. When you issue pkgadd command from global zone it will distribute the package to local zones.Solaris 11 packaging does not use pkgadd(1M), it uses pkg(1M), described in more detail in pkg(5). Unlike in Solaris 10, the global zone and each non-global zone can have a disjoint set of packages. Thus, it is possible to minimize the global zone but have a zone that has most of Solaris installed. To allow this, pkg does not cause packages that are installed in the global zone to be automatically installed in non-global zones. For most use cases, this is a big improvement over the way things worked in Solaris 10.
    Note that pkgadd(1M) is still available in Solaris 11 to allow you to install legacy svr4 packages. Even when using pkgadd on Solaris 11, it does not cross zone boundaries.

  • "Recovery Partition has been Removed" Message in Recovery Media Creation

    HP Pavilion G4 2205tx - C5j09PA#UUF
    Windows 8 64-bit
    "Recovery Partition has been Removed" Message in Recovery Media Creation.
    i bought My new HP pavilion G4 laptop just two days ago and didnt change any thing in two Drives named Drive C: for windows  and D: for HP Recovery.
    now i want to Make a Recovery Disk with HP Recovery Manager Software.
    but it show a Massage: "Recovery Partition has been Removed" in Recovery Media Creation Section.
    in My Computer Recovery Partition is Almost Full (3.26G of 25.5G is Free) . so i think Recovery files present there .
    i haven't any Access to HP for Buy recovery disk or Call Support.
    Thanks
    This question was solved.
    View Solution.

    I don't know why your PC is saying your partition is gone - you're right, it doesn't look gone. I do know that if you use the Support Assistant to make backup copies of your Recovery Disks and Then instruct it to remove the recovery partition to give you more space on the hard drive, it will delete the HP factory image of Windows 8 from the recovery partition and leave the normal Windows repair tools behind.
    There are tools however that allow you to create your own recovery partition complete with these Windows repair tools and a new image of your instalation so you can restore from that. You could use this tool: Windows 7/8 - OEM Recovery Partition Creator found here: http://forums.mydigitallife.info/threads/21978-Win​dows-7-8-OEM-Recovery-Partition-Creator but thats a lot of work and it would be faster and easier just to backup your data and restore from your HP recovery disks you made from Support Assistant. If you didn't make the disks, HP may opt to send you a copy.. they do not normally do this but I have read that some people have good luck getting a free copy of the media from HP.. otherwise they want you to buy the recovery disks ($40.00) . I suppose it depends on the exact circunstances of your situation.
    Another solution is to use Macrium Reflect Free Edition to ghost or clone your system. You can then restore your whole system even with your custom programs installed, to the exact state it was in when you made the backup image. ( this may take several dvd's) I suggest you go this route because restoring your system with Macrium Reflect is Much faster than restoring from the HP Recovery Disks. Even if you do obtain another copy of the Recovery Disks, you should use this tool to make another backup that you can customize to your liking. Your re-installs will be faster, they will already have your chosen software installed, and you will save wear and tear on your HP Recovery Disks.  You can then safely delete the recovery partition to gain back that space on your hard drive (since you cannot access it anyway, you won't need that space being taken up).  BUT.. you cannot restore from UEFI Mode which is what HP ships with. You have to go into your Bios settings, and switch to Legacy Bios mode, (which disables Secure Boot) FIRST or else the Macruim recovery boot disk will not load to install the recovery image. After the system re-installs you can go back into bios settings and disable Legacy bios and re-enable secure Boot if you like. ( Windows 8 will load in both UEFI mode with secure boot enabled or Legacy bios mode.. it's your choice. UEFI mode will load faster but it will cause problems if you want to dual boot the system with another OS)  Hope this helps.

  • Is there a way to remove packages that are installed as dependencies?

    Hi,
    I recently tried out GDM, and found that I don't like it. I now wish to remove it, along with all the dependencies that were installed along with it.
    However, I cannot find a way to list the dependencies of GDM, so that I can remove those as well.
    The pacman manual mentioned --cascade and --recursive , however cascade does not list anything else, and recursive includes WAY too many extra packages, many of which I actually need.
    Is there a way to remove the packages that were installed along with GDM, but nothing more and nothing less?
    Thanks,
    James

    magicalChicken wrote:Be very careful with -Rsc, as this could remove many very important packages it used inapropriatly, I would recommend just pacman -Rs gdm, then check for orphaned packages.
    +1
    I also remove packages with the -Rs switch.  I occasionally check for orphans.  In fact, I wrote an 'orphans' function in in my ~/.bashrc for this purpose.
    orphans() {
    if [[ ! -n $(pacman -Qdt) ]]; then
    echo no orphans to remove
    else
    sudo pacman -Rs $(pacman -Qdtq)
    fi

  • How do you remove previously added computers?

    Just a little while ago, I noticed some unknown device appeared on my "Computers" box on the "My Network" menu. I don't know the origin of this device, but I would like to remove it from my wireless network as soon as possible (especially if it's from an outside source). However, I couldn't find anything telling me how to remove previously added computers/devices.
    Oh, and if this device is from an outside source (e.i. hacker), I just activated my router's security settings as a precaution.

    I had the same problem--an unknown computer suddenly showed up on my secured network and I was notified. I changed my encription but that computer is still listed. Is changing the encryption good enough? It makes me nervous to see that computer sitting there without knowing where it came from and whether it is actually able to access my network.

  • Remove package from local IPS repository

    I published a custom package to my local IPS repository, but I would like to remove it. Obviously you can use pkgsend to add to the repository, but I can't seem to find any option to remove packages.
    anyone had luck with this? is it even possible?

    That functionality is not present in Solaris 11 Express. A kludgey way to do it, though, is to remove the package from the repository's pkg directory, then rebuild the catalog. However, the files belonging to the package will still be around in the files directory. They just won't be accessible.
    -- Alan

  • How to remove iDVD Template Drop Zones?

    Hi! I'm looking to remove all drop zones from iDVD to have a simple black background that could be replaced with a .mov file.
    Essentially, I'd like to remove the 3 drop zones from the "Modern" 7.0 theme.
    Please let me know if this is possible, thanks!
    Alex

    This is from iDVD Help: _Adding or hiding drop zones_
    The drop zones in a theme are a permanent part of the graphics or animations included in that theme. Therefore, you can’t add drop zones, delete individual drop zones, or change the location of drop zones on a menu. You can, however, hide all the drop zones on a menu so that they don’t appear in your final project. This is particularly helpful when you want to create a simple custom theme.
    To hide all drop zones on a menu screen:
    Make sure the menu whose drop zones you want to hide is showing in the iDVD window.
    With your pointer over the menu, press Command-I to open the Menu Info window.
    Deselect the “Show drop zones and related graphics” checkbox.
    The drop zones immediately disappear from the menu, and they do not appear in your final burned project. Some other graphical elements may also be hidden.
    You can always show the drop zones and ornaments again after you’ve hidden them. Simply open the Menu Info window and select the “Show drop zones and related graphics” checkbox.
    To replace the background, open the menu info window. For full directions, go to iDVD Help, and look up _Changing the background image of a DVD menu_.
    I hope this helps.

Maybe you are looking for