myplc.git
17 years ago- fix version number, bump release number, added changelog myplc-0_4-branch myplc-0_4-branch
Mark Huang [Tue, 22 Aug 2006 17:18:32 +0000 (17:18 +0000)]
- fix version number, bump release number, added changelog

17 years agomerge to HEAD as of 2006-08-21
Mark Huang [Mon, 21 Aug 2006 21:21:12 +0000 (21:21 +0000)]
merge to HEAD as of 2006-08-21

17 years ago- merge revision 1.25
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

17 years agopass CVS tag through to internal myplc build
Mark Huang [Mon, 24 Jul 2006 19:35:36 +0000 (19:35 +0000)]
pass CVS tag through to internal myplc build

17 years ago- merge revision 1.10
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

17 years ago- bump version number back down to 0.4 for the branch
Mark Huang [Sat, 22 Jul 2006 19:21:19 +0000 (19:21 +0000)]
- bump version number back down to 0.4 for the branch

17 years ago- MyPLC 0.4 RC2
Mark Huang [Fri, 21 Jul 2006 20:30:20 +0000 (20:30 +0000)]
- MyPLC 0.4 RC2

17 years ago- MyPLC 0.4 RC2
Mark Huang [Fri, 21 Jul 2006 20:30:14 +0000 (20:30 +0000)]
- MyPLC 0.4 RC2

17 years ago- MyPLC 0.4 RC2
Mark Huang [Fri, 21 Jul 2006 16:13:11 +0000 (16:13 +0000)]
- MyPLC 0.4 RC2

17 years agoThis commit was manufactured by cvs2svn to create branch
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'.

17 years ago- oops, accidentally bumped version number
Mark Huang [Thu, 6 Jul 2006 20:50:19 +0000 (20:50 +0000)]
- oops, accidentally bumped version number

17 years agomerge changes from HEAD
Mark Huang [Thu, 6 Jul 2006 18:21:02 +0000 (18:21 +0000)]
merge changes from HEAD

17 years agoThis commit was manufactured by cvs2svn to create branch
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'.

17 years ago- bump version number on branch to 0.4
Mark Huang [Thu, 6 Jul 2006 14:56:34 +0000 (14:56 +0000)]
- bump version number on branch to 0.4

17 years agoThis commit was manufactured by cvs2svn to create branch
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'.

17 years ago- The self-signed root CA keypair and cert should *not* be used to sign
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

17 years agoallow apache to read PLC_MA_SA_SSL_KEY so it can make user certs
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

17 years ago- slightly modified default openssl.cnf; used for generating CSRs in plc.d/ssl
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

17 years agoregenerate
Mark Huang [Fri, 23 Jun 2006 21:49:17 +0000 (21:49 +0000)]
regenerate

17 years ago- add additional steps to quickstart
Mark Huang [Fri, 23 Jun 2006 21:49:10 +0000 (21:49 +0000)]
- add additional steps to quickstart

17 years ago- move /etc/planetlab/plc_api generation to plc.d/api and api-config
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

17 years ago- generate up to 5 sets of SSL certs: a root CA keypair/cert used to
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

17 years ago- add ssl_email function for extracting the emailAddress from an X.509 cert
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

17 years ago- add script to bootstrap the db
Mark Huang [Fri, 23 Jun 2006 21:41:42 +0000 (21:41 +0000)]
- add script to bootstrap the db

17 years ago- change this script to one whose primary jobs is to generate the API
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

17 years ago- install db-config script
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

17 years ago- move most of the old api-config functionality here
Mark Huang [Fri, 23 Jun 2006 20:33:44 +0000 (20:33 +0000)]
- move most of the old api-config functionality here

17 years ago- move most functionality to better named "db-config" script
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

17 years ago- add PlanetLabAuth to MyPLC installation
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

17 years agobe verbose
Mark Huang [Fri, 23 Jun 2006 20:29:22 +0000 (20:29 +0000)]
be verbose

17 years ago- fix nm_net descriptions (bps instead of kbps)
Mark Huang [Tue, 30 May 2006 15:06:20 +0000 (15:06 +0000)]
- fix nm_net descriptions (bps instead of kbps)

17 years ago- install /usr/bin/dns-config script
Mark Huang [Fri, 26 May 2006 19:59:24 +0000 (19:59 +0000)]
- install /usr/bin/dns-config script

17 years ago- move DNS configuration/update to separate Python script that runs
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

17 years ago- handle case when there are no nodes
Mark Huang [Wed, 24 May 2006 03:08:55 +0000 (03:08 +0000)]
- handle case when there are no nodes

