12 years agoTagging module VserverReference - VserverReference-4.2-11
Thierry Parmentelat [Thu, 2 Oct 2008 18:15:21 +0000]
Tagging module VserverReference - VserverReference-4.2-11
on 64bits archs, locates util-vserver's config file correctly

12 years agosearches util-vserver init file - for 64bits archs
Thierry Parmentelat [Wed, 1 Oct 2008 04:42:49 +0000]
searches util-vserver init file - for 64bits archs

12 years agoTagging module VserverReference - VserverReference-4.2-10
Daniel Hokka Zakrisson [Thu, 3 Jul 2008 11:55:48 +0000]
Tagging module VserverReference - VserverReference-4.2-10
Use the correct yum.conf to get access to required packages such as pf2slice.

12 years agoUse the right yum configuration to get access to the necessary RPMs.
Daniel Hokka Zakrisson [Thu, 3 Jul 2008 11:48:47 +0000]
Use the right yum configuration to get access to the necessary RPMs.

12 years agoTagging module VserverReference - VserverReference-4.2-9
Daniel Hokka Zakrisson [Mon, 30 Jun 2008 18:07:04 +0000]
Tagging module VserverReference - VserverReference-4.2-9
Scriptlet fix.

12 years agoThe scriptlet should succeed if the directory does not exist.
Daniel Hokka Zakrisson [Mon, 30 Jun 2008 18:05:15 +0000]
The scriptlet should succeed if the directory does not exist.

12 years agoTagging module VserverReference - VserverReference-4.2-8
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 20:05:56 +0000]
Tagging module VserverReference - VserverReference-4.2-8
Unset the immutable and iunlink bits to make sure we can install the package.

12 years agoTry to fix weird state of files causing the install to fail.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 20:04:53 +0000]
Try to fix weird state of files causing the install to fail.

12 years agoTagging module VserverReference - VserverReference-4.2-7
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:42:46 +0000]
Tagging module VserverReference - VserverReference-4.2-7
Let rpm remove the files.

12 years agoRPM should take care of this.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:05:53 +0000]
RPM should take care of this.

12 years agoTagging module VserverReference - VserverReference-4.2-6
Thierry Parmentelat [Thu, 24 Apr 2008 17:12:30 +0000]
Tagging module VserverReference - VserverReference-4.2-6
empty change, this should *not* be a noarch package

12 years agoundoing previous change - thanks Daniel
Thierry Parmentelat [Thu, 24 Apr 2008 13:10:39 +0000]
undoing previous change - thanks Daniel

12 years agovserver images considered arch-neutral
Thierry Parmentelat [Thu, 24 Apr 2008 12:27:35 +0000]
vserver images considered arch-neutral

12 years agoTagging module VserverReference - VserverReference-4.2-5
Thierry Parmentelat [Mon, 21 Apr 2008 13:04:22 +0000]
Tagging module VserverReference - VserverReference-4.2-5
tweaked pre script that was removing everything under /vservers/.vref
dismantle vcached (as far as this module is concerned)
sudo to log in /var/log/sudo

12 years agoMake sudo log to /var/log/sudo
Faiyaz Ahmed [Thu, 10 Apr 2008 16:18:30 +0000]
Make sudo log to /var/log/sudo

12 years agocross-module change -- cleaning vcached, and vserver pre install script
Thierry Parmentelat [Thu, 10 Apr 2008 14:03:14 +0000]
cross-module change -- cleaning vcached, and vserver pre install script

12 years agoTagging module VserverReference - VserverReference-4.2-4
Thierry Parmentelat [Fri, 28 Mar 2008 14:03:51 +0000]
Tagging module VserverReference - VserverReference-4.2-4
bugfix, 4.2-3 was broken as the slicefamily stamp could not get created, thus nm issued 'vuseradd -t default'

12 years agobugfix : slices did not get created correctly
Thierry Parmentelat [Fri, 28 Mar 2008 14:00:45 +0000]
bugfix : slices did not get created correctly

