Blame SOURCES/polkit-0.115-pkttyagent-auth-errmsg-debug.patch

b415b0
diff -up ./src/programs/pkttyagent.c.ori ./src/programs/pkttyagent.c
b415b0
--- ./src/programs/pkttyagent.c.ori	2018-08-01 15:51:28.495910434 +0200
b415b0
+++ ./src/programs/pkttyagent.c	2018-08-02 15:51:45.126311197 +0200
b415b0
@@ -150,7 +150,8 @@ main (int argc, char *argv[])
b415b0
   authority = polkit_authority_get_sync (NULL /* GCancellable* */, &error);
b415b0
   if (authority == NULL)
b415b0
     {
b415b0
-      g_printerr ("Error getting authority: %s (%s, %d)\n",
b415b0
+      g_printerr ("Authorization not available. Check if polkit service is running or see debug message for more information.\n");
b415b0
+      g_debug ("Error getting authority: %s (%s, %d)\n",
b415b0
                   error->message, g_quark_to_string (error->domain), error->code);
b415b0
       g_error_free (error);
b415b0
       ret = 127;