Mark Huang [Tue, 18 Jul 2006 21:01:08 +0000 (21:01 +0000)]
- use cvs- instead of cvs.
Mark Huang [Tue, 18 Jul 2006 20:06:51 +0000 (20:06 +0000)]
- remove generated bootmanager.sh script to avoid .rpmnew
- remove generated yum-arch/createrepo files to avoid .rpmnew
Mark Huang [Tue, 18 Jul 2006 19:10:36 +0000 (19:10 +0000)]
- myplc-devel: Make sure /cvs is never upgraded once installed by giving
it a unique name (/data/cvs.%{version}-%{release}). If installing,
make a hard-linked copy of /data/cvs.%{version}-%{release} to
/data/cvs.
Mark Huang [Tue, 18 Jul 2006 18:54:06 +0000 (18:54 +0000)]
- don't leave internal build behind
Mark Huang [Tue, 18 Jul 2006 17:37:53 +0000 (17:37 +0000)]
- fix default fedora_url
Mark Huang [Tue, 18 Jul 2006 16:06:11 +0000 (16:06 +0000)]
- run myplc build inside myplc-devel inside a new login shell, so that
MAKEFLAGS is reset and the environment is clean
Mark Huang [Mon, 17 Jul 2006 21:45:42 +0000 (21:45 +0000)]
- add myplc-devel subpackage
- Old versions of myplc used to ship with a bootstrapped database and
/etc/planetlab directory. Including generated files in the manifest
was dangerous; if /plc/data/var/lib/pgsql/data/base/1/16676 changed
names from one RPM build to another, it would be rpmsaved and thus
effectively deleted. Now we do not include these files in the
manifest. However, to avoid deleting these files in the process of
upgrading from one of these old versions of myplc, we must back up
the database and /etc/planetlab and restore them after the old
version has been uninstalled in %triggerpostun.
- add changelog
Mark Huang [Mon, 17 Jul 2006 21:31:31 +0000 (21:31 +0000)]
- split build.sh into two pieces: build_devel.sh, which builds
myplc-devel, and build.sh, which builds myplc itself (optionally
inside of the myplc-devel environment just built)
- add plc_devel_config.xml, the configuration for myplc-devel
Mark Huang [Mon, 17 Jul 2006 21:30:33 +0000 (21:30 +0000)]
- support being called as either /etc/init.d/plc or /etc/init.d/plc-devel
- pass "reload" onto guest plc initscript
Mark Huang [Mon, 17 Jul 2006 21:29:43 +0000 (21:29 +0000)]
- do not generate sysconfig files
Mark Huang [Mon, 17 Jul 2006 21:29:21 +0000 (21:29 +0000)]
- support installing standard package groups
Mark Huang [Mon, 17 Jul 2006 21:28:55 +0000 (21:28 +0000)]
- If the CA certificate does not exist, assume that the certificate is self-signed.
Mark Huang [Mon, 17 Jul 2006 16:51:45 +0000 (16:51 +0000)]
no longer need this since we do not generate root CA certs anymore
Mark Huang [Tue, 11 Jul 2006 20:57:25 +0000 (20:57 +0000)]
push plc_mail_enabled to /etc/planetlab/plc_api for now
Mark Huang [Mon, 10 Jul 2006 21:10:21 +0000 (21:10 +0000)]
- move step-specific initialization to appropriate steps
- since steps may now alter the configuration, regenerate config files
after each step (if necessary)
Mark Huang [Mon, 10 Jul 2006 21:09:24 +0000 (21:09 +0000)]
- fix postgresql startup failure when bootstrapping
- set default pgsqluser password here
Mark Huang [Mon, 10 Jul 2006 21:08:46 +0000 (21:08 +0000)]
- generate old /etc/planetlab/site_constants.php here
Mark Huang [Mon, 10 Jul 2006 21:08:06 +0000 (21:08 +0000)]
- generate old /etc/planetlab/plc_db file here
- set default maint password and ip sources here
Mark Huang [Mon, 10 Jul 2006 21:06:16 +0000 (21:06 +0000)]
- think i finally understand ssl now
- allow CA to be configured for each ssl certificate set
- never do any root CA stuff. this is outside the scope of myplc. myplc
now only generates self-signed certs (but supports replacement of the
self-signed certs with real certs signed by another CA, as long as the
CA is specified)
- self-sign the MA/SA SSL certificate (and by extension, the MA/SA API
certificate)
Mark Huang [Mon, 10 Jul 2006 21:05:37 +0000 (21:05 +0000)]
- move ssl_cname and ssl_email to plc.d/ssl since this is the only place
it's ever used anyway
Mark Huang [Mon, 10 Jul 2006 21:04:17 +0000 (21:04 +0000)]
- think i finally understand ssl now
- allow CA to be configured for each ssl certificate set
- never do any root CA stuff. this is outside the scope of myplc. myplc
now only generates self-signed certs (but supports replacement of the
self-signed certs with real certs signed by another CA, as long as the
CA is specified)
Mark Huang [Thu, 6 Jul 2006 17:57:03 +0000 (17:57 +0000)]
- fix License tag
Mark Huang [Thu, 6 Jul 2006 17:56:43 +0000 (17:56 +0000)]
PlanetLab software license and copyright
Mark Huang [Thu, 6 Jul 2006 17:44:45 +0000 (17:44 +0000)]
- support non-RH distros by checking for /sbin/chkconfig before using
Mark Huang [Thu, 6 Jul 2006 17:43:52 +0000 (17:43 +0000)]
- support non-RH distros by providing success() and failure() stubs
- fix mountstatus() to use mounted()
Mark Huang [Thu, 6 Jul 2006 14:56:05 +0000 (14:56 +0000)]
- bump version number on HEAD to 0.5
Mark Huang [Wed, 28 Jun 2006 21:34:18 +0000 (21:34 +0000)]
- The self-signed root CA keypair and cert should *not* be used to sign
the API, web, and boot server HTTPS certs. These HTTPS certs should be
treated as totally separate from the MA/SA API certificate (which is not
used for anything related to HTTPS).
- bump all expirations to 10 years
Aaron Klingaman [Wed, 28 Jun 2006 20:44:17 +0000 (20:44 +0000)]
allow apache to read PLC_MA_SA_SSL_KEY so it can make user certs
Mark Huang [Fri, 23 Jun 2006 22:05:39 +0000 (22:05 +0000)]
- slightly modified default openssl.cnf; used for generating CSRs in plc.d/ssl
Mark Huang [Fri, 23 Jun 2006 21:49:17 +0000 (21:49 +0000)]
regenerate
Mark Huang [Fri, 23 Jun 2006 21:49:10 +0000 (21:49 +0000)]
- add additional steps to quickstart
Mark Huang [Fri, 23 Jun 2006 21:48:41 +0000 (21:48 +0000)]
- move /etc/planetlab/plc_api generation to plc.d/api and api-config
- plc.d scripts are now more verbose; lock down file permissions on
/var/log/boot.log
Mark Huang [Fri, 23 Jun 2006 21:47:18 +0000 (21:47 +0000)]
- generate up to 5 sets of SSL certs: a root CA keypair/cert used to
sign the other 4 certs, an MA/SA keypair/cert used for signing slice
tickets and other docs, and www/boot/api keypairs/certs
- /etc/planetlab/ssl is used to store the OpenSSL state; probably need
to think of a better long-term solution
Mark Huang [Fri, 23 Jun 2006 21:41:56 +0000 (21:41 +0000)]
- add ssl_email function for extracting the emailAddress from an X.509 cert
Mark Huang [Fri, 23 Jun 2006 21:41:42 +0000 (21:41 +0000)]
- add script to bootstrap the db
Mark Huang [Fri, 23 Jun 2006 21:41:31 +0000 (21:41 +0000)]
- change this script to one whose primary jobs is to generate the API
configuration file, and generate the API certificate
Mark Huang [Fri, 23 Jun 2006 21:40:46 +0000 (21:40 +0000)]
- install db-config script
- install openssl.cnf helper file for generating SSL certs
Mark Huang [Fri, 23 Jun 2006 20:33:44 +0000 (20:33 +0000)]
- move most of the old api-config functionality here
Mark Huang [Fri, 23 Jun 2006 20:33:28 +0000 (20:33 +0000)]
- move most functionality to better named "db-config" script
- generate API certificate for new federation auth functions
- generate backward-compatible /etc/planetlab/plc_api here instead of in
guest.init since we need to have generated the root CA certificate
first in plc.d/ssl before we know what its emailAddress is
Mark Huang [Fri, 23 Jun 2006 20:31:09 +0000 (20:31 +0000)]
- add PlanetLabAuth to MyPLC installation
- add root CA variables
- add MA/SA variables
- clarify descriptions of various certificates
- fix types of boot_ssl.crt and boot_ssl.key
Mark Huang [Fri, 23 Jun 2006 20:29:22 +0000 (20:29 +0000)]
be verbose
Mark Huang [Tue, 30 May 2006 15:06:20 +0000 (15:06 +0000)]
- fix nm_net descriptions (bps instead of kbps)
Mark Huang [Fri, 26 May 2006 19:59:24 +0000 (19:59 +0000)]
- install /usr/bin/dns-config script
Mark Huang [Fri, 26 May 2006 19:57:30 +0000 (19:57 +0000)]
- move DNS configuration/update to separate Python script that runs
both at startup and periodically, so that /etc/plc_hosts and dnsmasq
are kept up-to-date
Mark Huang [Wed, 24 May 2006 03:08:55 +0000 (03:08 +0000)]
- handle case when there are no nodes
Mark Huang [Tue, 23 May 2006 18:15:51 +0000 (18:15 +0000)]
regenerate
Mark Huang [Tue, 23 May 2006 18:14:47 +0000 (18:14 +0000)]
- enable local DNS server by default, set primary DNS server for MyPLC
to 127.0.0.1
- add optional _IP parameters for each server so that the local DNS
server can provide resolution for MyPLC itself
- require dnsmasq
Mark Huang [Tue, 23 May 2006 18:10:08 +0000 (18:10 +0000)]
enable local DNS server that can provide minimal forward DNS resolution for MyPLC and its nodes
Mark Huang [Tue, 23 May 2006 18:09:21 +0000 (18:09 +0000)]
- write node hostnames to /etc/plc_hosts
Mark Huang [Tue, 23 May 2006 18:00:21 +0000 (18:00 +0000)]
- only mount or unmount if starting or stopping everything
Mark Huang [Mon, 22 May 2006 21:12:17 +0000 (21:12 +0000)]
vacuum the DB every night
Mark Huang [Fri, 19 May 2006 22:22:15 +0000 (22:22 +0000)]
- write all nodes' IP addresses into /etc/hosts in preparation for
dnsmasq support
Thierry Parmentelat [Fri, 19 May 2006 07:55:27 +0000 (07:55 +0000)]
review confusing w/W stuff, always consolidate
Mark Huang [Thu, 18 May 2006 22:58:20 +0000 (22:58 +0000)]
- fix empty repository check; bash lazily evaluates wildcards, can't use
empty string test to test if expansion is empty
Mark Huang [Thu, 18 May 2006 17:36:39 +0000 (17:36 +0000)]
script to update node package repository and sign packages
Mark Huang [Thu, 18 May 2006 17:34:10 +0000 (17:34 +0000)]
- can't figure out how to parse escaped colons in gpg --with-colons
output. sigh. just blindly add the uid when updating, gpg will detect
2+ duplicates and it doesn't really matter anyway.
Mark Huang [Wed, 17 May 2006 22:52:09 +0000 (22:52 +0000)]
- deleting UIDs is not the right thing to do; instead, add a new UID if
appropriate if any of the components of the UID change
- install GPG key in the RPM database as a valid signing key (for
yum-arch)
Mark Huang [Wed, 17 May 2006 20:47:59 +0000 (20:47 +0000)]
- update GPG UID name/email/comment fields
Mark Huang [Tue, 16 May 2006 17:09:34 +0000 (17:09 +0000)]
- fix /etc/hosts generation
Mark Huang [Mon, 15 May 2006 21:13:42 +0000 (21:13 +0000)]
- build FC4 based MyPLC by default
Mark Huang [Tue, 9 May 2006 19:52:01 +0000 (19:52 +0000)]
- hard-code all default PlanetLabConf entries; i.e., do not require
access to Princeton to bootstrap them, and don't depend on current
Princeton PLC setup
Mark Huang [Mon, 8 May 2006 18:16:33 +0000 (18:16 +0000)]
- make gpg public key readable
Mark Huang [Thu, 4 May 2006 14:26:25 +0000 (14:26 +0000)]
update web page
Mark Huang [Tue, 2 May 2006 23:52:50 +0000 (23:52 +0000)]
- fix an intermittent startup problem: the only way we can be really
sure that postgres is up, is by trying to access it
Mark Huang [Tue, 2 May 2006 15:09:08 +0000 (15:09 +0000)]
- fix comment
Mark Huang [Tue, 2 May 2006 14:58:47 +0000 (14:58 +0000)]
- restore default configuration to cache
Thierry Parmentelat [Tue, 2 May 2006 10:55:36 +0000 (10:55 +0000)]
Does not exit after w/W, so as to allow for a restart to be issued afterwards
Thierry Parmentelat [Tue, 2 May 2006 10:43:40 +0000 (10:43 +0000)]
Upon Mark's request, added a note in the QuickStart section,
warning about having SELinux enabled on fc4 and fc5
pdf output updated as well
Mark Huang [Fri, 28 Apr 2006 20:16:14 +0000 (20:16 +0000)]
fix typo
Mark Huang [Fri, 28 Apr 2006 20:16:04 +0000 (20:16 +0000)]
- also make PHP page by default
Mark Huang [Fri, 28 Apr 2006 20:15:15 +0000 (20:15 +0000)]
- fix typo
Mark Huang [Fri, 28 Apr 2006 20:15:00 +0000 (20:15 +0000)]
use localhost.localdomain instead of just localhost everywhere for consistency
Mark Huang [Thu, 27 Apr 2006 21:50:00 +0000 (21:50 +0000)]
- fix typo
Mark Huang [Tue, 25 Apr 2006 21:18:19 +0000 (21:18 +0000)]
- don't source shell configuration in /etc/plc.d/functions, which is
also sourced by the guest initscript, which tries to regenerate the
configuration and will pick up stale values
Mark Huang [Mon, 24 Apr 2006 22:15:42 +0000 (22:15 +0000)]
regenerate
Mark Huang [Mon, 24 Apr 2006 22:14:56 +0000 (22:14 +0000)]
- add variable list as an appendix
Mark Huang [Mon, 24 Apr 2006 18:04:25 +0000 (18:04 +0000)]
- fix description of boot_address
- clarify default values of support_address and boot_address
- add slice_address template
Mark Huang [Mon, 24 Apr 2006 15:49:32 +0000 (15:49 +0000)]
- start and stop local sendmail daemon
Thierry Parmentelat [Thu, 20 Apr 2006 13:22:43 +0000 (13:22 +0000)]
added ability to consolidate def_config.xml and site.xml into plc_config.xml
Thierry Parmentelat [Thu, 20 Apr 2006 09:01:00 +0000 (09:01 +0000)]
oops, the previous (unintended) check in was wrong and did not work
the 'start' function was undefined and so the system never took off
The usage line is reviewed as well
Thierry Parmentelat [Thu, 20 Apr 2006 08:59:09 +0000 (08:59 +0000)]
according to Mark's explanation
performs 'service plc stop' inside the conditional within %preun
Thierry Parmentelat [Tue, 18 Apr 2006 15:39:35 +0000 (15:39 +0000)]
supports for separate mount/umount/mountstatus operations
Thierry Parmentelat [Tue, 18 Apr 2006 15:39:34 +0000 (15:39 +0000)]
performs service plc stop before uninstalling
Thierry Parmentelat [Tue, 18 Apr 2006 15:32:48 +0000 (15:32 +0000)]
(*) defines new method locate_varname used by plc-config-tty
(*) output file opened in 'w' mode rather than 'r+'
(*) output_shell method tkes an extra argument, a toggle for comment printing
Thierry Parmentelat [Tue, 18 Apr 2006 15:29:36 +0000 (15:29 +0000)]
First draft
Interactive script for setting up myplc config
The locally-changed settings are stored, in a separate xml file
located in /etc/planetlab/configs/site.xml
type ? at the prompt for help
Mark Huang [Mon, 17 Apr 2006 17:04:37 +0000 (17:04 +0000)]
only parse executable scripts in /etc/plc.d
Mark Huang [Mon, 17 Apr 2006 16:48:25 +0000 (16:48 +0000)]
update default root user name
Mark Huang [Mon, 17 Apr 2006 16:47:59 +0000 (16:47 +0000)]
- update default root username
Mark Huang [Mon, 17 Apr 2006 16:47:38 +0000 (16:47 +0000)]
- API now accepts @localhost.localdomain as an e-mail domain, use it
instead of test.planet-lab.org for all default e-mail addresses
Mark Huang [Thu, 13 Apr 2006 15:11:39 +0000 (15:11 +0000)]
generate php for the website
Mark Huang [Wed, 12 Apr 2006 21:21:36 +0000 (21:21 +0000)]
- MyPLC User's Guide
Mark Huang [Wed, 12 Apr 2006 19:30:47 +0000 (19:30 +0000)]
allow stepwise start/stop
Mark Huang [Wed, 12 Apr 2006 17:59:45 +0000 (17:59 +0000)]
- fix a couple of types
- add header
- specify xml encoding
- use right dtd
Mark Huang [Wed, 12 Apr 2006 17:59:10 +0000 (17:59 +0000)]
- install DTD
Mark Huang [Wed, 12 Apr 2006 17:59:06 +0000 (17:59 +0000)]
DTD for configuration file
Mark Huang [Mon, 10 Apr 2006 21:10:08 +0000 (21:10 +0000)]
- build with FC4
- bump version number
Mark Huang [Mon, 10 Apr 2006 21:09:52 +0000 (21:09 +0000)]
kernel-vserver is intended for the vserver-reference, but serves the
same useful purpose for MyPLC, namely, to Provide: kernel without
actually installing anything.
Mark Huang [Mon, 10 Apr 2006 21:09:32 +0000 (21:09 +0000)]
- restore default configuration by just removing plc_config.xml and
bootstrap.xml after shutting down
Mark Huang [Mon, 10 Apr 2006 21:09:02 +0000 (21:09 +0000)]
- must read /etc/planetlab/plc_config.xml, otherwise changes will always
be lost!
Mark Huang [Mon, 10 Apr 2006 18:19:17 +0000 (18:19 +0000)]
- implement Thierry's suggestion of installing default values in
/etc/planetlab/default_config.xml, and merging them with site-specific
values at runtime.