I am using zonemgr1.8.1 and am getting a "too many arguments" error. The Blastwave package is not installing because the gpg key is not available. I am not sure if the two are related.
I am creating the zone using the following (in a small script): zonemgr -a add -n $zonename -z "/export/zone" \ -P "$rootpassword" -R "/root|/usr/bin/bash" \ -I "$ipaddress|e1000g0|25|$zonename" \ -s "basic|lock" -S ssh \ -C "/etc/default/login" \ -C "/etc/default/su" \ -C "/etc/nsswitch.conf" \ -C "/etc/resolv.conf" \ -C "/root/zonecfgs/chgpwd.sh|/root/chgpwd.sh" \ -G "expect" \ -X "mkdir /export/home" \ -X "useradd -d /export/home/$zonename -m -s /usr/bin/bash $zonename" \ -X "/root/chgpwd.sh $zonename $zonepassword" \ -C "/etc/ssh/sshd_config" & The install proceeds successfully. Towards the end, I get: ... Booting zone for the first time. Waiting for first boot tasks to complete. Updating netmask information. ... Making sure Blastwave's pkg-get progam is instlled. The installation log for blastwave packages is stored in /root/.zonemgr/cswlog15115 /opt/csw/bin/zonemgr: line 3484: [: too many arguments Install md5 package in zone sampbase in order to properly verify Blastwave packages... Installing package "expect" in zone sampbase... Running "mkdir /export/home" in zone sampbase... Running "useradd -d /export/home/sampbase -m -s /usr/bin/bash sampbase" in zone sampbase... 64 blocks Running "/root/chgpwd.sh sampbase password" in zone sampbase... /sbin/sh: /root/chgpwd.sh: not found Zone sampbase is complete and ready to use. ---===---=== -bash-3.00# zlogin -C sampbase [Connected to zone 'sampbase' console] sampbase console login: root Password: May 15 23:08:55 sampbase login: ROOT LOGIN /dev/console Sun Microsystems Inc. SunOS 5.11 snv_63 October 2007 -bash-3.00# find /opt -name expect -bash-3.00# -bash-3.00# pkg-get -i expect WARNING: no catalog file for site ibiblio.org Updating catalog file first Getting catalog... --23:17:58-- http://ibiblio.org/pub/packages/solaris/csw/unstable/i386/5.11/catalog => `catalog' Resolving ibiblio.org... 22.214.171.124 Connecting to ibiblio.org|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 199,114 (194K) [text/plain] 100%[====================================>] 199,114 143.85K/s 23:17:59 (143.45 KB/s) - `catalog' saved [199114/199114] gpg: Signature made Mon May 14 20:30:55 2007 EDT using DSA key ID E12E9D2F gpg: Can't check signature: public key not found ERROR: catalog failed signature check (status 2) You need to install the public key, either manually, or automatically through a keyserver. For keyserver use, try one of echo keyserver search.keyserver.net >>/.gnupg/options echo keyserver search.keyserver.net >>/.gnupg/gpg.conf For manual install of the key (recommended), try wget http://www.blastwave.org/mirrors.html gpg --import mirrors.html Catalog failed signature verify. Quitting. -bash-3.00# ---===---=== -bash-3.00# wget http://www.blastwave.org/mirrors.html --23:19:48-- http://www.blastwave.org/mirrors.html => `mirrors.html' Resolving www.blastwave.org... 188.8.131.52 Connecting to www.blastwave.org|184.108.40.206|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 18,937 (18K) [text/html] 100%[====================================>] 18,937 110.08K/s 23:19:48 (109.93 KB/s) - `mirrors.html' saved [18937/18937] -bash-3.00# gpg --import mirrors.html gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key E12E9D2F: public key "Distribution Manager <[EMAIL PROTECTED]>" imported gpg: Total number processed: 1 gpg: imported: 1 gpg: no ultimately trusted keys found -bash-3.00# pkg-get -i expect ... Installation of <CSWexpect> was successful. -bash-3.00# find /opt -name expect /opt/csw/bin/expect Thanks Manish This message posted from opensolaris.org _______________________________________________ zones-discuss mailing list firstname.lastname@example.org