diff options
| author | Michael Biebl <biebl@debian.org> | 2021-02-11 19:24:19 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2021-02-11 19:24:19 +0100 |
| commit | 76474015fbf155a3c8c12c6582832382b13c35e4 (patch) | |
| tree | 392c8007af57957e66a108361fc15cd1f817ab7a | |
| parent | d70079768d24e7b5c187f37b4423436f9bc848bc (diff) | |
Fix polkit-agent-helper-1 path
| -rw-r--r-- | debian/patches/Fix-polkit-agent-helper-1-path.patch | 25 | ||||
| -rw-r--r-- | debian/patches/series | 1 |
2 files changed, 26 insertions, 0 deletions
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 <biebl@debian.org> +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 |