LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 08:12 AM   #1
manoj.linux
Member
 
Registered: Aug 2007
Posts: 284

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, 08:28 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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, 07:14 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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, 01:31 PM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
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:	462
Size:	25.2 KB
ID:	28775  
 
Old 10-14-2018, 02:47 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
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.
 
Old 09-27-2019, 08:06 AM   #6
MarcosRocha
LQ Newbie
 
Registered: Sep 2019
Posts: 1

Rep: Reputation: Disabled
Docker

In my case it was Docker changing ownership of entire directory. After stopping the container, which was running just a test, the files turned to my ownership automagically.
 
  


Reply



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 10:46 AM
[SOLVED] Unknown username "polkitd" in message bus configuration file dr.s Slackware 37 03-28-2016 10:02 PM
polkitd daemon? ccc Debian 2 05-08-2015 08:42 PM
polkitd WARNING ** error getting system bus McZ Linux From Scratch 4 12-03-2012 02:40 PM

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

All times are GMT -5. The time now is 07:16 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
Open Source Consulting | Domain Registration