myplc.git
17 years ago- also explicitly allow localhost connections for drupal
Mark Huang [Fri, 19 Jan 2007 17:25:27 +0000 (17:25 +0000)]
- also explicitly allow localhost connections for drupal

17 years ago- just compare cnames (CN field), not emails (emailAddress field)
Mark Huang [Fri, 19 Jan 2007 17:13:43 +0000 (17:13 +0000)]
- just compare cnames (CN field), not emails (emailAddress field)
- hostnames are case-insensitive, compare lowercase e-mails
- fix permissions regardless of whether we generated the cert or not

17 years ago- add lower() and upper() utility functions
Mark Huang [Fri, 19 Jan 2007 17:12:45 +0000 (17:12 +0000)]
- add lower() and upper() utility functions

17 years ago- explicitly add localhost to pg_hba.conf (for case when PLC_API_IP and
Mark Huang [Fri, 19 Jan 2007 16:42:08 +0000 (16:42 +0000)]
- explicitly add localhost to pg_hba.conf (for case when PLC_API_IP and
  PLC_WWW_IP do not resolve to PLC_DB_IP)

17 years ago- bootstrap the db in the api script
Mark Huang [Thu, 18 Jan 2007 22:10:43 +0000 (22:10 +0000)]
- bootstrap the db in the api script

17 years ago- set up cron on a per-server basis
Mark Huang [Thu, 18 Jan 2007 22:10:33 +0000 (22:10 +0000)]
- set up cron on a per-server basis

17 years ago- also list PLC_DB_HOST
Mark Huang [Thu, 18 Jan 2007 22:10:18 +0000 (22:10 +0000)]
- also list PLC_DB_HOST

17 years ago- fix newline problem with PLC_API_MAINTENANCE_SOURCES regeneration
Mark Huang [Thu, 18 Jan 2007 22:10:08 +0000 (22:10 +0000)]
- fix newline problem with PLC_API_MAINTENANCE_SOURCES regeneration
- bootstrap the DB here instead of in db

17 years ago/etc/init.d/postgresql fails if it is not running
Mark Huang [Thu, 18 Jan 2007 22:09:14 +0000 (22:09 +0000)]
/etc/init.d/postgresql fails if it is not running

17 years agoremove all traces of MA/CA certificate junk
Mark Huang [Thu, 18 Jan 2007 18:44:18 +0000 (18:44 +0000)]
remove all traces of MA/CA certificate junk

17 years agodo not dereference symlinks when chowning files back to the SUDO_USER
Mark Huang [Wed, 17 Jan 2007 22:44:17 +0000 (22:44 +0000)]
do not dereference symlinks when chowning files back to the SUDO_USER

17 years ago- install mailx and sendmail, build script sends mail on failure
Mark Huang [Wed, 17 Jan 2007 22:35:51 +0000 (22:35 +0000)]
- install mailx and sendmail, build script sends mail on failure

17 years ago- remove the new admin account message; new admins should register as
Mark Huang [Wed, 17 Jan 2007 22:35:31 +0000 (22:35 +0000)]
- remove the new admin account message; new admins should register as
  regular users first, then be granted the admin role by a current
  admin.
- fix typos

17 years ago- back out last change, otherwise have to quote email in url
Mark Huang [Tue, 16 Jan 2007 17:26:11 +0000 (17:26 +0000)]
- back out last change, otherwise have to quote email in url

17 years ago- pass email instead of person_id to reset_password.php script
Mark Huang [Tue, 16 Jan 2007 17:23:26 +0000 (17:23 +0000)]
- pass email instead of person_id to reset_password.php script

17 years ago- Add apache to list of users that can send mail as others without a
Mark Huang [Tue, 16 Jan 2007 17:21:50 +0000 (17:21 +0000)]
- Add apache to list of users that can send mail as others without a
warning, so that the API can send out mail.

17 years ago- rewrite some of the message templates to be clearer
Mark Huang [Tue, 16 Jan 2007 17:21:31 +0000 (17:21 +0000)]
- rewrite some of the message templates to be clearer

17 years ago- fix permissions on tmp directories
Mark Huang [Fri, 12 Jan 2007 14:48:02 +0000 (14:48 +0000)]
- fix permissions on tmp directories

17 years ago- specify more directories to be moved to /data
Mark Huang [Thu, 11 Jan 2007 21:49:52 +0000 (21:49 +0000)]
- specify more directories to be moved to /data

17 years ago- generalize so that gpg keyrings do not have to be in /etc/planetlab
Mark Huang [Wed, 10 Jan 2007 20:18:02 +0000 (20:18 +0000)]
- generalize so that gpg keyrings do not have to be in /etc/planetlab
- fix keyring permissions fix

17 years ago- add default email templates
Tony Mack [Fri, 5 Jan 2007 16:13:54 +0000 (16:13 +0000)]
- add default email templates

17 years agoMake GPG key readable by apache so that the API can sign peer requests
Mark Huang [Fri, 15 Dec 2006 20:16:16 +0000 (20:16 +0000)]
Make GPG key readable by apache so that the API can sign peer requests

17 years ago- export PGPORT
Mark Huang [Tue, 12 Dec 2006 22:23:04 +0000 (22:23 +0000)]
- export PGPORT

17 years agomake the comment about slice creation a bit more explicit
Thierry Parmentelat [Tue, 12 Dec 2006 16:33:45 +0000 (16:33 +0000)]
make the comment about slice creation a bit more explicit

17 years agoregenerate
Thierry Parmentelat [Tue, 12 Dec 2006 10:19:15 +0000 (10:19 +0000)]
regenerate

17 years agoreview section on plc-config-tty to reflect recent changes
Thierry Parmentelat [Tue, 12 Dec 2006 10:16:28 +0000 (10:16 +0000)]
review section on plc-config-tty to reflect recent changes
outline necessity to tune PLC_NAME and PLC_SLICE_PREFIX
  in federation

17 years agoreview list of usual variables
Thierry Parmentelat [Tue, 12 Dec 2006 10:14:44 +0000 (10:14 +0000)]
review list of usual variables
removes "PLC_DB_HOST" "PLC_API_HOST" "PLC_WWW_HOST" that dont need
configuring in simple setups

17 years agosupport for changing SLICE_PREFIX
Thierry Parmentelat [Tue, 12 Dec 2006 10:13:31 +0000 (10:13 +0000)]
support for changing SLICE_PREFIX
first quick&dirty implementation:
(*) if SLICE_PREFIX is the default 'pl' then the two legacy slices are created
(*) otherwise they are not, and even deleted in case they were present
    this because the myplc doc instructs to perform a first run before configuring

17 years agoadds in the set of "usual" variables : PLC_MAIL_ENABLED and PLC_SLICE_PREFIX
Thierry Parmentelat [Fri, 8 Dec 2006 08:42:14 +0000 (08:42 +0000)]
adds in the set of "usual" variables : PLC_MAIL_ENABLED and PLC_SLICE_PREFIX

17 years ago- move drupal file uploads directory to /data
Mark Huang [Mon, 4 Dec 2006 15:43:39 +0000 (15:43 +0000)]
- move drupal file uploads directory to /data

17 years ago- no need to always_update blacklist or sysctl.conf
Mark Huang [Tue, 28 Nov 2006 21:45:53 +0000 (21:45 +0000)]
- no need to always_update blacklist or sysctl.conf

17 years ago- fix case when multiple slice attributes of the same type are set
Mark Huang [Tue, 28 Nov 2006 21:37:42 +0000 (21:37 +0000)]
- fix case when multiple slice attributes of the same type are set
  (e.g. proper_op)
- add XXX comments for old NM hacks

17 years agocreate planetlab4 db with unicode encoding and owned by pgsqluser
Mark Huang [Thu, 16 Nov 2006 18:50:32 +0000 (18:50 +0000)]
create planetlab4 db with unicode encoding and owned by pgsqluser

17 years ago- add "system" slice attribute to indicate if the slice is a default
Mark Huang [Thu, 16 Nov 2006 18:47:24 +0000 (18:47 +0000)]
- add "system" slice attribute to indicate if the slice is a default
  system slice or not
- XXX should add an all_nodes attribute as well?

17 years ago- fix .ssh directory permissions
Mark Huang [Wed, 15 Nov 2006 22:49:59 +0000 (22:49 +0000)]
- fix .ssh directory permissions

18 years ago- add back old node manager compatibility for now
Mark Huang [Tue, 14 Nov 2006 05:31:45 +0000 (05:31 +0000)]
- add back old node manager compatibility for now

18 years ago- allow update of default login_base
Mark Huang [Mon, 13 Nov 2006 21:31:12 +0000 (21:31 +0000)]
- allow update of default login_base
- remove sidewinder configuration files from PlanetLabConf
- rename default slice attribute types for new Node Manager

18 years ago- remove backward compatible /etc/planetlab/plc_api generation
Mark Huang [Mon, 13 Nov 2006 21:27:16 +0000 (21:27 +0000)]
- remove backward compatible /etc/planetlab/plc_api generation

18 years agoPLCAPI replaces php-xmlrpc
Mark Huang [Fri, 10 Nov 2006 19:03:48 +0000 (19:03 +0000)]
PLCAPI replaces php-xmlrpc

18 years ago- require php-devel to build custom xmlrpc.so extension
Mark Huang [Fri, 10 Nov 2006 06:35:50 +0000 (06:35 +0000)]
- require php-devel to build custom xmlrpc.so extension

18 years ago- add postgresql-devel to the myplc-devel build
Mark Huang [Thu, 9 Nov 2006 15:46:48 +0000 (15:46 +0000)]
- add postgresql-devel to the myplc-devel build

18 years ago- fix first-time default slice creation
Mark Huang [Wed, 8 Nov 2006 23:34:28 +0000 (23:34 +0000)]
- fix first-time default slice creation

18 years ago- rename some PlanetLabConf files
Mark Huang [Mon, 6 Nov 2006 22:03:05 +0000 (22:03 +0000)]
- rename some PlanetLabConf files
- fix reference to PLC_MA_SA_CA_SSL_KEY_PUB
- fix system slice attributes

18 years ago- filesystem.rpm fails to install if /tmp, /usr/tmp, or /var/tmp already
Mark Huang [Thu, 2 Nov 2006 17:36:34 +0000 (17:36 +0000)]
- filesystem.rpm fails to install if /tmp, /usr/tmp, or /var/tmp already
  exist

18 years ago- make the Drupal files upload directory in case it does not exist
Mark Huang [Mon, 30 Oct 2006 22:38:22 +0000 (22:38 +0000)]
- make the Drupal files upload directory in case it does not exist
  (maybe pruned by CVS)

18 years ago- move drupal files hack to runtime
Mark Huang [Mon, 30 Oct 2006 16:14:20 +0000 (16:14 +0000)]
- move drupal files hack to runtime

18 years ago- move drupal files chown hack here
Mark Huang [Mon, 30 Oct 2006 16:13:50 +0000 (16:13 +0000)]
- move drupal files chown hack here

18 years ago- add docbook-utils-pdf
Mark Huang [Sun, 29 Oct 2006 04:03:11 +0000 (04:03 +0000)]
- add docbook-utils-pdf

18 years ago- bootstrap Drupal DB
Mark Huang [Fri, 27 Oct 2006 20:29:20 +0000 (20:29 +0000)]
- bootstrap Drupal DB

18 years ago- new_plc_www and new_plc_api changes: fix includes path
Mark Huang [Fri, 27 Oct 2006 20:29:04 +0000 (20:29 +0000)]
- new_plc_www and new_plc_api changes: fix includes path
- got rid of oldapi, redirect all http://.../PLCAPI accesses to
  https://.../PLCAPI. Although as far as i know, most XML-RPC clients
  don't understand 302 redirects.
- use new_plc_api ModPython interface

18 years ago- update Drupal site_name variable with PLC_NAME
Mark Huang [Fri, 27 Oct 2006 20:27:04 +0000 (20:27 +0000)]
- update Drupal site_name variable with PLC_NAME

18 years ago- change default PLC_DB_NAME to planetlab4
Mark Huang [Fri, 27 Oct 2006 20:26:49 +0000 (20:26 +0000)]
- change default PLC_DB_NAME to planetlab4
- dropped old plc_api from website code, new plc_api PHP bindings can
  now do SSL properly
- drop plcapilib
- add PLCAPI package

18 years ago- convert to new_plc_api as best as possible
Mark Huang [Fri, 27 Oct 2006 20:25:37 +0000 (20:25 +0000)]
- convert to new_plc_api as best as possible

18 years ago- move /tmp, /usr/tmp, /var/tmp, and /var/log to /data
Mark Huang [Fri, 27 Oct 2006 20:24:32 +0000 (20:24 +0000)]
- move /tmp, /usr/tmp, /var/tmp, and /var/log to /data
- convert to planetlab4 schema
- convert to new_plc_api
- convert to new_plc_www
- install and configure Drupal

18 years agoreference to the FAQ
Thierry Parmentelat [Thu, 24 Aug 2006 17:13:33 +0000 (17:13 +0000)]
reference to the FAQ

18 years ago- added changelog for 0.4-3, 0.5-3
Mark Huang [Tue, 22 Aug 2006 17:17:29 +0000 (17:17 +0000)]
- added changelog for 0.4-3, 0.5-3

18 years ago- bump release number
Mark Huang [Tue, 22 Aug 2006 17:12:06 +0000 (17:12 +0000)]
- bump release number

18 years agoincrease revision id to 1.2 for previous changes
Thierry Parmentelat [Fri, 18 Aug 2006 14:38:43 +0000 (14:38 +0000)]
increase revision id to 1.2 for previous changes
describes /root under /data

18 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

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

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

18 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

18 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

18 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

18 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

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

18 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

18 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

18 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

18 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

18 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

18 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)

18 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

18 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

18 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

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

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

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

18 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

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

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

18 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.

18 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

18 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.

18 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

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

18 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

18 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

18 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