23

update-secureboot-policy --enroll-key seems to run whenever I start my computer and never stops running unless I manually kill the process. It makes my computer hot and uses lots of system resources. If I manually kill it the computer cools down and everything is fine. What exactly is going on here? It seems like it's being called by perl which is calling debconf frontend which is calling update-secureboot-policy, hence : /usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/update-secureboot-policy --enroll-key

EDIT:

I am using ElementaryOS 5.0 Which is based on Ubuntu 18.04

usage statistics of update-secureboot-policy

5
  • 1
    Just disable Secure Boot in UEFI settings. It's not that process what's making it hot. Probably you have Nvidia graphics but the drivers aren't being loaded due to Secure Boot and that's the reason why that process appears - it enables users to sign the drivers. But again, the easiest option is to disable Secure Boot.
    – user931000
    Oct 17, 2019 at 0:12
  • Thanks for the reply but I only have integrated intel graphics. Oct 17, 2019 at 21:54
  • There are other unsigned drivers. Some wifi drivers, for example.
    – user931000
    Oct 17, 2019 at 22:19
  • The suggestion from @user921000 works for me, though I have to turn Secure Boot back off, at least some of the time, when I install updates.
    – ohnoplus
    Jan 31, 2020 at 21:00
  • Did anybody ever find out where the call usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/update-secureboot-policy --enroll-key comes from? It was running on my machine, but I can not find out what did start it.
    – simohe
    Apr 9, 2021 at 12:55

1 Answer 1

19

I had same problem and I found a solution, actually it was quite easy.

The problem was that a script was waiting on me to confirm for adding an UEFI entry on my computer but the terminal was not showing up and consuming all ressources (active waiting ?)

Brief

My solution was to run manually the command line, restart the computer and enroll the MOK key.

Complete explication

  1. Get the actual command copy-pastable

    ps aux | grep -e "update-secureboot-policy"

  2. Stop the current process

    sudo kill <pid>

  3. Run manually the command and follow UEFI instructions

    sudo /usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/update-secureboot-policy --enroll-key

  4. Reboot the computer and in the bios go to "MOK key" management

  5. Enroll the key (see image below)

  6. Finish

enter image description here

2
  • Thank you ! I have been trying to fix this for a while now.. Really annoying Apr 4, 2020 at 13:38
  • 1
    You are welcome ! :)
    – 56ka
    Apr 5, 2020 at 14:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .