LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 10-13-2018, 09:12 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 277

Rep: Reputation: 17
polkitd on CentOS 7.5


Hi,

Please suggest how to disable polkitd on CentOS 7.5?

also would like to know disablng polkit will create issues?

it is taking high CPU utilization.
 
Old 10-13-2018, 09:28 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,024

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
Quote:
Originally Posted by manoj.linux View Post
Hi,

Please suggest how to disable polkitd on CentOS 7.5?
Have you done any research about that? It doesn't sound like a good idea to me, sorry.

Quote:
also would like to know disablng polkit will create issues?
Highly likely, yes, it would. Probably some very serious issues too.

Quote:
it is taking high CPU utilization.
Have you tried to find out why? It maybe a bug in either polkitd itself or something else.

I think you need to provide more information.
 
Old 10-14-2018, 08:14 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 9,917
Blog Entries: 7

Rep: Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442Reputation: 2442
let's look at it like this:
on my system, polkitd is owned by polkit.
it is a hard requirement only for gconf and udisks2 - both packages i could live without - again, on my system.
it is optional for systemd: "allow administration as unprivileged user"

polkitd is currently not running on my system.

the command
Code:
systemctl --all|grep -iE 'polkit|policy'
does not return anything; so there's no polkitd service.

yes, you should find out why it takes so much cpu.
 
Old 10-14-2018, 02:31 PM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: CentOS at the time of this writing, but some others over the years too...
Posts: 2,024

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
I just disabled polkitd in a VM and for those of us who do actually use CentOS... you really don't want to disable it if your system has a GUI, and I'll tell you why; because you won't even get to any graphical login screen. Have a look at the screenshot below...
Attached Thumbnails
Click image for larger version

Name:	del-polkit.png
Views:	8
Size:	25.2 KB
ID:	28775  
 
Old 10-14-2018, 03:47 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,706

Rep: Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090Reputation: 5090
Quote:
Originally Posted by manoj.linux View Post
Hi,
Please suggest how to disable polkitd on CentOS 7.5?

also would like to know disablng polkit will create issues? it is taking high CPU utilization.
You should check some of your *MANY* other threads about high CPU/memory usage, and perform some basic troubleshooting. Did you do any research?

This is a known bug, and a patch is being worked on. There is a workaround you can find on the CentOS forums, and on the bug tracker. And you can find both with a simple Google search.

After eleven years, you should know to do basic research first.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackware-current (x86) as of 2016-04-13: troubles with polkitd, ConsoleKit, and Connection editor K-Wizzz Slackware 7 04-14-2016 11:46 AM
[SOLVED] Unknown username "polkitd" in message bus configuration file dr.s Slackware 37 03-28-2016 11:02 PM
polkitd daemon? ccc Debian 2 05-08-2015 09:42 PM
polkitd WARNING ** error getting system bus McZ Linux From Scratch 4 12-03-2012 03:40 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration