Changeset 2097 for trunk/packages/invirt-remote
- Timestamp:
- Feb 5, 2009, 3:24:56 AM (16 years ago)
- 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=low2 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 return6 codes get passed on.7 8 -- Evan Broder <broder@mit.edu> Sat, 31 Jan 2009 03:51:54 -05009 10 1 invirt-remote (0.3.1) unstable; urgency=low 11 2 -
trunk/packages/invirt-remote/host/usr/sbin/invirt-remote
r2093 r2097 22 22 ;; 23 23 info) 24 exec /usr/sbin/xm info24 COMMAND=/usr/sbin/xm 25 25 ;; 26 26 vnccert) … … 39 39 esac 40 40 41 exec "$COMMAND""$SERVICE" "$@"41 $COMMAND "$SERVICE" "$@" -
trunk/packages/invirt-remote/host/usr/sbin/invirt-vmcontrol
r2093 r2097 12 12 ACTION="$2" 13 13 MACHINE="d_$ORIGMACHINE" 14 15 xm () {16 command xm "$@" || exit 3517 }18 14 19 15 case "$ACTION" in -
trunk/packages/invirt-remote/server/usr/sbin/invirt-remote-proxy
r2094 r2097 14 14 case "$TYPE/$SERVICE" in 15 15 web/listvms ) 16 execinvirt-remote-listvms "$@" ;;16 invirt-remote-listvms "$@" ;; 17 17 web/vnccert ) 18 execinvirt-remote-vnccert "$@" ;;18 invirt-remote-vnccert "$@" ;; 19 19 control/help ) 20 execinvirt-remctl-help ;;20 invirt-remctl-help ;; 21 21 control/create|control/install ) 22 execinvirt-remote-create "$SERVICE" "$MACHINE" "$@" ;;22 invirt-remote-create "$SERVICE" "$MACHINE" "$@" ;; 23 23 control/listhost|control/list-host ) 24 execinvirt-remote-listhost "$MACHINE" "$@" ;;24 invirt-remote-listhost "$MACHINE" "$@" ;; 25 25 control/* ) 26 26 # Everything but create must go where the VM is already running. 27 execinvirt-remote-control "$MACHINE" "$SERVICE" "$@" ;;27 invirt-remote-control "$MACHINE" "$SERVICE" "$@" ;; 28 28 * ) 29 execremctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;;29 remctl "$(invirt-getconf hosts.0.hostname)" remote "$TYPE" "$SERVICE" "$@" ;; 30 30 esac
Note: See TracChangeset
for help on using the changeset viewer.