Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: On Fri, Oct 07, 2011 at 12:23:30PM -0700, Michael Speer wrote: All, I have two questions based on what I have been seeing where I don't see packages of interest being installed into a zone I create when the package exists in the global zone. 1) Where is the list of packages kept that will be installed into new zone? How does this list get modified? by default packages that get installed into a zone are specified in the default AI manifest used to install zones. you can find that manifest here: /usr/share/auto_install/manifest/zone_default.xml I can't see that file (or the auto_instal directory) on any of my systems. Has it moved? That file exists in Solaris 11 as part of the auto-install-common package: $ pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 With Solaris 11 Express, the list of packages was hard coded into scripts under /usr/lib/brand/ipkg. What are you running? -- Mike Gerdts Solaris Core OS / Zones ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Thu, 10 Nov 2011 14:39:41 +0100, Mike Gerdts mike.ger...@oracle.com wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: On Fri, Oct 07, 2011 at 12:23:30PM -0700, Michael Speer wrote: All, I have two questions based on what I have been seeing where I don't see packages of interest being installed into a zone I create when the package exists in the global zone. 1) Where is the list of packages kept that will be installed into new zone? How does this list get modified? by default packages that get installed into a zone are specified in the default AI manifest used to install zones. you can find that manifest here: /usr/share/auto_install/manifest/zone_default.xml I can't see that file (or the auto_instal directory) on any of my systems. Has it moved? That file exists in Solaris 11 as part of the auto-install-common package: $ pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 With Solaris 11 Express, the list of packages was hard coded into scripts under /usr/lib/brand/ipkg. What are you running? fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 osoldev.batschul./.= pkg info -r auto-install Name: system/install/auto-install Summary: Automated Installer Client Components Description: AI Client Components Category: System/Administration and Configuration State: Not installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.2.1482 Packaging Date: Wed Oct 19 12:26:41 2011 Size: 42.20 kB FMRI: pkg://solaris/system/install/auto-install@0.5.11,5.11-0.175.0.0.0.2.1482:20111019T122641Z -- frankB Solaris Core OS Development, Zones Team ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On 11/10/11 13:42, Frank Batschulat wrote: On Thu, 10 Nov 2011 14:39:41 +0100, Mike Gerdts mike.ger...@oracle.com wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: On Fri, Oct 07, 2011 at 12:23:30PM -0700, Michael Speer wrote: All, I have two questions based on what I have been seeing where I don't see packages of interest being installed into a zone I create when the package exists in the global zone. 1) Where is the list of packages kept that will be installed into new zone? How does this list get modified? by default packages that get installed into a zone are specified in the default AI manifest used to install zones. you can find that manifest here: /usr/share/auto_install/manifest/zone_default.xml I can't see that file (or the auto_instal directory) on any of my systems. Has it moved? That file exists in Solaris 11 as part of the auto-install-common package: $ pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 With Solaris 11 Express, the list of packages was hard coded into scripts under /usr/lib/brand/ipkg. What are you running? fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 hmm, search says it is there locally, what does pkg info say ( drop the -r ) Enda osoldev.batschul./.= pkg info -r auto-install Name: system/install/auto-install Summary: Automated Installer Client Components Description: AI Client Components Category: System/Administration and Configuration State: Not installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.2.1482 Packaging Date: Wed Oct 19 12:26:41 2011 Size: 42.20 kB FMRI: pkg://solaris/system/install/auto-install@0.5.11,5.11-0.175.0.0.0.2.1482:20111019T122641Z ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Thu 10 Nov 2011 at 02:42PM, Frank Batschulat wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) That statement is worrisome. I think, however, it is not correct. :) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 osoldev.batschul./.= pkg info -r auto-install Here you asked the one from the repo (-r == remote). I get the same results if I use the command you used. Without -r things look right. Name: system/install/auto-install Summary: Automated Installer Client Components Description: AI Client Components Category: System/Administration and Configuration State: Not installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.2.1482 Packaging Date: Wed Oct 19 12:26:41 2011 Size: 42.20 kB FMRI: pkg://solaris/system/install/auto-install@0.5.11,5.11-0.175.0.0.0.2.1482:20111019T122641Z -- Mike Gerdts Solaris Core OS / Zones ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Thu, 10 Nov 2011 14:50:25 +0100, Enda o'Connor - Oracle Ireland - Software Engineer enda.ocon...@oracle.com wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 hmm, search says it is there locally, what does pkg info say ( drop the -r ) I've deliberately chosen -r because the package is not installed locally Enda osoldev.batschul./.= pkg info -r auto-install Name: system/install/auto-install Summary: Automated Installer Client Components Description: AI Client Components Category: System/Administration and Configuration State: Not installed ^^ Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.2.1482 Packaging Date: Wed Oct 19 12:26:41 2011 Size: 42.20 kB FMRI: pkg://solaris/system/install/auto-install@0.5.11,5.11-0.175.0.0.0.2.1482:20111019T122641Z -- frankB Solaris Core OS Development, Zones Team ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On 11/10/11 13:53, Mike Gerdts wrote: On Thu 10 Nov 2011 at 02:42PM, Frank Batschulat wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) That statement is worrisome. I think, however, it is not correct. :) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 osoldev.batschul./.= pkg info -r auto-install Here you asked the one from the repo (-r == remote). I get the same results if I use the command you used. Without -r things look right. not clear why the -r does this, as i see the same behaviour with -r? With -r, match packages based on the newest available versions, retrieving information for packages not currently installed (if necessary) from the repositories of the image's configured publishers. At least one pack- age must be specified when using this option. Without -r, only installed packages are displayed by default. Name: system/install/auto-install Summary: Automated Installer Client Components Description: AI Client Components Category: System/Administration and Configuration State: Not installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.2.1482 Packaging Date: Wed Oct 19 12:26:41 2011 Size: 42.20 kB FMRI: pkg://solaris/system/install/auto-install@0.5.11,5.11-0.175.0.0.0.2.1482:20111019T122641Z ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Thu, 10 Nov 2011 14:53:06 +0100, Mike Gerdts mike.ger...@oracle.com wrote: On Thu 10 Nov 2011 at 02:42PM, Frank Batschulat wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) That statement is worrisome. I think, however, it is not correct. :) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 osoldev.batschul./.= pkg info -r auto-install Here you asked the one from the repo (-r == remote). I get the same results if I use the command you used. Without -r things look right. dont think that looks right: osoldev.batschul./.= pkg info auto-install pkg: info: no packages matching the following patterns you specified are installed on the system. Try specifying -r to query remotely: auto-install ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On 11/10/11 13:52, Frank Batschulat wrote: On Thu, 10 Nov 2011 14:50:25 +0100, Enda o'Connor - Oracle Ireland - Software Engineer enda.ocon...@oracle.com wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 hmm, search says it is there locally, what does pkg info say ( drop the -r ) I've deliberately chosen -r because the package is not installed locally I'm unlcear abot this -r as i see same, so what does pkg info auto-install say, might be some obscure thing IPS works, or maybe a bug even :-) Enda osoldev.batschul./.= pkg info -r auto-install Name: system/install/auto-install Summary: Automated Installer Client Components Description: AI Client Components Category: System/Administration and Configuration State: Not installed ^^ Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.2.1482 Packaging Date: Wed Oct 19 12:26:41 2011 Size: 42.20 kB FMRI: pkg://solaris/system/install/auto-install@0.5.11,5.11-0.175.0.0.0.2.1482:20111019T122641Z ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Thu 10 Nov 2011 at 02:53PM, Frank Batschulat wrote: On Thu, 10 Nov 2011 14:53:06 +0100, Mike Gerdts mike.ger...@oracle.com wrote: On Thu 10 Nov 2011 at 02:42PM, Frank Batschulat wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) That statement is worrisome. I think, however, it is not correct. :) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 osoldev.batschul./.= pkg info -r auto-install Here you asked the one from the repo (-r == remote). I get the same results if I use the command you used. Without -r things look right. dont think that looks right: osoldev.batschul./.= pkg info auto-install pkg: info: no packages matching the following patterns you specified are installed on the system. Try specifying -r to query remotely: auto-install Frank, I think you are short on coffee. The package name is auto-install-common, not auto-install. FWIW, I made the exact same mistake before I sent my last message. Found in my scrollback buffer: $ pkg list auto-install pkg list: no packages matching 'auto-install' installed $ pkg list auto-install-common NAME (PUBLISHER) VERSIONIFO system/install/auto-install/auto-install-common 0.5.11-0.175.0.0.0.2.1482 i-- I have a really good excuse - my coffee was still brewing. :) -- Mike Gerdts Solaris Core OS / Zones ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Thu, 10 Nov 2011 15:49:57 +0100, Mike Gerdts mike.ger...@oracle.com wrote: On Thu 10 Nov 2011 at 02:53PM, Frank Batschulat wrote: On Thu, 10 Nov 2011 14:53:06 +0100, Mike Gerdts mike.ger...@oracle.com wrote: On Thu 10 Nov 2011 at 02:42PM, Frank Batschulat wrote: fwiw, on 175b I do have the file but not the package installed which claims to deliver it ;-) That statement is worrisome. I think, however, it is not correct. :) osoldev.batschul./.= ls -la /usr/share/auto_install/manifest/zone_default.xml -r--r--r-- 1 root sys 2367 Sep 23 11:54 /usr/share/auto_install/manifest/zone_default.xml osoldev.batschul./.= pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUE PACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 osoldev.batschul./.= pkg info -r auto-install Here you asked the one from the repo (-r == remote). I get the same results if I use the command you used. Without -r things look right. dont think that looks right: osoldev.batschul./.= pkg info auto-install pkg: info: no packages matching the following patterns you specified are installed on the system. Try specifying -r to query remotely: auto-install Frank, I think you are short on coffee. The package name is auto-install-common, not auto-install. FWIW, I made the exact same mistake before I sent my last message. Found in my scrollback buffer: $ pkg list auto-install pkg list: no packages matching 'auto-install' installed $ pkg list auto-install-common NAME (PUBLISHER) VERSIONIFO system/install/auto-install/auto-install-common 0.5.11-0.175.0.0.0.2.1482 i-- I have a really good excuse - my coffee was still brewing. :) indeed Mike! you are absolutely right: osoldev.batschul./.= pkg info auto-install-common Name: system/install/auto-install/auto-install-common Summary: AI common components Description: Automated Installer common components Category: System/Administration and Configuration State: Installed Publisher: solaris Version: 0.5.11 Build Release: 5.11 Branch: 0.175.0.0.0.2.1482 Packaging Date: Wed Oct 19 12:26:39 2011 Size: 1002.22 kB FMRI: pkg://solaris/system/install/auto-install/auto-install-common@0.5.11,5.11-0.175.0.0.0.2.1482:20111019T122639Z ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Old publishers stopping zoneadm attach -u in Solaris 11?
On Thu 10 Nov 2011 at 03:39PM, Ian Collins wrote: On 11/10/11 03:07 PM, Edward Pilatowicz wrote: you should safely be able to delete that publisher from the zones. (in s11, zones inherit publishers from the global zone so they don't actually need any local publisher configuration.) How would I do that form outside of the zone? pkg -R zoneroot unset-publisher ... -- Mike Gerdts Solaris Core OS / Zones ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On 11/11/11 02:39 AM, Mike Gerdts wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: On Fri, Oct 07, 2011 at 12:23:30PM -0700, Michael Speer wrote: All, I have two questions based on what I have been seeing where I don't see packages of interest being installed into a zone I create when the package exists in the global zone. 1) Where is the list of packages kept that will be installed into new zone? How does this list get modified? by default packages that get installed into a zone are specified in the default AI manifest used to install zones. you can find that manifest here: /usr/share/auto_install/manifest/zone_default.xml I can't see that file (or the auto_instal directory) on any of my systems. Has it moved? That file exists in Solaris 11 as part of the auto-install-common package: $ pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 With Solaris 11 Express, the list of packages was hard coded into scripts under /usr/lib/brand/ipkg. What are you running? Solaris 11 Express with the latest updates from the support repo. I'm getting an odd problem creating zones and I wanted to check the package list: Package State Update Phase 45/45 Image State Update Phase 2/2 Installing: Additional Packages (output follows) Creating Planpkg: 'SUNWbip' matches multiple packages SUNWbip compatibility/packages/SUNWbip ERROR: failed to install package -- Ian. ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On 11/11/11 08:01 AM, Ian Collins wrote: On 11/11/11 02:39 AM, Mike Gerdts wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: by default packages that get installed into a zone are specified in the default AI manifest used to install zones. you can find that manifest here: /usr/share/auto_install/manifest/zone_default.xml I can't see that file (or the auto_instal directory) on any of my systems. Has it moved? That file exists in Solaris 11 as part of the auto-install-common package: $ pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 With Solaris 11 Express, the list of packages was hard coded into scripts under /usr/lib/brand/ipkg. What are you running? Solaris 11 Express with the latest updates from the support repo. I'm getting an odd problem creating zones and I wanted to check the package list: Package State Update Phase 45/45 Image State Update Phase 2/2 Installing: Additional Packages (output follows) Creating Planpkg: 'SUNWbip' matches multiple packages SUNWbip compatibility/packages/SUNWbip ERROR: failed to install package I removed SUNWbip from /usr/lib/brand/ipkg/pkgcreatezone and the zone installed OK. I'll add the package in the zone later. Someone should have a look at a proper fix! -- Ian. ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Fri 11 Nov 2011 at 08:41AM, Ian Collins wrote: On 11/11/11 08:01 AM, Ian Collins wrote: On 11/11/11 02:39 AM, Mike Gerdts wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: by default packages that get installed into a zone are specified in the default AI manifest used to install zones. you can find that manifest here: /usr/share/auto_install/manifest/zone_default.xml I can't see that file (or the auto_instal directory) on any of my systems. Has it moved? That file exists in Solaris 11 as part of the auto-install-common package: $ pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 With Solaris 11 Express, the list of packages was hard coded into scripts under /usr/lib/brand/ipkg. What are you running? Solaris 11 Express with the latest updates from the support repo. I'm getting an odd problem creating zones and I wanted to check the package list: Package State Update Phase 45/45 Image State Update Phase 2/2 Installing: Additional Packages (output follows) Creating Planpkg: 'SUNWbip' matches multiple packages SUNWbip compatibility/packages/SUNWbip ERROR: failed to install package I removed SUNWbip from /usr/lib/brand/ipkg/pkgcreatezone and the zone installed OK. I'll add the package in the zone later. Someone should have a look at a proper fix! I believe that it is already fixed in pkg://solaris/system/zones/brand/ipkg@0.5.11,5.11-0.151.0.1.13:20111025T185520Z I think (but do not know) that you should be able to fix the problem you are seeing with: # pkg update pkg://solaris/system/zones/brand/ipkg Based on the dependencies in that package, it looks like that will also update pkg:/package/pkg to 0.5.11-0.151.0.1.13 as well. I'm sure there's a documented way that is a bit more customer friendly, but there's another way that is much more fun... Here begins a short tour through some of the bowels of packaging. Most of what I discuss below is not an interface. It may change at any time. First, I went to: http://pkg.oracle.com/solaris/release/ I clicked advanced search, entered ipkg (because I knew this was the tail end of the package name) in the search field, selected Show all versions, then clicked the Advanced Search button. It showed me a list of packages, starting with: system/zones/brand/ipkg@0.5.11,5.11-0.151.0.1.13:20111025T185520Z which has a timestamp of October 25 (20111025). That looked promising. I clicked on the manifest and found the payload hash for pkgcreatezone from this line: file e95f13b8e67663890f420fc80814b62e473773e0 chash=51dc959c9d234ed9b2c33897a81c84bc86a77178 group=bin mode=0755 owner=root path=usr/lib/brand/ipkg/pkgcreatezone pkg.csize=6642 pkg.size=19838 That told me that I could find the new pkgcreatezone at http://pkg.oracle.com/solaris/release/file/1/e95f13b8e67663890f420fc80814b62e473773e0. Obvious, right? :) I saved that file, then used gzcat to see that all the package names are now fully qualified. Also, SUNWbip is no longer in the list. If SUNWbip were still needed, fully qualifying the name (e.g. pkg:/SUNWbip) would have done the trick. -- Mike Gerdts Solaris Core OS / Zones ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On 11/11/11 09:20 AM, Mike Gerdts wrote: On Fri 11 Nov 2011 at 08:41AM, Ian Collins wrote: Solaris 11 Express with the latest updates from the support repo. I'm getting an odd problem creating zones and I wanted to check the package list: Package State Update Phase 45/45 Image State Update Phase 2/2 Installing: Additional Packages (output follows) Creating Planpkg: 'SUNWbip' matches multiple packages SUNWbip compatibility/packages/SUNWbip ERROR: failed to install package I removed SUNWbip from /usr/lib/brand/ipkg/pkgcreatezone and the zone installed OK. I'll add the package in the zone later. Someone should have a look at a proper fix! I believe that it is already fixed in pkg://solaris/system/zones/brand/ipkg@0.5.11,5.11-0.151.0.1.13:20111025T185520Z I think (but do not know) that you should be able to fix the problem you are seeing with: # pkg update pkg://solaris/system/zones/brand/ipkg Based on the dependencies in that package, it looks like that will also update pkg:/package/pkg to 0.5.11-0.151.0.1.13 as well. Odd, I had done a pkg update to get the latest bits, so pfexec pkg update pkg://solaris/system/zones/brand/ipkg No updates available for this image. The problem occurred both before and after the update. Oh well, I was only adding the zone to make sure the upgrade to Solaris 11 worked OK on supported Express system! Play time... I'm sure there's a documented way that is a bit more customer friendly, but there's another way that is much more fun... Here begins a short tour through some of the bowels of packaging. Most of what I discuss below is not an interface. It may change at any time. First, I went to: http://pkg.oracle.com/solaris/release/ I clicked advanced search, entered ipkg (because I knew this was the tail end of the package name) in the search field, selected Show all versions, then clicked the Advanced Search button. It showed me a list of packages, starting with: system/zones/brand/ipkg@0.5.11,5.11-0.151.0.1.13:20111025T185520Z which has a timestamp of October 25 (20111025). That looked promising. I clicked on the manifest and found the payload hash for pkgcreatezone from this line: file e95f13b8e67663890f420fc80814b62e473773e0 chash=51dc959c9d234ed9b2c33897a81c84bc86a77178 group=bin mode=0755 owner=root path=usr/lib/brand/ipkg/pkgcreatezone pkg.csize=6642 pkg.size=19838 That told me that I could find the new pkgcreatezone at http://pkg.oracle.com/solaris/release/file/1/e95f13b8e67663890f420fc80814b62e473773e0. Obvious, right? :) I saved that file, then used gzcat to see that all the package names are now fully qualified. Also, SUNWbip is no longer in the list. If SUNWbip were still needed, fully qualifying the name (e.g. pkg:/SUNWbip) would have done the trick. I really should have read all those caiman-discuss mails! -- Ian. ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] Expanding the set of packages installed into a Zone?
On Fri, Nov 11, 2011 at 08:41:44AM +1300, Ian Collins wrote: On 11/11/11 08:01 AM, Ian Collins wrote: On 11/11/11 02:39 AM, Mike Gerdts wrote: On Thu 10 Nov 2011 at 08:32PM, Ian Collins wrote: On 10/10/11 07:20 PM, Edward Pilatowicz wrote: by default packages that get installed into a zone are specified in the default AI manifest used to install zones. you can find that manifest here: /usr/share/auto_install/manifest/zone_default.xml I can't see that file (or the auto_instal directory) on any of my systems. Has it moved? That file exists in Solaris 11 as part of the auto-install-common package: $ pkg search /usr/share/auto_install/manifest/zone_default.xml INDEX ACTION VALUEPACKAGE path file usr/share/auto_install/manifest/zone_default.xml pkg:/system/install/auto-install/auto-install-common@0.5.11-0.175.0.0.0.2.1482 With Solaris 11 Express, the list of packages was hard coded into scripts under /usr/lib/brand/ipkg. What are you running? Solaris 11 Express with the latest updates from the support repo. I'm getting an odd problem creating zones and I wanted to check the package list: Package State Update Phase 45/45 Image State Update Phase 2/2 Installing: Additional Packages (output follows) Creating Planpkg: 'SUNWbip' matches multiple packages SUNWbip compatibility/packages/SUNWbip ERROR: failed to install package I removed SUNWbip from /usr/lib/brand/ipkg/pkgcreatezone and the zone installed OK. I'll add the package in the zone later. Someone should have a look at a proper fix! this was a known bug: 17806 cannot create local zone on snv_156 after 158 was added to repository https://defect.opensolaris.org/bz/show_bug.cgi?id=17806 it was fixed in snv_156. the problem only happens if your using s11 express and you have a repo with S11 in it. a fix for this issue has not been back published to s11 express. ed ___ zones-discuss mailing list zones-discuss@opensolaris.org