12 years agoTagging module VserverReference - VserverReference-4.2-3
Thierry Parmentelat [Wed, 26 Mar 2008 10:45:53 +0000]
Tagging module VserverReference - VserverReference-4.2-3
a single node can now install several instances of this package
package name contains slicefamily - <pldistro>-<fcdistro>-<arch>
setattr --iunlink or --~iunlink appropriately (uses /proc/virtual/info)
does not copy yum.conf from host anymore

12 years agomultiple slice falvours - second iteration
Thierry Parmentelat [Sat, 22 Mar 2008 11:03:45 +0000]
multiple slice falvours - second iteration
* review naming scheme for system slices; now planetflow vref image is named like
  planetflow-f8-i386 for consistency
* use for sensible name for the stamp where default slicefamily is stored

12 years agosomehow yesterday's change got lost
Thierry Parmentelat [Sat, 22 Mar 2008 08:23:11 +0000]
somehow yesterday's change got lost

12 years agoAdds a conditional check to see whether COW support is enabled in the kernel.
Stephen Soltesz [Fri, 21 Mar 2008 22:36:14 +0000]
Adds a conditional check to see whether COW support is enabled in the kernel.
sets the iunlink attribute accordingly.

12 years agooops, wrong quoting
Thierry Parmentelat [Fri, 21 Mar 2008 18:29:00 +0000]
oops, wrong quoting

12 years agosupport for multiple slice reference images
Thierry Parmentelat [Fri, 21 Mar 2008 16:35:32 +0000]
support for multiple slice reference images

* vserver-reference rpm names have changed and become

* this contains the images located as

* a stamp gets created on the nodes as /etc/planetlab/defaultvref
  that contains the name for the default slicefamily to use

* nodemanager tries to be smart when chosing the right argument to pass to vuseradd
  for this purpose, the argument in 'vref' is taken as a dash-separated list of 'wishes'
  so e.g. is defaultvref is planetlab-f8-x86_64, then we should find for the image name:
vref=i386           -> vuseradd -t planetlab-f8-i386
vref=centos5        -> vuseradd -t planetlab-centos5-x86_64
vref=planetflow     -> vuseradd -t planetflow
vref=centos5-onelab -> vuseradd -t onelab-centos5-x86_64

for legacy reasons, if the stamp is not found, 'default' is taken instead

=== status
* this is only partly tested
* a given node can install several variants of vserver-*
  this would require a manual upload of the rpms into the right install-rpms
  and manual changes in yumgroups.
* next improvement would be to have the system (planetflow) slices have a smarter naming scheme as well
  this way a 'planetflow' vref would rather be rewritten as planetflow-f8-x86_64
  for the time being it is not supported to install several variants of vserver-systemslices
  on the node - although it should be harmless

12 years agoSecond step towards multiarch myplc https://svn.planet-lab.org/ticket/214
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +0000]
Second step towards multiarch myplc https://svn.planet-lab.org/ticket/214
-- design
* new notion of a 'nodefamily' - that for now is <pldistro>-<arch>
* standard rpm repository is now named /var/www/html/install-rpms/<nodefamily>
  a legacy symlink install-rpms/planetlab is created my myplc packaging
* bootstrafs rpm name is now bootstrapfs-<nodefamily> so that several instances
 from various builds can be installed in the same myplc
* noderepo rpm (named noderepo-<nodefamily>) built as part of the planetlab distro
  this is for installing /var/www/html/intall-rpms/<nodefamily> from another build

-- other changes
* extensive cleanup of mkfedora:
** obsolete  options -p -g -x removed
** option -p removed, pkgsfile is a mandatory argument
** option -k removed, use kexclude: in the pkgs file instead
* also cleaned up pl_root_* functions - no wrapper to pl_root_mkfedora anymore

-- status
* not tested at all - likely to break
* next step planned for storing nodefamily and pass it to yum.php.conf
  (impacted would be bootmanager, nodemanager and nodeconfig)
