updates 2002.06.12

Will Partain <[email protected]> Wed, 12 Jun 2002 14:13:55 +0100
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
OK, I've checked in a bigger-than-usual tranche of stuff,
most of it unexciting.

Please find below (a) the Subjects: off the commit messages
[a bird's eye view of all changes], and (b) ChangeLogs for
the interesting bits.  Please ask if there is anything you
would like explained.

Points of interest:

* I've implemented the death-to-newgrp stuff in the ARK
engine that Jonathan and I have been batting around on
ark-dev.

* The "dchunks" (disk chunks) stuff is substantially
changed, to allow for multiple "replicas" of a dchunk.
This is to allow for "tapeless backups" -- I am already
running some of this now.

* I corrected some of Matt's spelling.

Because of the death-to-newgrp changes in the ARK engine,
please consider this code, uh, *not* production quality.
(It might be, but it's too early to tell.)  Regards,

Will

=== subjects of commit messages =========================

CVS: ARK/ark-site-gen ark-site-gen,1.10,1.11
CVS: ARK/arkbase/ark ChangeLog,1.36,1.37 control.py,1.20,1.21 error.py,1.25,1.26 host.py,1.48,1.49 hosttests.py,1.4,1.5 package.py,1.34,1.35 team.py,1.11,1.12 thing.py,1.57,1.58 utils.py,1.36,1.37
CVS: ARK/webpages ark-conflang.htma,1.15,1.16
CVS: sidai/arkbase/ark ChangeLog,1.8,1.9 dchunk.py,1.22,1.23 user.py,1.17,1.18
CVS: sidai/dchunk ALL.xml,1.3,1.4 external-nfs.xml,1.4,1.5 filesystem.xml,1.3,1.4 ordinary-nfs.xml,1.3,1.4
CVS: sidai/dchunk-utils sync-replica,NONE,1.1 acct-for-diskspace,1.11,1.12
CVS: sidai/findutils-config gen-host-locate-dbs.tmpl,1.7,1.8
CVS: sidai/gen-utils cpustat,1.7,1.8
CVS: sidai/gnu-config config.guess,1.3,1.4 config.sub,1.3,1.4
CVS: sidai/ipfilter-config - New directory
CVS: sidai/ipfilter-config ipf.conf.tmpl,NONE,1.1
CVS: sidai/license-utils chk-expired-licenses,1.2,1.3
CVS: sidai/maillist ALL.xml,1.4,1.5
CVS: sidai/net-config hosts.tmpl,1.8,1.9 resolv.conf.tmpl,1.5,1.6 rpc.tmpl,1.6,1.7 services.tmpl,1.7,1.8
CVS: sidai/net-services-config inetd.conf.tmpl,1.14,1.15 xinetd.conf.tmpl,1.1,1.2
CVS: sidai/package abiword.xml,NONE,1.1 accent.xml,NONE,1.1 ipfilter-config.xml,NONE,1.1 openoffice-bin.xml,NONE,1.1 solaris-rc.d-config.xml,NONE,1.1 valgrind.xml,NONE,1.1 wv.xml,NONE,1.1 ALL.xml,1.27,1.28 ChangeLog,1.19,1.20 acrobat.xml,1.9,1.10 antiword.xml,1.1,1.2 ark-bzip2-unpack.xml,1.3,1.4 ark-cvs-source.xml,1.5,1.6 ark-generated.xml,1.6,1.7 ark-metapkg.xml,1.7,1.8 ark-only-source.xml,1.6,1.7 automount-maps.xml,1.13,1.14 binutils.xml,1.9,1.10 cyrus-sasl.xml,1.1,1.2 etc-exports.xml,1.10,1.11 ghostscript.xml,1.11,1.12 gzip.xml,1.11,1.12 install-only.xml,1.8,1.9 ipfilter.xml,1.1,1.2 lsof.xml,1.10,1.11 mysql.xml,1.5,1.6 null.xml,1.10,1.11 passwd-dist-config.xml,1.3,1.4 patchdiag.xml,1.7,1.8 real-player.xml,1.7,1.8 sun-packages.xml,1.1,1.2 sun-patch-bundle.xml,1.5,1.6 sun-patches.xml,1.7,1.8 sys-cron-config.xml,1.14,1.15 teTeX.xml,1.9,1.10 vim.xml,1.6,1.7 sun-staroffice.xml,1.6,NONE
CVS: sidai/package-utils tidy-ark-areas,1.9,1.10
CVS: sidai/passwd-dist passwdfile.py,1.4,1.5 passwdgen.py,1.1,1.2
CVS: sidai/support-contract-utils chk-expired-support-contracts,1.1,1.2
CVS: sidai/sys-cron-config at.allow.tmpl,1.3,1.4 cron.allow.tmpl,1.3,1.4 root-crontab.tmpl,1.7,1.8
CVS: sidai/sysadmin-utils catman-this-host,1.1,1.2 rotate-pkg-logs,1.3,1.4
CVS: sidai/user-utils chk-expired-users,1.2,1.3
CVS: sidai/webpages sidai-pkg-mgmt.htma,1.9,1.10
CVS: sidai/webware sidaiHost.py,1.7,1.8 sidaiPackage.py,1.4,1.5 sidaiThing.py,1.5,1.6 sidaiThings.py,1.5,1.6 sidaiUtils.py,1.3,1.4 sidaiVendor.py,1.5,1.6

=== ChangeLog for ARK/arkbase/ark =====

+ 2002-06-12  Will Partain  <[email protected]>
+ 
+ 	* thing.py (decode_privileges): Added; we can now use the
+ 	'privileges' attribute of fields to specify both user and group
+ 	(or either one).  This routine does the untangling.
+ 
+ 	* host.py (ArkHost.run): Yet another re-working, this time to get
+ 	rid of all uses of newgrp, which is too unreliable in the face of
+ 	weird-and-wonderful shells out there.  If we aren't the user/group
+ 	we need to be, we simply 'sudo python' and then send along a
+ 	little script that will fix things up for us (and run the code we
+ 	want run).
+ 	
+ 	(ArkHost.host_user_and_group_OK): Added; this commons up code for
+ 	deciding if we're the right user/group/host or not.
+ 
+ 	* error.py (unknownWas): Added; for checking ArkUnknown
+ 	exceptions.  We found out it is possible to get an ArkUnknown for
+ 	a *different* field than what you expected; check 'em.
+ 
+ 	* control.py (_ArkControl.verbose): Make --quiet override verbose
+ 	(which may have come from a .ark_profile, rather boringly).

=== ChangeLog for sidai/package =========================

+ 2002-06-07  Will Partain  <[email protected]>
+ 
+ 	* ALL.xml (verify-source): Add this standard method, between
+ 	get-source (e.g. grab by wget) and assemble-source (unpack
+ 	tarball).  This method might check MD5 checksums.
+ 	
+ 	* ALL.xml (assemble-source): Add pre_ and post_assemble_eval
+ 	params; these make it easy to do things like tweak permissions
+ 	of the unpacked source without much fuss.

=== ChangeLog for sidai/arkbase/ark ======================

+ 2002-06-12  Will Partain  <[email protected]>
+ 
+ 	* dchunk.py: Very substantially reworked to do 'replicas'.
+ 	Both min_xml_version and max_xml_version have been bumped to 2.

= end

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/