myplc.git
16 years agosnafu modular_build modular_build
Marc Fiuczynski [Fri, 31 Aug 2007 17:56:25 +0000 (17:56 +0000)]
snafu

16 years agostart tuning the version #s of the required RPMs
Marc Fiuczynski [Fri, 31 Aug 2007 17:55:41 +0000 (17:55 +0000)]
start tuning the version #s of the required RPMs

16 years agoadd in the set of required RPMs for MyPLC to work
Marc Fiuczynski [Fri, 31 Aug 2007 17:52:02 +0000 (17:52 +0000)]
add in the set of required RPMs for MyPLC to work

16 years agobad edit left in a > char
Marc Fiuczynski [Fri, 31 Aug 2007 17:46:56 +0000 (17:46 +0000)]
bad edit left in a > char

16 years agoNo need to include the content from new_plc_www in the RPM, as this will come from...
Marc Fiuczynski [Fri, 31 Aug 2007 17:46:11 +0000 (17:46 +0000)]
No need to include the content from new_plc_www in the RPM, as this will come from the PLCWWW rpm in the future

16 years agorpmbuild on >=FC6 generates .pyc and .pyo files. Wild card those into the %file...
Marc Fiuczynski [Fri, 31 Aug 2007 07:08:59 +0000 (07:08 +0000)]
rpmbuild on >=FC6 generates .pyc and .pyo files.  Wild card those into the %file list, for now.

16 years agolist all of the files that belong to the native package
Marc Fiuczynski [Fri, 31 Aug 2007 07:07:14 +0000 (07:07 +0000)]
list all of the files that belong to the native package

16 years agodon't use sysconfig/plc
Marc Fiuczynski [Fri, 31 Aug 2007 06:56:38 +0000 (06:56 +0000)]
don't use sysconfig/plc

16 years agotypo: i'm tired and making dumb mistakes, which I should not be checking in
Marc Fiuczynski [Fri, 31 Aug 2007 06:53:39 +0000 (06:53 +0000)]
typo: i'm tired and making dumb mistakes, which I should not be checking in

16 years agoinstall plc_config.xml
Marc Fiuczynski [Fri, 31 Aug 2007 06:52:55 +0000 (06:52 +0000)]
install plc_config.xml

16 years agofix paths to use tmpdir variable
Marc Fiuczynski [Fri, 31 Aug 2007 06:49:26 +0000 (06:49 +0000)]
fix paths to use tmpdir variable

16 years agoremove empty Require:
Marc Fiuczynski [Fri, 31 Aug 2007 06:45:00 +0000 (06:45 +0000)]
remove empty Require:

16 years agotypo
Marc Fiuczynski [Fri, 31 Aug 2007 06:44:26 +0000 (06:44 +0000)]
typo

16 years agobeginnings of myplc rpm build that can be installed directly into a vserver
Marc Fiuczynski [Fri, 31 Aug 2007 04:57:13 +0000 (04:57 +0000)]
beginnings of myplc rpm build that can be installed directly into a vserver

16 years agomerge from HEAD
Marc Fiuczynski [Fri, 31 Aug 2007 04:55:35 +0000 (04:55 +0000)]
merge from HEAD

16 years agoadjust fixing permissions on tmp dirs from data -> devel/data
Marc Fiuczynski [Thu, 30 Aug 2007 22:33:45 +0000 (22:33 +0000)]
adjust fixing permissions on tmp dirs from data -> devel/data

16 years agomodified to use common functions from build/build.common
Marc Fiuczynski [Thu, 30 Aug 2007 16:39:09 +0000 (16:39 +0000)]
modified to use common functions from build/build.common

16 years agoThis commit was manufactured by cvs2svn to create branch
Planet-Lab Support [Wed, 29 Aug 2007 03:13:08 +0000 (03:13 +0000)]
This commit was manufactured by cvs2svn to create branch
'modular_build'.

