From 76474015fbf155a3c8c12c6582832382b13c35e4 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 11 Feb 2021 19:24:19 +0100 Subject: Fix polkit-agent-helper-1 path --- .../patches/Fix-polkit-agent-helper-1-path.patch | 25 ++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 26 insertions(+) create mode 100644 debian/patches/Fix-polkit-agent-helper-1-path.patch (limited to 'debian') diff --git a/debian/patches/Fix-polkit-agent-helper-1-path.patch b/debian/patches/Fix-polkit-agent-helper-1-path.patch new file mode 100644 index 00000000..f8005e6d --- /dev/null +++ b/debian/patches/Fix-polkit-agent-helper-1-path.patch @@ -0,0 +1,25 @@ +From: Michael Biebl +Date: Thu, 11 Feb 2021 19:21:46 +0100 +Subject: Fix polkit-agent-helper-1 path + +Use /usr/lib/policykit-1/polkit-agent-helper-1, as this path also works +on buster, i.e. the current stable release. +It should eventually be updated to use /usr/libexec once bullseye has +been released. +--- + clients/common/nm-polkit-listener.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/clients/common/nm-polkit-listener.c b/clients/common/nm-polkit-listener.c +index db21abf..204d734 100644 +--- a/clients/common/nm-polkit-listener.c ++++ b/clients/common/nm-polkit-listener.c +@@ -501,7 +501,7 @@ begin_authentication(AuthRequest *request) + { + int fd_flags; + const char *helper_argv[] = { +- POLKIT_PACKAGE_PREFIX "/lib/polkit-1/polkit-agent-helper-1", ++ "/usr/lib/policykit-1/polkit-agent-helper-1", + request->username, + NULL, + }; diff --git a/debian/patches/series b/debian/patches/series index a2d7e06d..4a96b643 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ Force-online-state-with-unmanaged-devices.patch +Fix-polkit-agent-helper-1-path.patch -- cgit 1.3.0-6-gf8a5