Ignore:
Timestamp:
Feb 5, 2009, 3:24:56 AM (15 years ago)
Author:
broder
Message:

For now, revert r2093-2095, which were committed by accident; I'm not
comfortable with them sitting on HEAD when I don't have time to test
them.

Location:
trunk/packages/invirt-remote
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-remote/debian/changelog

    r2094 r2097  
    1 invirt-remote (0.3.2) unstable; urgency=low
    2 
    3   * Don't pass untrusted arguments to xm info.
    4   * Exit with a non-0 error code on the host if there's an error.
    5   * Always exec instead of fork&exec on the remctl server so that return
    6     codes get passed on.
    7 
    8  -- Evan Broder <broder@mit.edu>  Sat, 31 Jan 2009 03:51:54 -0500
    9 
    101invirt-remote (0.3.1) unstable; urgency=low
    112
  • trunk/packages/invirt-remote/host/usr/sbin/invirt-remote

    r2093 r2097  
    2222                ;;
    2323            info)
    24                 exec /usr/sbin/xm info
     24                COMMAND=/usr/sbin/xm
    2525                ;;
    2626            vnccert)
     
    3939esac
    4040
    41 exec "$COMMAND" "$SERVICE" "$@"
     41$COMMAND "$SERVICE" "$@"
  • trunk/packages/invirt-remote/host/usr/sbin/invirt-vmcontrol

    r2093 r2097  
    1212ACTION="$2"
    1313MACHINE="d_$ORIGMACHINE"
    14 
    15 xm () {
    16     command xm "$@" || exit 35
    17 }
    1814
    1915case "$ACTION" in
  • trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy

    r2094 r2097  
    1414case "$TYPE/$SERVICE" in
    1515    web/listvms )
    16         exec invirt-remote-listvms "$@" ;;
     16        invirt-remote-listvms "$@" ;;
    1717    web/vnccert )
    18         exec invirt-remote-vnccert "$@" ;;
     18        invirt-remote-vnccert "$@" ;;
    1919    control/help )
    20         exec invirt-remctl-help ;;
     20        invirt-remctl-help ;;
    2121    control/create|control/install )
    22         exec invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;;
     22        invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;;
    2323    control/listhost|control/list-host )
    24         exec invirt-remote-listhost "$MACHINE" "$@" ;;
     24        invirt-remote-listhost "$MACHINE" "$@" ;;
    2525    control/* )
    2626        # Everything but create must go where the VM is already running.
    27         exec invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;;
     27        invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;;
    2828    * )
    29         exec remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;
     29        remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;
    3030esac
Note: See TracChangeset for help on using the changeset viewer.