I have an AppVM, template is up to date, has been updated and rebooted multiple times. But in this particular AppVM I keep getting the systemcheck MOK warning. Updating and rebooting has not worked.
The only difference between this AppVM and my others based on the same template is that it has no NetVM.
Hmm, that shouldnât show up on Qubes. In the template, can you run apt-mark showhold and see if legacy-dist is listed as being held back for some reason? It would also be useful to see the output of sudo journalctl --status legacy-dist.servce (again, run from within the template).
If all else fails and you just want the dialog box out of your face, itâs possible to do that, but Iâm curious as to why things arenât automatically working on your end even after rebooting the template multiple times.
I donât understand the instructions. Delete the script then try to run the deleted file? This is what the commands would do in the order you put them, no?
No error or related output when running systemcheck in online App Qube. Remember, the MOK pop-up only happens in 1 particular AppVM. No other qube is affected. Unfortunately that AppVM must be remain offline (I cannot run systemcheck there with network connectivity right now).
For further debugging, could you share the exact text of the error youâre getting (maybe as a screenshot)? There are two different MOK errors that can pop up, knowing which one youâre seeing would be quite helpful.
It would also help to know what the results of sudo lsattr /var/lib/dkms/mok.key and sudo lsattr /var/lib/dkms/mok.pub show. You will probably have to run these from a Qubes Root Console.
This is what the scripts are supposed to do in the background to signal that the MOK cleanup is complete, itâs unclear why this isnât happening. Do you happen to have /var or some part thereof set up to be persistent in this AppVM (i.e. bind-mounted from a dir under /rw)?
systemcheck has detected that a Machine Owner Key (MOK) embedded in the installation image is present on the disk. It can be automatically deleted, but has not been yet. Most likely this means that you did not upgrade âlegacy-distâ, or did not reboot after upgrading it. Run a full system update and reboot to fix this.