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

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