[Pkg-libvirt-commits] [libguestfs] 53/72: Revert "launch: libvirt: In debug messages use ls --lcontext instead of ls -Z."

Hilko Bengen bengen at moszumanska.debian.org
Sun Apr 5 15:19:52 UTC 2015


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

bengen pushed a commit to branch master
in repository libguestfs.

commit 3aea220b00a69a9c531e91e2f4473cfa96e7cb69
Author: Richard W.M. Jones <rjones at redhat.com>
Date:   Wed Mar 11 17:24:59 2015 +0000

    Revert "launch: libvirt: In debug messages use ls --lcontext instead of ls -Z."
    
    The --lcontext option was removed from coreutils ls (in 2007, cough).
    
    Fedora carried a patch re-adding these options [I believe
    unintentionally], but that patch was dropped in Fedora 23, so the
    --lcontext option is gone for good.
    
    This reverts commit f9c5b4aa2a6e8890eb20e15165bbe6820e6011b5.
---
 src/launch-libvirt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/launch-libvirt.c b/src/launch-libvirt.c
index aaa8501..6041a28 100644
--- a/src/launch-libvirt.c
+++ b/src/launch-libvirt.c
@@ -851,7 +851,7 @@ debug_appliance_permissions (guestfs_h *g)
   guestfs___cmd_add_arg (cmd, "-a");
   guestfs___cmd_add_arg (cmd, "-l");
   guestfs___cmd_add_arg (cmd, "-R");
-  guestfs___cmd_add_arg (cmd, "--lcontext");
+  guestfs___cmd_add_arg (cmd, "-Z");
   guestfs___cmd_add_arg (cmd, appliance);
   guestfs___cmd_set_stdout_callback (cmd, debug_permissions_cb, NULL, 0);
   guestfs___cmd_run (cmd);
@@ -866,7 +866,7 @@ debug_socket_permissions (guestfs_h *g)
     guestfs___cmd_add_arg (cmd, "ls");
     guestfs___cmd_add_arg (cmd, "-a");
     guestfs___cmd_add_arg (cmd, "-l");
-    guestfs___cmd_add_arg (cmd, "--lcontext");
+    guestfs___cmd_add_arg (cmd, "-Z");
     guestfs___cmd_add_arg (cmd, g->tmpdir);
     guestfs___cmd_set_stdout_callback (cmd, debug_permissions_cb, NULL, 0);
     guestfs___cmd_run (cmd);

-- 
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