[BRLTTY] auth server refuses to start if built without polkit

Dave Mielke dave at mielke.cc
Thu Jul 6 10:08:04 EDT 2017


[quoted lines by Chris Brannon on 2017/07/06 at 06:26 -0700]

>The only thing you lose, and I am not sure it's necessarily a loss, is
>fallback methods.
>Scenario: brltty is configured to use polkit+keyfile for
>authentication.  In this scenario, polkit support was built, so we won't
>hit the bug I reported yesterday.  The polkit method descriptor
>initializes just fine.  But for whatever reason, polkit authentication
>doesn't work on the user's system.  We could still fall back to keyfile.

Sure, and my propsoed scheme doesn't lose tht at all. I never said we just try 
the first one. We go through them all in sequence, and, as soon as one works, 
we return its handle to the caller.

-- 
Dave Mielke           | 2213 Fox Crescent | http://Mielke.cc/
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: Dave at Mielke.cc | Canada  K2A 1H7   | The Bible is the very Word of God.


More information about the BRLTTY mailing list