[Pkg-libvirt-commits] [libvirt] 02/02: Pass GPG_TTY env var to the ssh binary

Guido Guenther agx at moszumanska.debian.org
Tue Nov 15 13:30:08 UTC 2016


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

agx pushed a commit to branch debian/sid
in repository libvirt.

commit f792cd7314363d7ab7bf082e8fd7972578642adb
Author: Guido Günther <agx at sigxcpu.org>
Date:   Tue Nov 15 14:18:06 2016 +0100

    Pass GPG_TTY env var to the ssh binary
    
    Closes: #843863
    Thanks: Guilhem Moulin
---
 .../Pass-GPG_TTY-env-var-to-the-ssh-binary.patch     | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/Pass-GPG_TTY-env-var-to-the-ssh-binary.patch b/debian/patches/Pass-GPG_TTY-env-var-to-the-ssh-binary.patch
new file mode 100644
index 0000000..4ec379e
--- /dev/null
+++ b/debian/patches/Pass-GPG_TTY-env-var-to-the-ssh-binary.patch
@@ -0,0 +1,20 @@
+From: Guilhem Moulin <guilhem at guilhem.org>
+Date: Thu, 10 Nov 2016 11:17:05 +0100
+Subject: Pass GPG_TTY env var to the ssh binary
+
+---
+ src/rpc/virnetsocket.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/rpc/virnetsocket.c b/src/rpc/virnetsocket.c
+index 405f5ba..95cda86 100644
+--- a/src/rpc/virnetsocket.c
++++ b/src/rpc/virnetsocket.c
+@@ -839,6 +839,7 @@ int virNetSocketNewConnectSSH(const char *nodename,
+     virCommandAddEnvPassBlockSUID(cmd, "KRB5CCNAME", NULL);
+     virCommandAddEnvPassBlockSUID(cmd, "SSH_AUTH_SOCK", NULL);
+     virCommandAddEnvPassBlockSUID(cmd, "SSH_ASKPASS", NULL);
++    virCommandAddEnvPassBlockSUID(cmd, "GPG_TTY", NULL);
+     virCommandAddEnvPassBlockSUID(cmd, "DISPLAY", NULL);
+     virCommandAddEnvPassBlockSUID(cmd, "XAUTHORITY", NULL);
+     virCommandClearCaps(cmd);
diff --git a/debian/patches/series b/debian/patches/series
index 706684c..9574f9a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,3 +16,4 @@ virt-aa-helper-apparmor-allow-usr-share-OVMF-too.patch
 Set-defaults-for-zfs-tools.patch
 Unbreak-rebuilding-docs-with-release-tarballs.patch
 configure-Prefer-usr-bin-over-bin-for-numad.patch
+Pass-GPG_TTY-env-var-to-the-ssh-binary.patch

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



More information about the Pkg-libvirt-commits mailing list