Skip to content
This repository

Jul 20, 2012

  1. Pierre Riteau

    Hardcode the qemu-nbd path in mount-alter instead of using an argument

    Avoid any security issues related to passing an arbitrary binary path to
    a script running under sudo.
    priteau authored

Jul 10, 2012

  1. Pierre Riteau

    Add support for booting KVM machines from qcow2 images

    Detect qcow2 images by reading the image file header.  It contains the
    "QFI" string and the qcow version number.  The libvirt template is
    configured to use the qcow2 driver when a qcow2 image is detected.
    
    The root partition is altered by attaching it to a host device using
    qemu-nbd.  Since qemu-nbd can be named differently depending on the
    Linux distribution, it is configurable by mount.conf.
    
    Closes #105.
    priteau authored
  2. Pierre Riteau

    Create /root/.ssh only if /root already exists

    priteau authored

Jul 03, 2012

  1. Pierre Riteau

    Make sure /root/.ssh exists before copying authorized_keys

    Administrators can revert to the old behavior by setting CREATE_SSH_DIR
    to false.
    
    Closes #96.
    priteau authored

Jun 29, 2012

  1. Pierre Riteau

    Add a partition label to each blankspace partition

    Labels are extracted from the partition file name, and are named
    incrementally: blankpartition0, blankpartition1, etc.
    
    A label on the blankspace partition will allow mounting via label
    instead of device. This makes it easier in fstab where the device of the
    blankspace partition may not be known a priori.
    
    Thanks to Michael Paterson for the feature request and initial patch.
    
    Closes #88.
    priteau authored

Dec 28, 2010

  1. David LaBissoniere

    Removed set -e from mount-alter.sh

    Bash 4.x changes the behavior of "( cmd )" statements under set -e. Previously these commands would not trigger an exit but with 4.x they do. mount-alter.sh relied on the old behavior to ensure that umount is called even if the alter fails. Other commands in the script are checked for success, so we are safe in removing set -e.
    
    Closes GH-18.
    labisso authored

Oct 08, 2010

  1. Pierre Riteau

    Also close the lock file descriptor when removing an address

    priteau authored

Oct 07, 2010

  1. Pierre Riteau

    Fix dhcp-config.sh locking

    * Use >> instead of < because the lock file might not exist.
    * Add || exit $? after the subshell, otherwise any error will not be
      caught.
    * Close the file descriptor before starting dhcpd, otherwise the
      daemon will keep the lock indefinitely.
    priteau authored
  2. Pierre Riteau

    Remove the useless locking from dhcp-conf-alter.py

    The locking is being done by dhcp-config.sh which itself calls
    dhcp-conf-alter.py.
    priteau authored
  3. Pierre Riteau

    set +e is now useless, all commands that can fail are caught

    priteau authored
  4. Pierre Riteau

    Fix a small typo

    priteau authored
  5. Patrick Armstrong

    Remove references to unused lockfiles.

    oldpatricka authored priteau committed
  6. Patrick Armstrong

    Replace home-made locking solution with flock in dhcp-config.sh

    This is just like in the ebtables-config and mount-alter scripts. This was done to address bug 7101, which can cause problems when workspace-control is installed on a shared filesystem.
    oldpatricka authored priteau committed

Sep 23, 2010

  1. setting all of the permissions back where they were.

    v#	modified:   autocommon/src/org/nimbustools/auto_common/confmgr/TransformerIdentity.java
    vv#	modified:   docs/src/examples/compact/metadata/vw-logistics.xsd
    v#	modified:   docs/src/img/5.png
    BuzzTroll authored

Sep 22, 2010

  1. merged virga1 and master

    Conflicts:
    	service/client/java/source/src/org/globus/workspace/cloud/client/util/CumulusTask.java
    	tests/bt-nimbus.sh
    BuzzTroll authored

Jul 29, 2010

  1. Pierre Riteau

    Change the way the mount-alter.sh lock file is managed

    Move the lock used by mount-alter.sh to the Nimbus installation. The
    file is already created with permissions 644. Finally, change the
    flock call to open the file for reading instead of writing.
    
    With these changes, we will be able to share the lock file between
    root-owned processes and nimbus-owned processes. The write->read
    part is not mandatory, it's mainly to detect a wrong installation
    where the lock file would be missing (as mount-alter will not create
    the file automatically anymore).
    priteau authored timf committed

Jul 16, 2010

  1. David LaBissoniere

    Bugfixes for tmp-leases

    More to come..
    labisso authored

Jul 06, 2010

  1. Tim Freeman

    images may have % in name

    timf authored

Jun 30, 2010

  1. Tim Freeman

    enhancement 7065: better performing blankspace: physical partition le…

    …ases
    timf authored
  2. David LaBissoniere

    nonlocal DHCP ws-control changes

    labisso authored

Jun 19, 2010

  1. Tim Freeman

    mount+alter needs an flock, otherwise can hit: ioctl: LOOP_SET_FD: De…

    …vice or resource busy
    timf authored
  2. Tim Freeman

    flock cannot use that kind of redirection because of set -C, thanks P…

    …ierre
    timf authored

Apr 30, 2010

  1. Tim Freeman

    Bug 7009 - All scripts should use shebang /bin/bash

    timf authored

Apr 12, 2010

  1. Tim Freeman

    Fix for Bug 6962

    timf authored

Apr 06, 2010

  1. Tim Freeman

    Fix for Bug 6968: mount-alter.sh breaks when sent a partition

    timf authored

Jan 14, 2010

  1. Pierre Riteau

    Contrarily to the Xen ebtables script, we use the INPUT chain, not FO…

    …RWARD
    priteau authored
  2. Pierre Riteau

    Fix the KVM ebtables script to stop dropping traffic to the VMM

    We simply need to restrict input filtering to the corresponding VM bridge
    port, as in the Xen script. Otherwise, in a standard KVM bridge setup,
    traffic to the VMM physical NIC was subject to the ebtables rules and
    was dropped.
    
    This also allows the ebtables rules to do anti-spoofing between the VMs,
    so correct the documentation at the beginning of the script.
    priteau authored

Dec 31, 2009

  1. Tim Freeman

    urls -> nimbusproject.org

    timf authored

Dec 30, 2009

  1. Tim Freeman

    path to ebtables is now relative but the PATH value is forced inside …

    …the script which is called under sudo; absolute value configuration is still possible but now not required
    timf authored
  2. Tim Freeman

    kvm ebtables rules: all forwarded traffic is checked at INPUT so this…

    …only works with one VM at a time and if nothing else is being bridged
    timf authored
  3. Tim Freeman

    Merge branch 'wcontrol-exercising'

    Conflicts:
    	control/etc/workspace-control/networks.conf
    	control/etc/workspace-control/sudo.conf
    timf authored
  4. Tim Freeman

    xen and kvm will have different ebtables rules, sadly

    timf authored
  5. Tim Freeman

    mount+edit for HD images

    timf authored

Dec 19, 2009

  1. Tim Freeman

    xen3 now working with end to end cloud setup

    timf authored

Dec 11, 2009

  1. Tim Freeman

    more comments for sudo scripts

    timf authored
Something went wrong with that request. Please try again.