* a final cleanup in mkfedora would be to define mirrors in a separate .pkgs-like file
* kupdate.sh, as well as possibly other convenience scripts, might be impacted

12 years agoAdded post operation to the reference image as well as the vdirs.
Stephen Soltesz [Wed, 27 Feb 2008 21:53:32 +0000]
Added post operation to the reference image as well as the vdirs.

12 years agoforce the overwrite of /etc/yum.conf from /etc/yum.conf.rpmnew file
Marc Fiuczynski [Mon, 25 Feb 2008 19:47:13 +0000]
force the overwrite of /etc/yum.conf from /etc/yum.conf.rpmnew file

12 years agouse the default /etc/yum.conf that comes with the yum package
Marc Fiuczynski [Mon, 25 Feb 2008 19:45:57 +0000]
use the default /etc/yum.conf that comes with the yum package

12 years agono longer overwrite guest's /etc/yum.conf with the version from the host
Marc Fiuczynski [Mon, 25 Feb 2008 19:41:11 +0000]
no longer overwrite guest's /etc/yum.conf with the version from the host

12 years agocleaner way of finding the vserver.pkgs *.post file.
Stephen Soltesz [Fri, 22 Feb 2008 21:25:10 +0000]
cleaner way of finding the vserver.pkgs *.post file.

12 years agoModified to execute config.planetlab/vserver.post scripts to perform final
Stephen Soltesz [Wed, 20 Feb 2008 20:29:00 +0000]
Modified to execute config.planetlab/vserver.post scripts to perform final
vserver-reference image cleanups.

12 years agoTagging module VserverReference - vserver-4.2-2
Thierry Parmentelat [Fri, 15 Feb 2008 14:53:43 +0000]
Tagging module VserverReference - vserver-4.2-2
vserver image to properly use links rather than copies

12 years agoto allow vclone to do the right thing wrt to linking unified files.
Faiyaz Ahmed [Thu, 7 Feb 2008 19:14:18 +0000]
to allow vclone to do the right thing wrt to linking unified files.

12 years agoTagging module VserverReference -- from vserver-4.2-0 to vserver-4.2-1
Thierry Parmentelat [Thu, 31 Jan 2008 15:44:44 +0000]
Tagging module VserverReference  -- from vserver-4.2-0 to vserver-4.2-1
more careful scan of the vserver-*.pkgs image specifications

12 years agoHandle case when there are no vserver-* packages properly
Marc Fiuczynski [Thu, 10 Jan 2008 19:34:24 +0000]
Handle case when there are no vserver-* packages properly

12 years agoready for tagging
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000]
ready for tagging
reviewed URLs and %{plrelease}

12 years agoMove Requires to the correct package.
Daniel Hokka Zakrisson [Fri, 14 Dec 2007 20:55:14 +0000]
Move Requires to the correct package.

12 years agosets PL_BOOTCD to prevent components from starting at build-time
Thierry Parmentelat [Fri, 14 Dec 2007 12:06:07 +0000]
sets PL_BOOTCD to prevent components from starting at build-time

12 years agoFix invalid syntax.
Daniel Hokka Zakrisson [Fri, 7 Dec 2007 15:35:12 +0000]
Fix invalid syntax.

12 years agocleaning up the root creation functions and build.common - untested
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000]
cleaning up the root creation functions and build.common - untested

12 years ago(*) groups distro-dependent files in build/config.<distro>
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +0000]
(*) groups distro-dependent files in build/config.<distro>
(*) renamed .lst files into .pkgs (lst suffix commonly used for other/tmp purposes)
(*) distro-dependent files are (mostly) optional, defaults to planetlab
(*) mkfedora accepts new -f argument : to pass a pkgs file rather than -p .. -g ..
(*) mkfedora supports junk: and precious: in pkgs file
    this is from the former bootcd/prep.sh - to reduce footprint

