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

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