17 years agoregenerate
Mark Huang [Tue, 23 May 2006 18:15:51 +0000 (18:15 +0000)]
regenerate

17 years ago- enable local DNS server by default, set primary DNS server for MyPLC
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

17 years agoenable local DNS server that can provide minimal forward DNS resolution for MyPLC...
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

17 years ago- write node hostnames to /etc/plc_hosts
Mark Huang [Tue, 23 May 2006 18:09:21 +0000 (18:09 +0000)]
- write node hostnames to /etc/plc_hosts

17 years ago- only mount or unmount if starting or stopping everything
Mark Huang [Tue, 23 May 2006 18:00:21 +0000 (18:00 +0000)]
- only mount or unmount if starting or stopping everything

17 years agovacuum the DB every night
Mark Huang [Mon, 22 May 2006 21:12:17 +0000 (21:12 +0000)]
vacuum the DB every night

17 years ago- write all nodes' IP addresses into /etc/hosts in preparation for
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

17 years agoreview confusing w/W stuff, always consolidate
Thierry Parmentelat [Fri, 19 May 2006 07:55:27 +0000 (07:55 +0000)]
review confusing w/W stuff, always consolidate

17 years ago- fix empty repository check; bash lazily evaluates wildcards, can't use
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

17 years agoscript to update node package repository and sign packages
Mark Huang [Thu, 18 May 2006 17:36:39 +0000 (17:36 +0000)]
script to update node package repository and sign packages

17 years ago- can't figure out how to parse escaped colons in gpg --with-colons
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.

17 years ago- deleting UIDs is not the right thing to do; instead, add a new UID if
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)

17 years ago- update GPG UID name/email/comment fields
Mark Huang [Wed, 17 May 2006 20:47:59 +0000 (20:47 +0000)]
- update GPG UID name/email/comment fields

17 years ago- fix /etc/hosts generation
Mark Huang [Tue, 16 May 2006 17:09:34 +0000 (17:09 +0000)]
- fix  /etc/hosts generation

17 years ago- build FC4 based MyPLC by default
Mark Huang [Mon, 15 May 2006 21:13:42 +0000 (21:13 +0000)]
- build FC4 based MyPLC by default

17 years ago- hard-code all default PlanetLabConf entries; i.e., do not require
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

17 years ago- make gpg public key readable
Mark Huang [Mon, 8 May 2006 18:16:33 +0000 (18:16 +0000)]
- make gpg public key readable

17 years agoupdate web page
Mark Huang [Thu, 4 May 2006 14:26:25 +0000 (14:26 +0000)]
update web page

17 years ago- fix an intermittent startup problem: the only way we can be really
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

17 years ago- fix comment
Mark Huang [Tue, 2 May 2006 15:09:08 +0000 (15:09 +0000)]
- fix comment

17 years ago- restore default configuration to cache
Mark Huang [Tue, 2 May 2006 14:58:47 +0000 (14:58 +0000)]
- restore default configuration to cache

17 years agoDoes not exit after w/W, so as to allow for a restart to be issued afterwards
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

17 years agoUpon Mark's request, added a note in the QuickStart section,
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

18 years agofix typo
Mark Huang [Fri, 28 Apr 2006 20:16:14 +0000 (20:16 +0000)]
fix typo

18 years ago- also make PHP page by default
Mark Huang [Fri, 28 Apr 2006 20:16:04 +0000 (20:16 +0000)]
- also make PHP page by default

18 years ago- fix typo
Mark Huang [Fri, 28 Apr 2006 20:15:15 +0000 (20:15 +0000)]
- fix typo

18 years agouse localhost.localdomain instead of just localhost everywhere for consistency
Mark Huang [Fri, 28 Apr 2006 20:15:00 +0000 (20:15 +0000)]
use localhost.localdomain instead of just localhost everywhere for consistency

18 years ago- fix typo
Mark Huang [Thu, 27 Apr 2006 21:50:00 +0000 (21:50 +0000)]
- fix typo

18 years ago- don't source shell configuration in /etc/plc.d/functions, which is
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

18 years agoregenerate
Mark Huang [Mon, 24 Apr 2006 22:15:42 +0000 (22:15 +0000)]
regenerate

18 years ago- add variable list as an appendix
Mark Huang [Mon, 24 Apr 2006 22:14:56 +0000 (22:14 +0000)]
- add variable list as an appendix

18 years ago- fix description of boot_address
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

