polkit and pkla-check-authorization process going TASK_UNINTERRUPTIBLE / DEFUNCT in Red Hat Enterprise Linux 7

Solution Verified - Updated -

Issue

  • journalctl and /var/log/secure continously shows below errors at authentication.

    Oct 10 08:10:11 localhost polkitd[1404]: /etc/polkit-1/rules.d/49-polkit-pkla-compat.rules:21: Error: Error spawning helper: Timed out after 10 seconds (g-io-error-quark, 24)
    Oct 10 08:10:11 localhost polkitd[1404]: Error evaluating authorization rules
    Oct 10 08:10:21 localhost polkitd[1404]: /etc/polkit-1/rules.d/49-polkit-pkla-compat.rules:21: Error: Error spawning helper: Timed out after 10 seconds (g-io-error-quark, 24)
    Oct 10 08:10:21 localhost polkitd[1404]: Error evaluating authorization rules
    
  • Server going hung due to high load caused by pkla-check-authorization process going D state.

  • [pkla-check-auth] <defunct> seen in process list.

Environment

Red Hat Enterprise Linux 7
polkit-0.112-12.el7_3.x86_64
polkit-pkla-compat-0.1-4.el7.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content