Re: [zones-discuss] Zonemgr 2.0.6 docs corrections

2009-10-05 Thread Brad Diggs
Thanks for the update Dennis.  All the docs pertain to 1.8.1 from 2-3  
years
ago.  I am in the process of refreshing all of the docs for 2.0.6 and  
will get

those out their as soon as I can.

Brad
Brad Diggs
Principal Field Technologist

Sun Microsystems, Inc.
Phone x52957/+1 972-992-0002
Mail bradley.di...@sun.com
Tech Blog http://TheZoneManager.com
Personal Blog http://BradDiggs.com
http://www.linkedin.com/in/braddiggs
http://www.facebook.com/BradDiggs

On Oct 4, 2009, at 10:42 PM, Dennis Clarke wrote:


I was looking through your docs and landed upon :

 http://opensolaris.org/os/project/zonemgr/files/zonemgr-v1.4.pdf

We need to fix page 46.

You need :

wget http://blastwave.network.com/csw/pkgutil_`/sbin/uname -p`.pkg

followed by

zlogin m1 “yes | pkgadd -d. ./pkgutil_`/sbin/uname -p`.pkg”
zlogin ml /opt/csw/bin/pkgutil --catalog
zlogin m1 “yes | /opt/csw/bin/pkgutil --install mysql5”

in fact .. all of page 46 needs a rewrite.

page 47 you need to point to

   http://www.blastwave.org/pkg/packages.ftd

There is no such URL as http://blastwave.org/packages.

Also, the IPS repo at http://blastwave.Network.COM:1 will get a
refresh just as soon as I get an opportunity.

--
Dennis Clarke
dcla...@opensolaris.ca  - Email related to the open source Solaris
dcla...@blastwave.org   - Email related to open source for Solaris


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


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

Re: [zones-discuss] s10 brand Phase I webrev

2009-10-05 Thread Jordan Vaughan

On 10/ 1/09 05:40 AM, Jerry Jelinek wrote:

Edward Pilatowicz wrote:

i'm not done yet, but i've attached what i've got so far.


Ed,

Thanks for your comments.  I'll start to work through
these while we're waiting for the rest of your input and
respond if there is anything we're not going to address.

Thank again,
Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Hi Jerry,

I have a few nits and questions aside from Ed's.

Thanks,
Jordan


--
usr/src/lib/brand/solaris10/cmd/s10_automount.sh
usr/src/lib/brand/solaris10/cmd/s10_automountd.sh

Shouldn't the scripts' parameters be included at the end of the last
line (the exec command) as in s10_isaexec_wrapper.sh?

--
usr/src/lib/brand/solaris10/librtld_db/common/solaris10_librtld_db.c

The ps_plog() invocation in s10_ldb_fini32() displays lx_ldb_fini when
it should be s10_ldb_fini (right?).  According to the diff, the sn1
version also uses lx_ldb_fini.

--
usr/src/uts/common/brand/solaris10/s10_brand.c

165-171: Are we going to retain the lx brand comments?  I remember
asking this two or three months ago, but someone answered that we wanted
it to look the same as in the lx brand file from which the comment
originated.  Why?

740-743: I could've simplified this a bit by combining both cases.
These lines can be condensed to

case CT_TGET:
case CT_TSET:
return (ctfs_ioctl(rval, fdes, cmd, arg));

927-928: I could've improved this comment by stating that the path of
the *dynamic linker* is the second parameter of s10_native_exec().

1260-1261,1286-1287,1313,etc.: Couldn't we make arg1 a zoneid_t, arg2 an
int, arg3 a char *, and arg4 a size_t and eliminate some of the casts in
s10_zone() (as well as some of the automatic variables, e.g., buf and
bufsize)?

1298: Shouldn't we move this truss point below the switch block?  As it
currently stands, if a process issues SYS_zone to get an attribute of
the global zone other than ZONE_ATTR_NAME and ZONE_ATTR_BRAND, then
truss would report two SYS_zone syscalls instead of one.

--
usr/src/lib/brand/solaris10/s10_support/s10_support.c

289-296: Isn't this whole loop simply looking for SUNWcakr's pkginfo
file in the zone?  If so, then looping through the zone's /var/sadm/pkg
directory's entries for SUNWcakr is superfluous: get_ku_patchlist()
could simply construct the path
$ZONEPATH/root/var/sadm/pkg/SUNWcakr/pkginfo and stat() will fail if it
doesn't exist.  (Are we planning to examine other packages for patch lists?)

get_image_emul_version(): I agree with Ed that get_image_emul_version()
is superfluous.  Now that I've thought about it,
$ZONEROOT/usr/lib/brand/solaris10/version should be sufficient for the
brand to determine whether it can host the associated S10C.  All we need
to do is hard-code the maximum version number supported by the brand
(for example, as a preprocessor constant), fetch the version number
stored in $ZONEROOT/usr/lib/brand/solaris10/version (or zero if the file
does not exist), check whether the latter exceeds the former, and set
the brand's emulation number to that stored in
$ZONEROOT/usr/lib/brand/solaris10/version.

467,471-472,476-477: The first conditional can be changed to argc != 3
and the other two can be deleted along with their invocations of usage().

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


Re: [zones-discuss] s10 brand Phase I webrev

2009-10-05 Thread Jerry Jelinek

Jordan Vaughan wrote:

I have a few nits and questions aside from Ed's.


Jordan,

Thanks for looking this over.  I'll address these once
I finish going through Ed's comments.

Thanks again,
Jerry
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] svnserve

2009-10-05 Thread The Defiant
Hi All,

Another newbie question. I've just configured a seprate contaniner to serve as 
a seprate svn repository and configured svnserve as the default svn server. 
Everything works fine, except svnserve wont autostart after rebooting ;(

Can someone point me to adding svnserve to autostart. I guess we would be using 
SMF service and not the autostart.sh

Thx in advance!
-- 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org