16 years agoassume Fedora release should be at least FC4
Marc Fiuczynski [Wed, 29 Aug 2007 03:13:07 +0000 (03:13 +0000)]
assume Fedora release should be at least FC4

16 years agofix to selecting Fedora release number
Marc Fiuczynski [Tue, 28 Aug 2007 21:52:38 +0000 (21:52 +0000)]
fix to selecting Fedora release number

16 years agoneed python-devel explicit in Fedora 7
Marc Fiuczynski [Fri, 24 Aug 2007 07:36:28 +0000 (07:36 +0000)]
need python-devel explicit in Fedora 7

16 years agoadd findutils explicitly, as this does not appear in Fedora 7
Marc Fiuczynski [Fri, 24 Aug 2007 07:19:27 +0000 (07:19 +0000)]
add findutils explicitly, as this does not appear in Fedora 7

16 years agoLet mkfedora pick the right URL to get the RPMs, unless it is specifically specified...
Marc Fiuczynski [Fri, 24 Aug 2007 07:11:36 +0000 (07:11 +0000)]
Let mkfedora pick the right URL to get the RPMs, unless it is specifically specified in /etc/planetlab/ or passed in as an argument

16 years agoMake Fedora 7 compatible
Marc Fiuczynski [Fri, 24 Aug 2007 06:48:06 +0000 (06:48 +0000)]
Make Fedora 7 compatible

16 years agochange v3 to v4 yumgroups.xml
Faiyaz Ahmed [Wed, 22 Aug 2007 02:04:56 +0000 (02:04 +0000)]
change v3 to v4 yumgroups.xml

16 years agoby default build myplc for same fedora as host environment
Marc Fiuczynski [Thu, 16 Aug 2007 21:42:02 +0000 (21:42 +0000)]
by default build myplc for same fedora as host environment

16 years agoAllow build as root (eww)
Daniel Hokka Zakrisson [Mon, 13 Aug 2007 18:59:04 +0000 (18:59 +0000)]
Allow build as root (eww)

16 years ago- set default site 'is_public' value to True
Tony Mack [Mon, 2 Jul 2007 18:44:10 +0000 (18:44 +0000)]
- set default site 'is_public' value to True

17 years agodumps and cleans the drupal database as well
Thierry Parmentelat [Mon, 5 Mar 2007 12:38:47 +0000 (12:38 +0000)]
dumps and cleans the drupal database as well