(*) this is untested
(*) mkfedora still supports -x (exclude) on the command line and in pkgs file
    however I suspect this feature is never used
(*) mkfedora is still a separate command - could/should be merged into buld.common
(*) myplc/build.functions could/should be merged into build.common as well

12 years agoremoved jre from verver ref - was not found anyway
Thierry Parmentelat [Fri, 30 Nov 2007 05:57:37 +0000]
removed jre from verver ref - was not found anyway

13 years agooops
Thierry Parmentelat [Wed, 21 Nov 2007 11:31:50 +0000]

13 years agooops - uses new lst parsing in subdir too
Thierry Parmentelat [Wed, 21 Nov 2007 09:51:31 +0000]
oops - uses new lst parsing in subdir too

13 years agonaming .lst files after pldistro - including the <pldistro>-vservers directory
Thierry Parmentelat [Wed, 21 Nov 2007 09:42:14 +0000]
naming .lst files after pldistro - including the <pldistro>-vservers directory

13 years agothe issue with ulogd seems to be related to mkfedora having lost its -k option somehow
Thierry Parmentelat [Sun, 18 Nov 2007 21:48:08 +0000]
the issue with ulogd seems to be related to mkfedora having lost its -k option somehow

13 years agousing disablerepo with extras makes sense with fc <= 6 only
Thierry Parmentelat [Fri, 16 Nov 2007 08:40:09 +0000]
using disablerepo with extras makes sense with fc <= 6 only

13 years agodisabling the extras fedora repo when installing netflow - yum gets confused by ulogd...
Thierry Parmentelat [Tue, 13 Nov 2007 18:53:39 +0000]
disabling the extras fedora repo when installing netflow - yum gets confused by ulogd - temporary

13 years agoswitch to using pl_get{Packages,Groups}
Marc Fiuczynski [Thu, 8 Nov 2007 22:30:19 +0000]
switch to using pl_get{Packages,Groups}

13 years ago* using the common pl_getPackages() and pl_getGroups() functions
Marc Fiuczynski [Wed, 7 Nov 2007 21:04:05 +0000]
* using the common pl_getPackages() and pl_getGroups() functions

13 years agothe 'yum clean all' step must preceed the 'rsync' step
Marc Fiuczynski [Mon, 5 Nov 2007 21:11:41 +0000]
the 'yum clean all' step must preceed the 'rsync' step

13 years agorsync -avn prints additional information for files that are symlinks, which should...
Marc Fiuczynski [Mon, 5 Nov 2007 21:03:52 +0000]
rsync -avn prints additional information for files that are symlinks, which should not be feed to cpio. Post processing the rsync output to make cpio happy

13 years agobe more verbose about building the system vservers
Marc Fiuczynski [Mon, 5 Nov 2007 19:53:57 +0000]
be more verbose about building the system vservers

13 years agoclean out yum cache to reduce system vserver footprint
Marc Fiuczynski [Mon, 5 Nov 2007 19:31:24 +0000]
clean out yum cache to reduce system vserver footprint

13 years agoThis change creates a proper vserver stub that includes all new files
Marc Fiuczynski [Mon, 5 Nov 2007 16:14:48 +0000]
This change creates a proper vserver stub that includes all new files
AND modified files.  The previous implementation only handled the

13 years agouser cpio rather than rsync to copy directories
Marc Fiuczynski [Mon, 5 Nov 2007 16:11:39 +0000]
user cpio rather than rsync to copy directories

13 years agoSet requires for system-packages sub package to be >= the current version
Marc Fiuczynski [Mon, 5 Nov 2007 02:24:41 +0000]
Set requires for system-packages sub package to be >= the current version

13 years agoThe changeset revamps the vserver-reference package by changing the
Marc Fiuczynski [Fri, 2 Nov 2007 21:37:24 +0000]
The changeset revamps the vserver-reference package by changing the
way system vservers -- such as planetflow -- are built.