18 years ago- start and stop local sendmail daemon
Mark Huang [Mon, 24 Apr 2006 15:49:32 +0000 (15:49 +0000)]
- start and stop local sendmail daemon

18 years agoadded ability to consolidate def_config.xml and site.xml into plc_config.xml
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

18 years agooops, the previous (unintended) check in was wrong and did not work
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

18 years agoaccording to Mark's explanation
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

18 years agosupports for separate mount/umount/mountstatus operations
Thierry Parmentelat [Tue, 18 Apr 2006 15:39:35 +0000 (15:39 +0000)]
supports for separate mount/umount/mountstatus operations

18 years agoperforms service plc stop before uninstalling
Thierry Parmentelat [Tue, 18 Apr 2006 15:39:34 +0000 (15:39 +0000)]
performs service plc stop before uninstalling

18 years ago(*) defines new method locate_varname used by plc-config-tty
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

18 years agoFirst draft
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

18 years agoonly parse executable scripts in /etc/plc.d
Mark Huang [Mon, 17 Apr 2006 17:04:37 +0000 (17:04 +0000)]
only parse executable scripts in /etc/plc.d

18 years agoupdate default root user name
Mark Huang [Mon, 17 Apr 2006 16:48:25 +0000 (16:48 +0000)]
update default root user name

18 years ago- update default root username
Mark Huang [Mon, 17 Apr 2006 16:47:59 +0000 (16:47 +0000)]
- update default root username

18 years ago- API now accepts @localhost.localdomain as an e-mail domain, use it
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

18 years agogenerate php for the website
Mark Huang [Thu, 13 Apr 2006 15:11:39 +0000 (15:11 +0000)]
generate php for the website

18 years ago- MyPLC User's Guide
Mark Huang [Wed, 12 Apr 2006 21:21:36 +0000 (21:21 +0000)]
- MyPLC User's Guide

18 years agoallow stepwise start/stop
Mark Huang [Wed, 12 Apr 2006 19:30:47 +0000 (19:30 +0000)]
allow stepwise start/stop

18 years ago- fix a couple of types
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

18 years ago- install DTD
Mark Huang [Wed, 12 Apr 2006 17:59:10 +0000 (17:59 +0000)]
- install DTD

18 years agoDTD for configuration file
Mark Huang [Wed, 12 Apr 2006 17:59:06 +0000 (17:59 +0000)]
DTD for configuration file

18 years ago- build with FC4
Mark Huang [Mon, 10 Apr 2006 21:10:08 +0000 (21:10 +0000)]
- build with FC4
- bump version number

18 years agokernel-vserver is intended for the vserver-reference, but serves the
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.

18 years ago- restore default configuration by just removing plc_config.xml and
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

18 years ago- must read /etc/planetlab/plc_config.xml, otherwise changes will always
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!

18 years ago- implement Thierry's suggestion of installing default values in
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.

18 years ago- Regenerate the main configuration file from default values overlaid
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.

18 years ago- set PGPORT
Mark Huang [Mon, 10 Apr 2006 16:00:47 +0000 (16:00 +0000)]
- set PGPORT

18 years ago- only source configuration if it exists to avoid bootstrap warning
Mark Huang [Mon, 10 Apr 2006 15:53:49 +0000 (15:53 +0000)]
- only source configuration if it exists to avoid bootstrap warning

18 years ago- check if /plc is mounted before trying to unmount it
Mark Huang [Fri, 7 Apr 2006 17:12:52 +0000 (17:12 +0000)]
- check if /plc is mounted before trying to unmount it

18 years ago- stop plc services before upgrading
Mark Huang [Fri, 7 Apr 2006 17:12:25 +0000 (17:12 +0000)]
- stop plc services before upgrading

18 years ago- simplify/correct certificate generation
Mark Huang [Fri, 7 Apr 2006 04:28:16 +0000 (04:28 +0000)]
- simplify/correct certificate generation

18 years ago- plc_daemon: return failure from exec
Mark Huang [Fri, 7 Apr 2006 04:27:56 +0000 (04:27 +0000)]
- plc_daemon: return failure from exec

18 years ago- whenever we generate a new self signed certificate, replace the
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

18 years ago- split up guest.init (/etc/init.d/plc inside the chroot) into
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

18 years ago- fix /plc/data declaration
Mark Huang [Thu, 6 Apr 2006 14:06:07 +0000 (14:06 +0000)]
- fix /plc/data declaration

18 years agoRemove ISO and USB images, which take up >100MB but only take a
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.