[Pkg-libvirt-commits] [libguestfs] 27/66: Revert "v2v: -o rhev: Use chown --reference instead of 36.36 (RHBZ#1143887)."

Hilko Bengen bengen at moszumanska.debian.org
Fri Oct 3 14:47:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag debian/1%1.27.54-1
in repository libguestfs.

commit 2e3e254e959f97ef967c6d3f89b1952f6282d034
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Mon Sep 22 18:13:22 2014 +0100

    Revert "v2v: -o rhev: Use chown --reference instead of 36.36 (RHBZ#1143887)."
    
    This reverts commit 70444670acc60c5700bcd07ea7440d186eb4b60c.
---
 v2v/output_rhev.ml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/v2v/output_rhev.ml b/v2v/output_rhev.ml
index 75dc8cd..f155357 100644
--- a/v2v/output_rhev.ml
+++ b/v2v/output_rhev.ml
@@ -241,13 +241,11 @@ object
     close_out chan;
 
     (* Try to chown the images and metadata. *)
-    let cmd =
-      sprintf "chown -R --reference=%s %s %s"
-        (quote (esd_mp // esd_uuid)) (quote dir) (quote image_dir) in
+    let cmd = sprintf "chown -R 36.36 %s %s" (quote dir) (quote image_dir) in
     if verbose then eprintf "%s\n%!" cmd;
     if Sys.command cmd <> 0 then (
       (* Note: Don't print the mountpoint in the message below. *)
-      warning ~prog (f_"could not chown newly created RHEV files and directories to vdsm.kvm.\n\nYou will need to do this operation by hand, otherwise RHEV-M will give errors when trying to import this domain.\n\nThe directories (and all files inside) that have to be owned by vdsm.kvm are:\n%s\n%s")
+      warning ~prog (f_"could not chown newly created RHEV files and directories to 36.36. You may need to do this by hand, otherwise RHEV-M may give errors when trying to import this domain.\n\nThe directories (and all files inside) that have to be owned by 36.36 are:\n%s\n%s")
         (esd_uuid // "master" // "vms" // vm_uuid)
         (esd_uuid // "images" // image_uuid)
     );

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list