I've been noticing that practically every time I bootup Ubuntu or shut it down, this job appears:
A stop job is running for: LSB: Privilege escalation detection system [0s / 30s]
It's been annoying me because it makes me wait at least 30 seconds to start up or shut down my computer.
So, my question is: what is this, and how can I get rid of it?

If it helps, here is the output of systemctl list-units | grep -i Privilege:

username@hostname:~$ systemctl list-units | grep -i Privilege
ninja.service                                                                loaded active running   LSB: "privilege escalation detection system"
polkitd.service                                                              loaded active running   Authenticate and Authorize Users to Run Privileged Tasks
username@hostname:~$ 
  • Do something like grep -r escalation /lib/systemd/* to find out which service is described as "Privilege escalation system" (I couldn't find one), then see if you can (and should) remove it from your system. – Jos Jun 13 '16 at 21:20
  • I have the same list as you (binary matches only), except that I don't have systemd-resolve-host. – Jos Jun 13 '16 at 21:30
  • Try systemctl list-units | grep -i Privilege (or systemctl list-units | grep LSB etc.) – Jos Jun 13 '16 at 21:41
  • Well, there's your problem. Do sudo apt remove ninja. That is your privilege escalation detection service. – Jos Jun 13 '16 at 21:53
  • @Jos Will it have any side effects? – InitializeSahib Jun 13 '16 at 21:54

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.