On 2025-04-22 13:01:02 +0200, Vincent Lefevre wrote:
> > I suppose it makes apparmor.service fail to start?
> 
> No, I don't see any error with apparmor.service (and the documentation
> does not suggest that there would be a fatal error for that).

It actually fails to start (I had forgotten to restart the apparmor
service or might have looked at the logs on another machine). Here's
the error I can see in the journalctl output:

May 09 12:13:00 cventin apparmor.systemd[872]: AppArmor parser error for 
/etc/apparmor.d in profile /etc/apparmor.d/usr.sbin.dhclient at line 76: Could 
not open 'local/sbin.dhclient'
May 09 12:13:01 cventin apparmor.systemd[736]: Error: At least one profile 
failed to load
May 09 12:13:01 cventin systemd[1]: apparmor.service: Main process exited, 
code=exited, status=1/FAILURE
May 09 12:13:01 cventin systemd[1]: apparmor.service: Failed with result 
'exit-code'.
May 09 12:13:01 cventin systemd[1]: Failed to start apparmor.service - Load 
AppArmor profiles.
May 09 12:13:01 cventin systemd[1]: apparmor.service: Consumed 1.495s CPU time, 
47.8M memory peak.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to