Stephen Soltesz [Mon, 3 Aug 2009 16:00:31 +0000 (16:00 +0000)]
the code looks like it was incomplete, since it referenced a local value
rather than iterating across all of them. This fix applies the 'rm' to all
VROOT dirs, and prevents 'rpm --allmatches' from hanging on boot up.
Thierry Parmentelat [Tue, 24 Mar 2009 15:29:17 +0000 (15:29 +0000)]
Tagging module VserverReference - VserverReference-4.2-12
fix for fedora 10
Thierry Parmentelat [Tue, 24 Mar 2009 13:18:33 +0000 (13:18 +0000)]
fix for gnuradio
Thierry Parmentelat [Thu, 2 Oct 2008 18:15:21 +0000 (18:15 +0000)]
Tagging module VserverReference - VserverReference-4.2-11
on 64bits archs, locates util-vserver's config file correctly
Thierry Parmentelat [Wed, 1 Oct 2008 04:42:49 +0000 (04:42 +0000)]
searches util-vserver init file - for 64bits archs
Daniel Hokka Zakrisson [Thu, 3 Jul 2008 11:55:48 +0000 (11:55 +0000)]
Tagging module VserverReference - VserverReference-4.2-10
Use the correct yum.conf to get access to required packages such as pf2slice.
Daniel Hokka Zakrisson [Thu, 3 Jul 2008 11:48:47 +0000 (11:48 +0000)]
Use the right yum configuration to get access to the necessary RPMs.
Daniel Hokka Zakrisson [Mon, 30 Jun 2008 18:07:04 +0000 (18:07 +0000)]
Tagging module VserverReference - VserverReference-4.2-9
Scriptlet fix.
Daniel Hokka Zakrisson [Mon, 30 Jun 2008 18:05:15 +0000 (18:05 +0000)]
The scriptlet should succeed if the directory does not exist.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 20:05:56 +0000 (20:05 +0000)]
Tagging module VserverReference - VserverReference-4.2-8
Unset the immutable and iunlink bits to make sure we can install the package.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 20:04:53 +0000 (20:04 +0000)]
Try to fix weird state of files causing the install to fail.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:42:46 +0000 (16:42 +0000)]
Tagging module VserverReference - VserverReference-4.2-7
Let rpm remove the files.
Daniel Hokka Zakrisson [Fri, 27 Jun 2008 16:05:53 +0000 (16:05 +0000)]
RPM should take care of this.
Thierry Parmentelat [Thu, 24 Apr 2008 17:12:30 +0000 (17:12 +0000)]
Tagging module VserverReference - VserverReference-4.2-6
empty change, this should *not* be a noarch package
Thierry Parmentelat [Thu, 24 Apr 2008 13:10:39 +0000 (13:10 +0000)]
undoing previous change - thanks Daniel
Thierry Parmentelat [Thu, 24 Apr 2008 12:27:35 +0000 (12:27 +0000)]
vserver images considered arch-neutral
Thierry Parmentelat [Mon, 21 Apr 2008 13:04:22 +0000 (13:04 +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
Faiyaz Ahmed [Thu, 10 Apr 2008 16:18:30 +0000 (16:18 +0000)]
Make sudo log to /var/log/sudo
Thierry Parmentelat [Thu, 10 Apr 2008 14:03:14 +0000 (14:03 +0000)]
cross-module change -- cleaning vcached, and vserver pre install script
Thierry Parmentelat [Fri, 28 Mar 2008 14:03:51 +0000 (14:03 +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'
Thierry Parmentelat [Fri, 28 Mar 2008 14:00:45 +0000 (14:00 +0000)]
bugfix : slices did not get created correctly
Thierry Parmentelat [Wed, 26 Mar 2008 10:45:53 +0000 (10:45 +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
Thierry Parmentelat [Sat, 22 Mar 2008 11:03:45 +0000 (11:03 +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
Thierry Parmentelat [Sat, 22 Mar 2008 08:23:11 +0000 (08:23 +0000)]
somehow yesterday's change got lost
Stephen Soltesz [Fri, 21 Mar 2008 22:36:14 +0000 (22:36 +0000)]
Adds a conditional check to see whether COW support is enabled in the kernel.
sets the iunlink attribute accordingly.
Thierry Parmentelat [Fri, 21 Mar 2008 18:29:00 +0000 (18:29 +0000)]
oops, wrong quoting
Thierry Parmentelat [Fri, 21 Mar 2008 16:35:32 +0000 (16:35 +0000)]
support for multiple slice reference images
* vserver-reference rpm names have changed and become
vserver-@pldistro@-@fcdistro@-@arch@
vserver-systemslices-@pldistro@-@fcdistro@-@arch@
* this contains the images located as
/vservers/.vref/@pldistro@-@fcdistro@-@arch@
and
/vservers/.vstub/@pldistro@-@fcdistro@-@arch@/planetflow
respectively
* 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
Thierry Parmentelat [Mon, 10 Mar 2008 11:45:24 +0000 (11:45 +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
Stephen Soltesz [Wed, 27 Feb 2008 21:53:32 +0000 (21:53 +0000)]
Added post operation to the reference image as well as the vdirs.
Marc Fiuczynski [Mon, 25 Feb 2008 19:47:13 +0000 (19:47 +0000)]
force the overwrite of /etc/yum.conf from /etc/yum.conf.rpmnew file
Marc Fiuczynski [Mon, 25 Feb 2008 19:45:57 +0000 (19:45 +0000)]
use the default /etc/yum.conf that comes with the yum package
Marc Fiuczynski [Mon, 25 Feb 2008 19:41:11 +0000 (19:41 +0000)]
no longer overwrite guest's /etc/yum.conf with the version from the host
Stephen Soltesz [Fri, 22 Feb 2008 21:25:10 +0000 (21:25 +0000)]
cleaner way of finding the vserver.pkgs *.post file.
Stephen Soltesz [Wed, 20 Feb 2008 20:29:00 +0000 (20:29 +0000)]
Modified to execute config.planetlab/vserver.post scripts to perform final
vserver-reference image cleanups.
Thierry Parmentelat [Fri, 15 Feb 2008 14:53:43 +0000 (14:53 +0000)]
Tagging module VserverReference - vserver-4.2-2
vserver image to properly use links rather than copies
Faiyaz Ahmed [Thu, 7 Feb 2008 19:14:18 +0000 (19:14 +0000)]
to allow vclone to do the right thing wrt to linking unified files.
Thierry Parmentelat [Thu, 31 Jan 2008 15:44:44 +0000 (15:44 +0000)]
Tagging module VserverReference -- from vserver-4.2-0 to vserver-4.2-1
more careful scan of the vserver-*.pkgs image specifications
Marc Fiuczynski [Thu, 10 Jan 2008 19:34:24 +0000 (19:34 +0000)]
Handle case when there are no vserver-* packages properly
Thierry Parmentelat [Tue, 8 Jan 2008 11:49:43 +0000 (11:49 +0000)]
ready for tagging
reviewed URLs and %{plrelease}
Daniel Hokka Zakrisson [Fri, 14 Dec 2007 20:55:14 +0000 (20:55 +0000)]
Move Requires to the correct package.
Thierry Parmentelat [Fri, 14 Dec 2007 12:06:07 +0000 (12:06 +0000)]
sets PL_BOOTCD to prevent components from starting at build-time
Daniel Hokka Zakrisson [Fri, 7 Dec 2007 15:35:12 +0000 (15:35 +0000)]
Fix invalid syntax.
Thierry Parmentelat [Fri, 7 Dec 2007 12:31:14 +0000 (12:31 +0000)]
cleaning up the root creation functions and build.common - untested
Thierry Parmentelat [Thu, 6 Dec 2007 08:55:20 +0000 (08:55 +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
Notes.
(*) 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
Thierry Parmentelat [Fri, 30 Nov 2007 05:57:37 +0000 (05:57 +0000)]
removed jre from verver ref - was not found anyway
Thierry Parmentelat [Wed, 21 Nov 2007 11:31:50 +0000 (11:31 +0000)]
oops
Thierry Parmentelat [Wed, 21 Nov 2007 09:51:31 +0000 (09:51 +0000)]
oops - uses new lst parsing in subdir too
Thierry Parmentelat [Wed, 21 Nov 2007 09:42:14 +0000 (09:42 +0000)]
naming .lst files after pldistro - including the <pldistro>-vservers directory
Thierry Parmentelat [Sun, 18 Nov 2007 21:48:08 +0000 (21:48 +0000)]
the issue with ulogd seems to be related to mkfedora having lost its -k option somehow
Thierry Parmentelat [Fri, 16 Nov 2007 08:40:09 +0000 (08:40 +0000)]
using disablerepo with extras makes sense with fc <= 6 only
Thierry Parmentelat [Tue, 13 Nov 2007 18:53:39 +0000 (18:53 +0000)]
disabling the extras fedora repo when installing netflow - yum gets confused by ulogd - temporary
Marc Fiuczynski [Thu, 8 Nov 2007 22:30:19 +0000 (22:30 +0000)]
switch to using pl_get{Packages,Groups}
Marc Fiuczynski [Wed, 7 Nov 2007 21:04:05 +0000 (21:04 +0000)]
* using the common pl_getPackages() and pl_getGroups() functions
Marc Fiuczynski [Mon, 5 Nov 2007 21:11:41 +0000 (21:11 +0000)]
the 'yum clean all' step must preceed the 'rsync' step
Marc Fiuczynski [Mon, 5 Nov 2007 21:03:52 +0000 (21:03 +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
Marc Fiuczynski [Mon, 5 Nov 2007 19:53:57 +0000 (19:53 +0000)]
be more verbose about building the system vservers
Marc Fiuczynski [Mon, 5 Nov 2007 19:31:24 +0000 (19:31 +0000)]
clean out yum cache to reduce system vserver footprint
Marc Fiuczynski [Mon, 5 Nov 2007 16:14:48 +0000 (16:14 +0000)]
This change creates a proper vserver stub that includes all new files
AND modified files. The previous implementation only handled the
former.
Marc Fiuczynski [Mon, 5 Nov 2007 16:11:39 +0000 (16:11 +0000)]
user cpio rather than rsync to copy directories
Marc Fiuczynski [Mon, 5 Nov 2007 02:24:41 +0000 (02:24 +0000)]
Set requires for system-packages sub package to be >= the current version
Marc Fiuczynski [Fri, 2 Nov 2007 21:37:24 +0000 (21:37 +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
example.
Marc Fiuczynski [Fri, 2 Nov 2007 14:53:27 +0000 (14:53 +0000)]
append to log file; use logrotate;
Marc Fiuczynski [Mon, 15 Oct 2007 16:29:50 +0000 (16:29 +0000)]
Add in filesystem package explicitly.
Marc Fiuczynski [Sun, 14 Oct 2007 18:16:59 +0000 (18:16 +0000)]
Module has been renamed from vserver-reference to VserverReference. Update the pushd to VserverReference.
Faiyaz Ahmed [Fri, 7 Sep 2007 19:17:45 +0000 (19:17 +0000)]
bump build
Faiyaz Ahmed [Fri, 7 Sep 2007 19:11:38 +0000 (19:11 +0000)]
s/jre-somejunk/jre
Faiyaz Ahmed [Thu, 6 Sep 2007 20:41:23 +0000 (20:41 +0000)]
added jre... :-(
Marc Fiuczynski [Fri, 31 Aug 2007 02:29:35 +0000 (02:29 +0000)]
use build/build.common functions
Marc Fiuczynski [Fri, 31 Aug 2007 02:27:55 +0000 (02:27 +0000)]
rely on build/build.common to pick default fedora release correctly
Marc Fiuczynski [Tue, 28 Aug 2007 21:39:20 +0000 (21:39 +0000)]
fix to selecting Fedora release number
Marc Fiuczynski [Fri, 24 Aug 2007 06:21:04 +0000 (06:21 +0000)]
make Fedora 7 compatible
Marc Fiuczynski [Fri, 24 Aug 2007 06:06:04 +0000 (06:06 +0000)]
more debugging output
Marc Fiuczynski [Fri, 24 Aug 2007 05:50:54 +0000 (05:50 +0000)]
Fedora 7 does not pull in findutils via a dependency
Marc Fiuczynski [Fri, 24 Aug 2007 04:43:06 +0000 (04:43 +0000)]
default to FC4 if we cannot figure out Fedora version
Marc Fiuczynski [Fri, 24 Aug 2007 04:40:48 +0000 (04:40 +0000)]
changed code that figures out which Fedora version we are running on
Faiyaz Ahmed [Mon, 20 Aug 2007 20:15:20 +0000 (20:15 +0000)]
Bump version
Faiyaz Ahmed [Mon, 13 Aug 2007 20:34:46 +0000 (20:34 +0000)]
Bump minor version
Faiyaz Ahmed [Mon, 13 Aug 2007 20:04:39 +0000 (20:04 +0000)]
Fix version / revision.
Faiyaz Ahmed [Mon, 13 Aug 2007 18:06:51 +0000 (18:06 +0000)]
nix binaries from cvs. kthnxbi
Faiyaz Ahmed [Mon, 13 Aug 2007 18:02:33 +0000 (18:02 +0000)]
Remove java rpm from module. Moved to repo.
David E. Eisenstat [Mon, 25 Jun 2007 19:52:27 +0000 (19:52 +0000)]
Install java in the reference image.
David E. Eisenstat [Mon, 25 Jun 2007 19:46:34 +0000 (19:46 +0000)]
Java RPM.
David E. Eisenstat [Mon, 25 Jun 2007 19:40:01 +0000 (19:40 +0000)]
Add "which".
Marc Fiuczynski [Thu, 8 Mar 2007 17:54:12 +0000 (17:54 +0000)]
invoke build.sh with fedora core release argument
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
Mark Huang [Mon, 13 Nov 2006 19:04:16 +0000 (19:04 +0000)]
- move vserver-reference to .vref/default
Mark Huang [Mon, 13 Nov 2006 19:00:01 +0000 (19:00 +0000)]
- build planetflow reference type
Mark Huang [Mon, 13 Nov 2006 18:59:32 +0000 (18:59 +0000)]
- move vserver-reference to .vref/default
- remove pl_conf
Mark Huang [Thu, 10 Aug 2006 18:49:16 +0000 (18:49 +0000)]
- remove stale rpm locks on startup
Mark Huang [Sat, 1 Jul 2006 18:13:31 +0000 (18:13 +0000)]
now building mysql locally, no longer require third party mysql repository
Mark Huang [Mon, 15 May 2006 21:16:41 +0000 (21:16 +0000)]
- build FC4 based VServer Reference by default
Mark Huang [Tue, 9 May 2006 22:22:40 +0000 (22:22 +0000)]
update configuration files and GPG keys in reference images and system slices daily
Mark Huang [Tue, 9 May 2006 16:45:28 +0000 (16:45 +0000)]
- fix how GPG keys are pushed into the reference images
Mark Huang [Mon, 8 May 2006 20:52:30 +0000 (20:52 +0000)]
- also copy Fedora signing key to reference images
Mark Huang [Mon, 8 May 2006 20:33:02 +0000 (20:33 +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
Mark Huang [Mon, 1 May 2006 21:31:51 +0000 (21:31 +0000)]
- bump release number
Mark Huang [Mon, 1 May 2006 21:30:30 +0000 (21: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
Mark Huang [Tue, 11 Apr 2006 15:04:47 +0000 (15:04 +0000)]
- move coreutils to Requires(pre)
Mark Huang [Mon, 10 Apr 2006 22:21:48 +0000 (22:21 +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
Mark Huang [Mon, 10 Apr 2006 20:38:28 +0000 (20:38 +0000)]
- bump version to 4.0