myplc.git
17 years agoputs root-user's homedir (/root) under /data
Thierry Parmentelat [Fri, 18 Aug 2006 14:35:52 +0000 (14:35 +0000)]
puts root-user's homedir (/root) under /data

17 years agocosmetic:display short revision
Thierry Parmentelat [Fri, 18 Aug 2006 14:34:45 +0000 (14:34 +0000)]
cosmetic:display short revision

17 years agoshorten import log message - line was too long for the pdf version
Thierry Parmentelat [Fri, 18 Aug 2006 10:41:26 +0000 (10:41 +0000)]
shorten import log message - line was too long for the pdf version

17 years agoplc-config-tty as the preferred config method - regenerate
Thierry Parmentelat [Fri, 18 Aug 2006 09:53:25 +0000 (09:53 +0000)]
plc-config-tty as the preferred config method - regenerate

17 years agobug fix, bail out not handled when changing a single var
Thierry Parmentelat [Fri, 18 Aug 2006 09:31:55 +0000 (09:31 +0000)]
bug fix, bail out not handled when changing a single var

17 years agore-worked, bug fixes, new functions, documention in the user-doc underway
Thierry Parmentelat [Thu, 17 Aug 2006 16:17:18 +0000 (16:17 +0000)]
re-worked, bug fixes, new functions, documention in the user-doc underway

17 years ago- fix bind umount of fedora mirror during bootstrap build
Mark Huang [Wed, 16 Aug 2006 21:44:48 +0000 (21:44 +0000)]
- fix bind umount of fedora mirror during bootstrap build

17 years ago- fix bind mount of fedora mirror during bootstrap build
Mark Huang [Wed, 16 Aug 2006 15:03:30 +0000 (15:03 +0000)]
- fix bind mount of fedora mirror during bootstrap build

17 years agochange PLC_DEVEL_FEDORA_URL to default specified in documentation
Mark Huang [Wed, 16 Aug 2006 01:27:16 +0000 (01:27 +0000)]
change PLC_DEVEL_FEDORA_URL to default specified in documentation

17 years agoinstalls plc-config-tty on the root image
Thierry Parmentelat [Fri, 11 Aug 2006 18:34:59 +0000 (18:34 +0000)]
installs plc-config-tty on the root image

17 years agore-ordered for more user-friendly/straightforward presentation
Thierry Parmentelat [Fri, 11 Aug 2006 18:32:52 +0000 (18:32 +0000)]
re-ordered for more user-friendly/straightforward presentation
- 2 main sections, myplc and myplc-devel
- section myplc describes the case where all runs OK
  and gives implementation details (startup sequence & files
  installed) later on

17 years agodummy 1.12 for cathing up with the xml numbering
Thierry Parmentelat [Fri, 11 Aug 2006 18:29:09 +0000 (18:29 +0000)]
dummy 1.12 for cathing up with the xml numbering

17 years agodummy 1.11 for cathing up with the xml numbering
Thierry Parmentelat [Fri, 11 Aug 2006 18:28:44 +0000 (18:28 +0000)]
dummy 1.11 for cathing up with the xml numbering

17 years agoregenerate from xml 1.12
Thierry Parmentelat [Fri, 11 Aug 2006 16:49:45 +0000 (16:49 +0000)]
regenerate from xml 1.12

17 years agoadd a note on firewall config in the requirements section
Thierry Parmentelat [Fri, 11 Aug 2006 16:48:07 +0000 (16:48 +0000)]
add a note on firewall config in the requirements section

17 years agointroduces rpm variable build_devel, to easily skip building myplc-devel
Thierry Parmentelat [Fri, 11 Aug 2006 13:13:54 +0000 (13:13 +0000)]
introduces rpm variable build_devel, to easily skip building myplc-devel

17 years agoregenerate from myplc.xml 1.11
Thierry Parmentelat [Fri, 11 Aug 2006 12:42:08 +0000 (12:42 +0000)]
regenerate from myplc.xml 1.11

17 years ago* extended overview to introduce myplc-devel
Thierry Parmentelat [Fri, 11 Aug 2006 12:41:08 +0000 (12:41 +0000)]
* extended overview to introduce myplc-devel
* new second section 'requirements' describing status of SElinux

17 years agoclean also cleans up php
Thierry Parmentelat [Fri, 11 Aug 2006 12:39:20 +0000 (12:39 +0000)]
clean also cleans up php

17 years agomyplc startup now always regenerates configuration at least once
Mark Huang [Wed, 9 Aug 2006 21:38:42 +0000 (21:38 +0000)]
myplc startup now always regenerates configuration at least once

17 years agodistinguish between the tag used to import sources, and the tag used to build, so...
Mark Huang [Wed, 9 Aug 2006 21:38:06 +0000 (21:38 +0000)]
distinguish between the tag used to import sources, and the tag used to build, so that the date gets appended to rpm release versions correctly in nightly myplc builds

17 years ago- always regenerate /etc/planetlab/plc_config.xml from templates and
Mark Huang [Tue, 8 Aug 2006 23:19:52 +0000 (23:19 +0000)]
- always regenerate /etc/planetlab/plc_config.xml from templates and
  current values when starting or stopping all steps

17 years ago- restore dropped code which considers default_config.xml and
Mark Huang [Tue, 8 Aug 2006 17:19:11 +0000 (17:19 +0000)]
- restore dropped code which considers default_config.xml and
  plc_config.dtd for upgrade

