Mark Huang [Tue, 22 Aug 2006 17:18:32 +0000 (17:18 +0000)]
- fix version number, bump release number, added changelog
Mark Huang [Mon, 21 Aug 2006 21:21:12 +0000 (21:21 +0000)]
merge to HEAD as of 2006-08-21
Mark Huang [Mon, 24 Jul 2006 23:54:49 +0000 (23:54 +0000)]
- merge revision 1.25
date: 2006/07/24 23:53:42; author: mlhuang; state: Exp; lines: +14 -9
- copy when preserving instead of moving, and restore in post as well,
so that you can force upgrade to the same version of myplc
Mark Huang [Mon, 24 Jul 2006 19:35:36 +0000 (19:35 +0000)]
pass CVS tag through to internal myplc build
Mark Huang [Mon, 24 Jul 2006 19:34:43 +0000 (19:34 +0000)]
- merge revision 1.10
date: 2006/07/24 19:30:45; author: mlhuang; state: Exp; lines: +2 -3
- don't require emailAddress in HTTPS certs
Mark Huang [Sat, 22 Jul 2006 19:21:19 +0000 (19:21 +0000)]
- bump version number back down to 0.4 for the branch
Mark Huang [Fri, 21 Jul 2006 20:30:20 +0000 (20:30 +0000)]
- MyPLC 0.4 RC2
Mark Huang [Fri, 21 Jul 2006 20:30:14 +0000 (20:30 +0000)]
- MyPLC 0.4 RC2
Mark Huang [Fri, 21 Jul 2006 16:13:11 +0000 (16:13 +0000)]
- MyPLC 0.4 RC2
Planet-Lab Support [Tue, 18 Jul 2006 22:41:46 +0000 (22:41 +0000)]
This commit was manufactured by cvs2svn to create branch
'myplc-0_4-branch'.
Mark Huang [Thu, 6 Jul 2006 20:50:19 +0000 (20:50 +0000)]
- oops, accidentally bumped version number
Mark Huang [Thu, 6 Jul 2006 18:21:02 +0000 (18:21 +0000)]
merge changes from HEAD
Planet-Lab Support [Thu, 6 Jul 2006 17:56:44 +0000 (17:56 +0000)]
This commit was manufactured by cvs2svn to create branch
'myplc-0_4-branch'.
Mark Huang [Thu, 6 Jul 2006 14:56:34 +0000 (14:56 +0000)]
- bump version number on branch to 0.4
Planet-Lab Support [Wed, 28 Jun 2006 21:34:19 +0000 (21:34 +0000)]
This commit was manufactured by cvs2svn to create branch
'myplc-0_4-branch'.
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.
Mark Huang [Mon, 10 Apr 2006 18:18:14 +0000 (18:18 +0000)]
- Regenerate the main configuration file from default values overlaid
with site-specific values. If there are no site-specific values for
the DB and maint passwords, this has the side effect of regenerating
them on every restart, but that's probably a good thing.
Mark Huang [Mon, 10 Apr 2006 16:00:47 +0000 (16:00 +0000)]
- set PGPORT
Mark Huang [Mon, 10 Apr 2006 15:53:49 +0000 (15:53 +0000)]
- only source configuration if it exists to avoid bootstrap warning
Mark Huang [Fri, 7 Apr 2006 17:12:52 +0000 (17:12 +0000)]
- check if /plc is mounted before trying to unmount it
Mark Huang [Fri, 7 Apr 2006 17:12:25 +0000 (17:12 +0000)]
- stop plc services before upgrading
Mark Huang [Fri, 7 Apr 2006 04:28:16 +0000 (04:28 +0000)]
- simplify/correct certificate generation
Mark Huang [Fri, 7 Apr 2006 04:27:56 +0000 (04:27 +0000)]
- plc_daemon: return failure from exec
Mark Huang [Fri, 7 Apr 2006 03:36:04 +0000 (03:36 +0000)]
- whenever we generate a new self signed certificate, replace the
private key as well, otherwise the old private key may be subject to
rpm upgrade
Mark Huang [Thu, 6 Apr 2006 21:51:59 +0000 (21:51 +0000)]
- split up guest.init (/etc/init.d/plc inside the chroot) into
separate steps installed in /etc/plc.d/ for scalability
Mark Huang [Thu, 6 Apr 2006 14:06:07 +0000 (14:06 +0000)]
- fix /plc/data declaration
Mark Huang [Thu, 6 Apr 2006 03:33:41 +0000 (03:33 +0000)]
Remove ISO and USB images, which take up >100MB but only take a
couple of seconds to generate at first boot.