Changeset 2094 for trunk


Ignore:
Timestamp:
Feb 5, 2009, 3:19:28 AM (16 years ago)
Author:
broder
Message:

Always exec instead of fork&exec on the remctl server so that return
codes get passed on.

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

Legend:

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

    r2093 r2094  
    33  * Don't pass untrusted arguments to xm info.
    44  * Exit with a non-0 error code on the host if there's an error.
    5 
    6  -- Evan Broder <broder@mit.edu>  Sat, 31 Jan 2009 03:51:24 -0500
     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
    79
    810invirt-remote (0.3.1) unstable; urgency=low
  • trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy

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