The old model involved copying the appropriate rpms required for, say,
planetflow to the systems-packages directory.  Upon boot the
vserver-init script then construct the reference vserver for
planetflow from those rpms.

The new model creates the reference vserver at build time, reduces it
disk footprint to just the newly installed packages for the system
vserver, and places that into the /vservers/.vstub directory (e.g.,
/vservers/.vstub/planetflow).  Upon boot the vserver-init script then
simply merges the default vserver reference with this stub to create a
/vservers/.vref/planetflow directory.

One can define new system vservers by simply creating a .lst file in
the reference-vservers/ directory.  See the planetflow.lst file as an

13 years agoappend to log file; use logrotate;
Marc Fiuczynski [Fri, 2 Nov 2007 14:53:27 +0000]
append to log file; use logrotate;

13 years agoAdd in filesystem package explicitly.
Marc Fiuczynski [Mon, 15 Oct 2007 16:29:50 +0000]
Add in filesystem package explicitly.

13 years agoModule has been renamed from vserver-reference to VserverReference. Update the pushd...
Marc Fiuczynski [Sun, 14 Oct 2007 18:16:59 +0000]
Module has been renamed from vserver-reference to VserverReference.  Update the pushd to VserverReference.

13 years agobump build
Faiyaz Ahmed [Fri, 7 Sep 2007 19:17:45 +0000]
bump build

13 years agos/jre-somejunk/jre
Faiyaz Ahmed [Fri, 7 Sep 2007 19:11:38 +0000]

