Debian Bug report logs - #633751
virtualbox: Renaming snapshot of running VM fails silently

version graph

Package: virtualbox; Maintainer for virtualbox is Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>; Source for virtualbox is src:virtualbox.

Reported by: Ivan Vilata i Balaguer <ivan@selidor.net>

Date: Wed, 13 Jul 2011 12:01:03 UTC

Severity: normal

Found in version virtualbox/4.0.10-dfsg-1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>:
Bug#633751; Package virtualbox. (Wed, 13 Jul 2011 12:01:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ivan Vilata i Balaguer <ivan@selidor.net>:
New Bug report received and forwarded. Copy sent to Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>. (Wed, 13 Jul 2011 12:01:19 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Ivan Vilata i Balaguer <ivan@selidor.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: virtualbox: Renaming snapshot of running VM fails silently
Date: Wed, 13 Jul 2011 13:45:51 +0200
Package: virtualbox
Version: 4.0.10-dfsg-1
Severity: normal


Changing the name of a snapshot of a running VM from the command line (which
is useful for rotating old backup snapshots) does nothing without actually
giving any error message or exit code (whether the snapshot is the newest one
or otherwise).

For reproducing the bug, create a VM named "test" and start it.  Then::

  $ VBoxManage list runningvms
  "test" {484d5e8f-48a9-4f6f-aa10-f11d20fb5da2}
  $ VBoxManage snapshot test take test-snap
  0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
  $ VBoxManage snapshot test edit test-snap --name test-snap-one
  $ echo $?
  0
  $ VBoxManage snapshot test edit test-snap-one --name test-snap-two
  VBoxManage: error: Could not find a snapshot named 'test-snap-one'
  VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component Machine, interface IMachine, callee nsISupports
  Context: "FindSnapshot(Bstr(a->argv[2]).raw(), snapshot.asOutParam())" at line 411 of file VBoxManageSnapshot.cpp
  $ echo $?
  1
  $ VBoxManage snapshot test delete test-snap
  0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
  $ echo $?
  0

Stopping the VM and performing the rename works as expected::

  $ VBoxManage list runningvms
  $ VBoxManage snapshot test take test-snap
  0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
  $ VBoxManage snapshot test edit test-snap --name test-snap-one
  $ echo $?
  0
  $ VBoxManage snapshot test edit test-snap-one --name test-snap-two
  $ echo $?
  0
  $ VBoxManage snapshot test delete test-snap-two
  0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
  $ echo $?
  0

Thanks in advance!

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ca_ES.UTF-8, LC_CTYPE=ca_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virtualbox depends on:
ii  adduser                 3.113            add and remove users and groups
ii  libc6                   2.13-10          Embedded GNU C Library: Shared lib
ii  libcurl3                7.21.6-3         Multi-protocol file transfer libra
ii  libgcc1                 1:4.6.1-2        GCC support library
ii  libpng12-0              1.2.44-3         PNG library - runtime
ii  libpython2.6            2.6.7-2          Shared Python runtime library (ver
ii  libqtcore4              4:4.7.3-5        Qt 4 core module
ii  libqtgui4               4:4.7.3-5        Qt 4 GUI module
ii  libsdl1.2debian         1.2.14-6.4       Simple DirectMedia Layer
ii  libssl1.0.0             1.0.0d-3         SSL shared libraries
ii  libstdc++6              4.6.1-2          GNU Standard C++ Library v3
ii  libvncserver0           0.9.7-3          API to write one's own vnc server
ii  libx11-6                2:1.4.3-2        X11 client-side library
ii  libxcursor1             1:1.1.12-1       X cursor management library
ii  libxext6                2:1.3.0-3        X11 miscellaneous extension librar
ii  libxml2                 2.7.8.dfsg-3     GNOME XML library
ii  libxmu6                 2:1.1.0-2        X11 miscellaneous utility library
ii  libxt6                  1:1.1.1-2        X11 toolkit intrinsics library
ii  python                  2.6.6-14         interactive high-level object-orie
ii  python-central          0.6.17           register and build utility for Pyt
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages virtualbox recommends:
ii  libgl1-mesa-glx [libgl1]   7.10.3-3      free implementation of the OpenGL 
ii  libqt4-opengl              4:4.7.3-5     Qt 4 OpenGL module
ii  virtualbox-dkms            4.0.10-dfsg-1 x86 virtualization solution - kern
ii  virtualbox-qt              4.0.10-dfsg-1 x86 virtualization solution - Qt b

Versions of packages virtualbox suggests:
pn  vde2                          <none>     (no description available)
pn  virtualbox-guest-additions-is <none>     (no description available)

-- no debconf information





Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 18:55:11 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.