[SCM] kdesu packaging branch, master, updated. debian/5.37.0-2-50-g19907f3

Maximiliano Curia maxy at moszumanska.debian.org
Tue Jan 2 18:38:15 UTC 2018


Gitweb-URL: http://git.debian.org/?p=pkg-kde/frameworks/kdesu.git;a=commitdiff;h=f6abfa0

The following commit has been merged in the master branch:
commit f6abfa0ed499d578f2a05507e452344759d69e80
Author: Jonathan Riddell <jr at jriddell.org>
Date:   Wed Feb 8 15:20:04 2017 +0000

    patches already in branch
---
 ...G_RUNTIME_DIR-in-processes-run-with-kdesu.patch | 43 ----------------------
 debian/patches/series                              |  1 -
 2 files changed, 44 deletions(-)

diff --git a/debian/patches/e3ff52a-Unsets-XDG_RUNTIME_DIR-in-processes-run-with-kdesu.patch b/debian/patches/e3ff52a-Unsets-XDG_RUNTIME_DIR-in-processes-run-with-kdesu.patch
deleted file mode 100644
index cb0ad17..0000000
--- a/debian/patches/e3ff52a-Unsets-XDG_RUNTIME_DIR-in-processes-run-with-kdesu.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From e3ff52adec249b7cfa1a375866c268485a1cd344 Mon Sep 17 00:00:00 2001
-From: Antonio Larrosa <larrosa at kde.org>
-Date: Thu, 10 Nov 2016 15:33:36 +0100
-Subject: Unsets XDG_RUNTIME_DIR in processes run with kdesu
-
-Summary:
-If we keep a XDG_RUNTIME_DIR value from another user then all kind of
-breakages might happen. For example, if user foo runs
-"kdesu -u bar dolphin", then when dolphin tries to get
-QStandardPaths::writableLocation(RuntimeLocation), it returns an empty string
-(because XDG_RUNTIME_DIR is not correct). which makes kio try
-to write a socket to access kio slaves in / . Which, for most users
-results in applications not being able to use kio (so no usable dolphin)
-and for root, it means sockets were created in / .
-
-Look at https://bugzilla.opensuse.org/show_bug.cgi?id=1009510 and
-https://phabricator.kde.org/D3317 for more information
-
-Reviewers: dfaure
-
-Reviewed By: dfaure
-
-Differential Revision: https://phabricator.kde.org/D3331
----
- src/kdesu_stub.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/kdesu_stub.c b/src/kdesu_stub.c
-index dcc76d8..49db577 100644
---- a/src/kdesu_stub.c
-+++ b/src/kdesu_stub.c
-@@ -258,6 +258,8 @@ int main()
-         unsetenv("LC_ALL");
-     }
- 
-+    unsetenv("XDG_RUNTIME_DIR");
-+
-     /* Do we need to change uid? */
- 
-     pw = getpwnam(params[P_USER].value);
--- 
-cgit v0.11.2
-
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 3606e5a..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-e3ff52a-Unsets-XDG_RUNTIME_DIR-in-processes-run-with-kdesu.patch

-- 
kdesu packaging



More information about the pkg-kde-commits mailing list