17 years agoadd support for a -d option, for configuring myplc-devel
Thierry Parmentelat [Tue, 8 Aug 2006 16:59:23 +0000 (16:59 +0000)]
add support for a -d option, for configuring myplc-devel
adds options -v (version) and -h (help) while at it
minor bug fixes

todo: check for the configs/ subdir in <wherever>/etc/planetlab

17 years ago- don't merge and remove .rpmsave in %post since that defeats the
Mark Huang [Mon, 7 Aug 2006 21:56:00 +0000 (21:56 +0000)]
- don't merge and remove .rpmsave in %post since that defeats the
  purpose of what we're trying to do (preserve files that will be
  deleted during an upgrade)

17 years ago- copy when preserving instead of moving, and restore in post as well,
Mark Huang [Mon, 24 Jul 2006 23:53:42 +0000 (23:53 +0000)]
- 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- don't require emailAddress in HTTPS certs
Mark Huang [Mon, 24 Jul 2006 19:30:45 +0000 (19:30 +0000)]
- don't require emailAddress in HTTPS certs

17 years agoregenerate
Mark Huang [Wed, 19 Jul 2006 17:06:53 +0000 (17:06 +0000)]
regenerate

17 years ago- add to changelog
Mark Huang [Wed, 19 Jul 2006 17:06:32 +0000 (17:06 +0000)]
- add to changelog

17 years ago- fix tabbing
Mark Huang [Wed, 19 Jul 2006 17:05:45 +0000 (17:05 +0000)]
- fix tabbing

17 years ago- add more comments to changelog for rc2
Mark Huang [Wed, 19 Jul 2006 14:43:18 +0000 (14:43 +0000)]
- add more comments to changelog for rc2

17 years ago- also remove .oldheaders directory
Mark Huang [Wed, 19 Jul 2006 14:15:15 +0000 (14:15 +0000)]
- also remove .oldheaders directory

17 years agoadd section about myplc-devel
Mark Huang [Tue, 18 Jul 2006 22:41:45 +0000 (22:41 +0000)]
add section about myplc-devel

17 years ago- use cvs- instead of cvs.
Mark Huang [Tue, 18 Jul 2006 21:01:08 +0000 (21:01 +0000)]
- use cvs- instead of cvs.

17 years ago- remove generated bootmanager.sh script to avoid .rpmnew
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

17 years ago- myplc-devel: Make sure /cvs is never upgraded once installed by giving
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.

17 years ago- don't leave internal build behind
Mark Huang [Tue, 18 Jul 2006 18:54:06 +0000 (18:54 +0000)]
- don't leave internal build behind

17 years ago- fix default fedora_url
Mark Huang [Tue, 18 Jul 2006 17:37:53 +0000 (17:37 +0000)]
- fix default fedora_url

17 years ago- run myplc build inside myplc-devel inside a new login shell, so that
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

17 years ago- add myplc-devel subpackage
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

17 years ago- split build.sh into two pieces: build_devel.sh, which builds
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

17 years ago- support being called as either /etc/init.d/plc or /etc/init.d/plc-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

17 years ago- do not generate sysconfig files
Mark Huang [Mon, 17 Jul 2006 21:29:43 +0000 (21:29 +0000)]
- do not generate sysconfig files

17 years ago- support installing standard package groups
Mark Huang [Mon, 17 Jul 2006 21:29:21 +0000 (21:29 +0000)]
- support installing standard package groups

17 years ago- If the CA certificate does not exist, assume that the certificate is self-signed.
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.

17 years agono longer need this since we do not generate root CA certs anymore
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

17 years agopush plc_mail_enabled to /etc/planetlab/plc_api for now
Mark Huang [Tue, 11 Jul 2006 20:57:25 +0000 (20:57 +0000)]
push plc_mail_enabled to /etc/planetlab/plc_api for now

17 years ago- move step-specific initialization to appropriate steps
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)

17 years ago- fix postgresql startup failure when bootstrapping
Mark Huang [Mon, 10 Jul 2006 21:09:24 +0000 (21:09 +0000)]
- fix postgresql startup failure when bootstrapping
- set default pgsqluser password here

17 years ago- generate old /etc/planetlab/site_constants.php here
Mark Huang [Mon, 10 Jul 2006 21:08:46 +0000 (21:08 +0000)]
- generate old /etc/planetlab/site_constants.php here

17 years ago- generate old /etc/planetlab/plc_db file 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

17 years ago- think i finally understand ssl now
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)

17 years ago- move ssl_cname and ssl_email to plc.d/ssl since this is the only place
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

17 years ago- think i finally understand ssl now
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)

17 years ago- fix License tag
Mark Huang [Thu, 6 Jul 2006 17:57:03 +0000 (17:57 +0000)]
- fix License tag

17 years agoPlanetLab software license and copyright
Mark Huang [Thu, 6 Jul 2006 17:56:43 +0000 (17:56 +0000)]
PlanetLab software license and copyright

17 years ago- support non-RH distros by checking for /sbin/chkconfig before using
Mark Huang [Thu, 6 Jul 2006 17:44:45 +0000 (17:44 +0000)]
- support non-RH distros by checking for /sbin/chkconfig before using

17 years ago- support non-RH distros by providing success() and failure() stubs
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()

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

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

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

18 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

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

18 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