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

2011-11-10 Thread Mike Gerdts
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] 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