17 years ago- append site-specific access rules pg_hba.conf.d/*.conf to pg_hba.conf
Mark Huang [Fri, 9 Feb 2007 19:26:18 +0000 (19:26 +0000)]
- append site-specific access rules pg_hba.conf.d/*.conf to pg_hba.conf

17 years ago- only update node package repository if running on boot server
Mark Huang [Thu, 8 Feb 2007 16:05:45 +0000 (16:05 +0000)]
- only update node package repository if running on boot server

17 years ago- move gen-sites-xml.py one shot to www
Mark Huang [Wed, 7 Feb 2007 23:54:35 +0000 (23:54 +0000)]
- move gen-sites-xml.py one shot to www

17 years ago- generate sites.xml on www
Mark Huang [Wed, 7 Feb 2007 23:21:27 +0000 (23:21 +0000)]
- generate sites.xml on www

17 years ago- fix exit/return mixup
Mark Huang [Wed, 7 Feb 2007 18:45:42 +0000 (18:45 +0000)]
- fix exit/return mixup

17 years ago- bump release number
Mark Huang [Wed, 7 Feb 2007 15:37:29 +0000 (15:37 +0000)]
- bump release number

17 years ago- only look for .xml files in /etc/planetlab/configs
Mark Huang [Tue, 6 Feb 2007 23:36:04 +0000 (23:36 +0000)]
- only look for .xml files in /etc/planetlab/configs

17 years ago- serve PlanetLabConf if not running web server
Mark Huang [Tue, 6 Feb 2007 17:55:34 +0000 (17:55 +0000)]
- serve PlanetLabConf if not running web server

17 years agoSet the document root to /data/var/www/html (static files
Mark Huang [Tue, 6 Feb 2007 16:24:13 +0000 (16:24 +0000)]
Set the document root to /data/var/www/html (static files
only, no Drupal or admin pages) if the web server should not
run on this machine.

17 years ago- if web server was configured but not enabled, script would think that
Mark Huang [Mon, 5 Feb 2007 19:56:26 +0000 (19:56 +0000)]
- if web server was configured but not enabled, script would think that
  it was already running and would not enable boot server
- also redirect direct requests to /planetlab/ to HTTPS
- if web server is not enabled, redirect index page to web server

17 years ago- also give DB access to the boot server, which may run its own API
Mark Huang [Mon, 5 Feb 2007 19:11:06 +0000 (19:11 +0000)]
- also give DB access to the boot server, which may run its own API

17 years ago- avoid regenerating yum metadata if no packages are newer than the
Mark Huang [Sun, 4 Feb 2007 01:05:28 +0000 (01:05 +0000)]
- avoid regenerating yum metadata if no packages are newer than the
  metadata files

17 years ago- go ahead and require SOAPpy
Mark Huang [Fri, 2 Feb 2007 23:40:43 +0000 (23:40 +0000)]
- go ahead and require SOAPpy

17 years ago- remove plc_ticket_pubkey bootstrap, this is no longer necessary
Mark Huang [Fri, 2 Feb 2007 23:40:22 +0000 (23:40 +0000)]
- remove plc_ticket_pubkey bootstrap, this is no longer necessary

17 years ago- change i2 to i2_
Mark Huang [Fri, 2 Feb 2007 19:56:21 +0000 (19:56 +0000)]
- change i2 to i2_

17 years agoMore sane network slice attribute names. Also added rate limits back.
Faiyaz Ahmed [Fri, 2 Feb 2007 19:43:01 +0000 (19:43 +0000)]
More sane network slice attribute names.  Also added rate limits back.

17 years agoSymlink any (real) files or directories in /data/var/www/html/* to
Mark Huang [Fri, 2 Feb 2007 15:37:25 +0000 (15:37 +0000)]
Symlink any (real) files or directories in /data/var/www/html/* to
/var/www/html/. We could descend into subdirectories, but the code to do
so properly would be madness.

17 years ago- add SOAPpy and PyXML to development environment so that new_plc_api
Mark Huang [Fri, 2 Feb 2007 04:32:36 +0000 (04:32 +0000)]
- add SOAPpy and PyXML to development environment so that new_plc_api
  builds cleanly

17 years agoReplaced network rate limits with byte limits.
Faiyaz Ahmed [Thu, 1 Feb 2007 21:09:22 +0000 (21:09 +0000)]
Replaced network rate limits with byte limits.

17 years ago- clean up migrate_db, optimize main loop
Mark Huang [Wed, 31 Jan 2007 19:53:20 +0000 (19:53 +0000)]
- clean up migrate_db, optimize main loop
- don't set subversion here, require that the migration scripts do it
- check all steps for errors

17 years agoexecutable migration scripts
Thierry Parmentelat [Wed, 31 Jan 2007 10:02:25 +0000 (10:02 +0000)]
executable migration scripts

17 years ago- add Boot Manager messages
Mark Huang [Tue, 30 Jan 2007 23:11:14 +0000 (23:11 +0000)]
- add Boot Manager messages

17 years ago- move drupal sites/ directory to /data/var/www/html/ so that custom
Mark Huang [Tue, 30 Jan 2007 16:03:20 +0000 (16:03 +0000)]
- move drupal sites/ directory to /data/var/www/html/ so that custom
  modules and themes can be installed

17 years agoclean cleans repodata and headers as well
Thierry Parmentelat [Tue, 30 Jan 2007 15:56:53 +0000 (15:56 +0000)]
clean cleans repodata and headers as well

17 years ago* accept the repositories to manage as arguments
Thierry Parmentelat [Tue, 30 Jan 2007 15:09:22 +0000 (15:09 +0000)]
* accept the repositories to manage as arguments
* performs gpg-signing only once, stores stamps in repository/signed-stamps/
  (still runs yum-arch and createrepo unconditionnally)
* can also cleanup these stamps with packages clean [repo]

17 years agoadds minimal support for db migrations
Thierry Parmentelat [Tue, 30 Jan 2007 11:29:36 +0000 (11:29 +0000)]
adds minimal support for db migrations

also supports new usage
Usage: /etc/plc.d/db [start|migrate|dump|clean-dump]
for convenience

17 years agorun drupal cron every hour
Mark Huang [Fri, 26 Jan 2007 05:54:35 +0000 (05:54 +0000)]
run drupal cron every hour

17 years ago- add perl-GD for plot-latlong
Mark Huang [Fri, 26 Jan 2007 02:48:57 +0000 (02:48 +0000)]
- add perl-GD for plot-latlong

17 years agoinclude generated/ subdir in php include_path
Mark Huang [Thu, 25 Jan 2007 20:27:18 +0000 (20:27 +0000)]
include generated/ subdir in php include_path

17 years agocannot run db-config in api script, since the password is being setup manually here
Mark Huang [Wed, 24 Jan 2007 21:05:30 +0000 (21:05 +0000)]
cannot run db-config in api script, since the password is being setup manually here

17 years ago- remove api-config script
Mark Huang [Mon, 22 Jan 2007 16:50:48 +0000 (16:50 +0000)]
- remove api-config script

17 years agoregenerate
Thierry Parmentelat [Mon, 22 Jan 2007 13:27:59 +0000 (13:27 +0000)]
regenerate

17 years agomentions all hostnames in usual vars
Thierry Parmentelat [Mon, 22 Jan 2007 13:20:29 +0000 (13:20 +0000)]
mentions all hostnames in usual vars

17 years ago- Split off myplc-devel into separate spec file, so that it can be
Mark Huang [Sat, 20 Jan 2007 04:08:47 +0000 (04:08 +0000)]
- Split off myplc-devel into separate spec file, so that it can be
  built standalone.

17 years ago- drop support for bootstrap builds from within the myplc build itself;
Mark Huang [Sat, 20 Jan 2007 04:06:02 +0000 (04:06 +0000)]
- drop support for bootstrap builds from within the myplc build itself;
  this is best handled in an external build script
- external users should install and start myplc-devel, then just type
  e.g. 'chroot /plc/devel/root su - build -c make'

17 years ago- skip the whole cvs import garbage
Mark Huang [Sat, 20 Jan 2007 04:04:25 +0000 (04:04 +0000)]
- skip the whole cvs import garbage

17 years ago- create a build user with the same uid/gid as the sudoer, if
Mark Huang [Sat, 20 Jan 2007 04:02:43 +0000 (04:02 +0000)]
- create a build user with the same uid/gid as the sudoer, if
  possible. Set its home directory to /data/build.
- skip the whole cvs import garbage; too confusing and no one uses it

17 years ago- sigh, try again to fix merge of maintenance_sources
Mark Huang [Fri, 19 Jan 2007 20:05:05 +0000 (20:05 +0000)]
- sigh, try again to fix merge of maintenance_sources

17 years agouse input redirection
Mark Huang [Fri, 19 Jan 2007 20:04:20 +0000 (20:04 +0000)]
use input redirection

17 years agoFC6 requires libpcap-devel.
Marc Fiuczynski [Fri, 19 Jan 2007 19:19:55 +0000 (19:19 +0000)]
FC6 requires libpcap-devel.

For previous FC versions the inclusion of libpcap-devel will simply
produce a benign warning message that the libpcap-devel package was
not installed.

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