Apparmor.service failed at boot

Hello everyone,
I’ve come to ask for your help again.
I have been testing the Hunchly application for a few days. I was using their appimage and extension on Brave. At the end of the trial period I decided to delete the application and the extension.
Since then, I’ve been getting a boot error: apparmor.service won’t start.

Here are the log messages regarding the boot error and the inability to start the service manually. The problem is clearly related to the presence of a hunchly profile in apparmor.d. But there’s no mention of this in the documentation.

How can I solve this problem? Thanks in advance for your solution.


Subject: L’unité (unit) apparmor.service a échoué
░░ Defined-By: systemd

░░
░░ L’unité (unit) apparmor.service a échoué, avec le résultat failed.

déc. 24 14:02:05 systemd[1]: Starting apparmor.service - Load AppArmor profiles…
░░ Subject: L’unité (unit) apparmor.service a commencé à démarrer
░░ Defined-By: systemd

░░
░░ L’unité (unit) apparmor.service a commencé à démarrer.
déc. 24 14:02:05 apparmor.systemd[3741]: Restarting AppArmor
déc. 24 14:02:05 apparmor.systemd[3741]: Reloading AppArmor profiles
déc. 24 14:02:05 apparmor.systemd[3750]: Erreur de l’analyseur AppArmor pour /etc/apparmor.d in profile /etc/apparmor.d/hunchly ? la ligne 4 : Could not open ‘abi/4.0’: Aucun fichi>
déc. 24 14:02:05 apparmor.systemd[3825]: Erreur de l’analyseur AppArmor pour /etc/apparmor.d/hunchly in profile /etc/apparmor.d/hunchly ? la ligne 4 : Could not open ‘abi/4.0’: Auc>
déc. 24 14:02:05 apparmor.systemd[3741]: Error: At least one profile failed to load
déc. 24 14:02:05 systemd[1]: apparmor.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░
░░
░░ An ExecStart= process belonging to unit apparmor.service has exited.
░░
░░ The process’ exit code is ‘exited’ and its exit status is 1.
déc. 24 14:02:05 systemd[1]: apparmor.service: Failed with result ‘exit-code’.
░░ Subject: Unit failed
░░ Defined-By: systemd

░░
░░ The unit apparmor.service has entered the ‘failed’ state with result ‘exit-code’.
déc. 24 14:02:05 systemd[1]: Failed to start apparmor.service - Load AppArmor profiles.
░░ Subject: L’unité (unit) apparmor.service a échoué
░░ Defined-By: systemd

░░
░░ L’unité (unit) apparmor.service a échoué, avec le résultat failed.

There’s an issue in file /etc/apparmor.d/hunchly. Your options, choose one:

  • A) delete that file (you won’t have AppArmor protection for that program if you still intent on using it): sudo rm /etc/apparmor.d/hunchly
  • B) learn AppArmor language and fix that file
  • C) report a bug upstream to the original developers

just delete profile file for hunchly. apparmor always gives an error for useless profiles

Thanks a lot ! I have deleted the file because I don’t use the Hunchly app now. I have not anytime to learn AppArmor language… No more problem now !

Thanks a lot ! It is what I have done !