13 years agoadded jre... :-(
Faiyaz Ahmed [Thu, 6 Sep 2007 20:41:23 +0000]
added jre... :-(

13 years agouse build/build.common functions
Marc Fiuczynski [Fri, 31 Aug 2007 02:29:35 +0000]
use build/build.common functions

13 years agorely on build/build.common to pick default fedora release correctly
Marc Fiuczynski [Fri, 31 Aug 2007 02:27:55 +0000]
rely on build/build.common to pick default fedora release correctly

13 years agofix to selecting Fedora release number
Marc Fiuczynski [Tue, 28 Aug 2007 21:39:20 +0000]
fix to selecting Fedora release number

13 years agomake Fedora 7 compatible
Marc Fiuczynski [Fri, 24 Aug 2007 06:21:04 +0000]
make Fedora 7 compatible

13 years agomore debugging output
Marc Fiuczynski [Fri, 24 Aug 2007 06:06:04 +0000]
more debugging output

13 years agoFedora 7 does not pull in findutils via a dependency
Marc Fiuczynski [Fri, 24 Aug 2007 05:50:54 +0000]
Fedora 7 does not pull in findutils via a dependency

13 years agodefault to FC4 if we cannot figure out Fedora version
Marc Fiuczynski [Fri, 24 Aug 2007 04:43:06 +0000]
default to FC4 if we cannot figure out Fedora version

13 years agochanged code that figures out which Fedora version we are running on
Marc Fiuczynski [Fri, 24 Aug 2007 04:40:48 +0000]
changed code that figures out which Fedora version we are running on

13 years agoBump version
Faiyaz Ahmed [Mon, 20 Aug 2007 20:15:20 +0000]
Bump version

13 years agoBump minor version
Faiyaz Ahmed [Mon, 13 Aug 2007 20:34:46 +0000]
Bump minor version

13 years agoFix version / revision.
Faiyaz Ahmed [Mon, 13 Aug 2007 20:04:39 +0000]
Fix version / revision.

13 years agonix binaries from cvs. kthnxbi
Faiyaz Ahmed [Mon, 13 Aug 2007 18:06:51 +0000]
nix binaries from cvs.  kthnxbi

13 years agoRemove java rpm from module. Moved to repo.
Faiyaz Ahmed [Mon, 13 Aug 2007 18:02:33 +0000]
Remove java rpm from module.  Moved to repo.

13 years agoInstall java in the reference image.
David E. Eisenstat [Mon, 25 Jun 2007 19:52:27 +0000]
Install java in the reference image.

13 years agoJava RPM.
David E. Eisenstat [Mon, 25 Jun 2007 19:46:34 +0000]
Java RPM.

13 years agoAdd "which".
David E. Eisenstat [Mon, 25 Jun 2007 19:40:01 +0000]
Add "which".

13 years agoinvoke build.sh with fedora core release argument
Marc Fiuczynski [Thu, 8 Mar 2007 17:54:12 +0000]
invoke build.sh with fedora core release argument

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

14 years ago- move vserver-reference to .vref/default
Mark Huang [Mon, 13 Nov 2006 19:04:16 +0000]
- move vserver-reference to .vref/default

14 years ago- build planetflow reference type
Mark Huang [Mon, 13 Nov 2006 19:00:01 +0000]
- build planetflow reference type

14 years ago- move vserver-reference to .vref/default
Mark Huang [Mon, 13 Nov 2006 18:59:32 +0000]
- move vserver-reference to .vref/default
- remove pl_conf

14 years ago- remove stale rpm locks on startup
Mark Huang [Thu, 10 Aug 2006 18:49:16 +0000]
- remove stale rpm locks on startup

14 years agonow building mysql locally, no longer require third party mysql repository
Mark Huang [Sat, 1 Jul 2006 18:13:31 +0000]
now building mysql locally, no longer require third party mysql repository

14 years ago- build FC4 based VServer Reference by default
Mark Huang [Mon, 15 May 2006 21:16:41 +0000]
- build FC4 based VServer Reference by default

14 years agoupdate configuration files and GPG keys in reference images and system slices daily
Mark Huang [Tue, 9 May 2006 22:22:40 +0000]
update configuration files and GPG keys in reference images and system slices daily

14 years ago- fix how GPG keys are pushed into the reference images
Mark Huang [Tue, 9 May 2006 16:45:28 +0000]
- fix how GPG keys are pushed into the reference images

14 years ago- also copy Fedora signing key to reference images
Mark Huang [Mon, 8 May 2006 20:52:30 +0000]
- also copy Fedora signing key to reference images

14 years ago- treat system slices (pl_*) as reference images in that their
Mark Huang [Mon, 8 May 2006 20:33:02 +0000]
- treat system slices (pl_*) as reference images in that their
  configuration files should always be updated
- expect boot server certificate to be in /usr/boot/ (Boot
  Manager will put it here soon); copy boot server certificate to
  /usr/boot/ in the reference image

14 years ago- bump release number
Mark Huang [Mon, 1 May 2006 21:31:51 +0000]
- bump release number

14 years ago- also update cached reference images
Mark Huang [Mon, 1 May 2006 21:30:30 +0000]
- also update cached reference images
- install /etc/planetlab/plc_config* files if present
- install boot server certificate in location specified by plc_config
  variable PLC_BOOT_SSL_CRT

14 years ago- move coreutils to Requires(pre)
Mark Huang [Tue, 11 Apr 2006 15:04:47 +0000]
- move coreutils to Requires(pre)

14 years ago- fix for FC4 yum
Mark Huang [Mon, 10 Apr 2006 22:21:48 +0000]
- fix for FC4 yum
- always try and download and record the package dependency so that we
  can be re-run
- skip blank lines to avoid segfaulting grep

14 years ago- bump version to 4.0
Mark Huang [Mon, 10 Apr 2006 20:38:28 +0000]
- bump version to 4.0

14 years ago- build FC4 reference image
Mark Huang [Mon, 10 Apr 2006 20:38:03 +0000]
- build FC4 reference image

14 years ago- specify -k to mkfedora so that FC4 kernel* packages don't get installed
Mark Huang [Mon, 10 Apr 2006 20:37:41 +0000]
- specify -k to mkfedora so that FC4 kernel* packages don't get installed

14 years agoadd necessary Requires: coreutils
Mark Huang [Wed, 5 Apr 2006 21:29:11 +0000]
add necessary Requires: coreutils