Re: [zones-discuss] Old publishers stopping zoneadm attach -u in Solaris 11?

2011-11-09 Thread John D Groenveld
In message 4ebb2534.80...@ianshome.com, Ian Collins writes:
I have removed all reference to them in the global zone:
# pkg publisher
PUBLISHER TYPE STATUS   URI
solaris   origin   online   
http://pkg.oracle.com/solaris/release/

IIRC I had to remove pkg.opensolaris.org from 
ZONE_ROOT/var/pkg/cfg_cache

John
groenv...@acm.org

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Old publishers stopping zoneadm attach -u in Solaris 11?

2011-11-09 Thread Ian Collins

On 11/10/11 02:40 PM, John D Groenveld wrote:

In message4ebb2534.80...@ianshome.com, Ian Collins writes:

I have removed all reference to them in the global zone:
# pkg publisher
PUBLISHER TYPE STATUS   URI
solaris   origin   online
http://pkg.oracle.com/solaris/release/

IIRC I had to remove pkg.opensolaris.org from
ZONE_ROOT/var/pkg/cfg_cache

That file/directory is no longer present.

--
Ian.

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Old publishers stopping zoneadm attach -u in Solaris 11?

2011-11-09 Thread Edward Pilatowicz
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.)

ed

On Thu, Nov 10, 2011 at 02:13:24PM +1300, Ian Collins wrote:
 I'm trying to reattach my zones on a newly upgraded Solaris 11
 system.  They have all been through the dsconvert phase and are
 currently detached.

 zoneadm attach -u is failing with to references to stale publishers
 (from a log):

 *
 [Thursday, November 10, 2011 02:09:18 PM NZDT] Pinning datasets
 under rpool/zoneRoot/tait_ldap1
 
 [Thursday, November 10, 2011 02:09:18 PM NZDT] Converting detached
 zone boot environment 'zbe-6'.
 [Thursday, November 10, 2011 02:09:18 PM NZDT] Unmounting
 /zoneRoot/tait_ldap1/root
 [Thursday, November 10, 2011 02:09:19 PM NZDT]   setting ZFS
 property zoned=on on rpool/zoneRoot/tait_ldap1/rpool
 [Thursday, November 10, 2011 02:09:19 PM NZDT]   setting ZFS
 property canmount=noauto on rpool/zoneRoot/tait_ldap1/rpool/ROOT
 [Thursday, November 10, 2011 02:09:20 PM NZDT]   setting ZFS
 property mountpoint=legacy on rpool/zoneRoot/tait_ldap1/rpool/ROOT
 [Thursday, November 10, 2011 02:09:21 PM NZDT] Mounting boot
 environment in rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
 /zoneRoot/tait_ld
 ap1/root (including child datasets)
 [Thursday, November 10, 2011 02:09:21 PM NZDT] Preparing to mount
 rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
 /zoneRoot/tait_ldap1/root
 [Thursday, November 10, 2011 02:09:21 PM NZDT] Mounting
 rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
 /zoneRoot/tait_ldap1/root/ with ZFS t
 emporary mount
 [Thursday, November 10, 2011 02:09:21 PM NZDT] Attaching...
 [Thursday, November 10, 2011 02:09:21 PM NZDT] existing
 [Thursday, November 10, 2011 02:09:21 PM NZDT] Installing: Using
 existing zone boot environment
 [Thursday, November 10, 2011 02:09:21 PM NZDT] Mounting boot
 environment in rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
 /zoneRoot/tait_ld
 ap1/root (including child datasets)
 [Thursday, November 10, 2011 02:09:21 PM NZDT] Preparing to mount
 rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6 at
 /zoneRoot/tait_ldap1/root
 [Thursday, November 10, 2011 02:09:21 PM NZDT]   Sanity Check:
 Passed.  Looks like a Solaris system.
 [Thursday, November 10, 2011 02:09:21 PM NZDT]   Zone BE root
 dataset: rpool/zoneRoot/tait_ldap1/rpool/ROOT/zbe-6
 [Thursday, November 10, 2011 02:09:22 PM NZDT]
 Cache: Using /var/pkg/publisher.
 [Thursday, November 10, 2011 02:09:22 PM NZDT] Updating image format
 pkg: 2/4 catalogs successfully updated:

 Unable to contact valid package repository:
 http://pkg.opensolaris.org/contrib
 Encountered the following error(s):
 Unable to parse repository response

 Invalid pkg(5) response from http://pkg.opensolaris.org/release:
 Attempting operation 'versions' version 0:
 VaueError while parsing response

 [Thursday, November 10, 2011 02:09:43 PM NZDT] ERROR: Updating image
 format failed
 ***

 Is the failure due to the dead repository?

 I have removed all reference to them in the global zone:
 # pkg publisher
 PUBLISHER TYPE STATUS   URI
 solaris   origin   online
 http://pkg.oracle.com/solaris/release/

 --
 Ian.

 ___
 zones-discuss mailing list
 zones-discuss@opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Old publishers stopping zoneadm attach -u in Solaris 11?

2011-11-09 Thread Ian Collins

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?

--
Ian.

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Expanding the set of packages installed into a Zone?

2011-11-09 Thread Ian Collins

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?


--
Ian.

___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Expanding the set of packages installed into a Zone?

2011-11-09 Thread Ian Collins

On 11/10/11 08:32 PM, 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?

Sorry to reply to my self, but I see this was added in build 167 and is 
there in Solaris 11.


How about Solaris Express systems?

--
Ian.

___
zones-discuss mailing list
zones-discuss@opensolaris.org