Hi,

I just saw this on a freshly bootstrapped trixie installation today:

root@localhost:/# systemctl status apparmor
× apparmor.service - Load AppArmor profiles
     Loaded: loaded (/usr/lib/systemd/system/apparmor.service; enabled; preset: 
enabled)
     Active: failed (Result: exit-code) since Tue 2025-04-29 07:26:37 UTC; 
10min ago
 Invocation: 76c55728193f44bb9ea4262cdf3e66bd
       Docs: man:apparmor(7)
             https://gitlab.com/apparmor/apparmor/wikis/home/
    Process: 694 ExecStart=/lib/apparmor/apparmor.systemd reload (code=exited, 
status=1/FAILURE)
   Main PID: 694 (code=exited, status=1/FAILURE)
   Mem peak: 26.2M
        CPU: 461ms

Apr 29 07:26:36 localhost systemd[1]: Starting apparmor.service - Load AppArmor 
profiles...
Apr 29 07:26:36 localhost apparmor.systemd[694]: Restarting AppArmor
Apr 29 07:26:36 localhost apparmor.systemd[694]: Reloading AppArmor profiles
Apr 29 07:26:36 localhost apparmor.systemd[801]: AppArmor parser error for 
/etc/apparmor.d in profile /etc/apparmor.d/usr.sbin.dhclient at line 76: Could 
not open 'local/sbin.dhclient'
Apr 29 07:26:37 localhost apparmor.systemd[694]: Error: At least one profile 
failed to load
Apr 29 07:26:37 localhost systemd[1]: apparmor.service: Main process exited, 
code=exited, status=1/FAILURE
Apr 29 07:26:37 localhost systemd[1]: apparmor.service: Failed with result 
'exit-code'.
Apr 29 07:26:37 localhost systemd[1]: Failed to start apparmor.service - Load 
AppArmor profiles.
root@localhost:/# nl -ba /etc/apparmor.d/usr.sbin.dhclient | grep 76
    76    #include <local/sbin.dhclient>
root@localhost:/# cat /etc/apparmor.d/local/sbin.dhclient
cat: /etc/apparmor.d/local/sbin.dhclient: No such file or directory
root@localhost:/# 

I'll try to find the root cause of this and maybe open a PR in Salsa,
but I wanted to let you know about this beforehand just in case! :-)

Best regards

Alexander Kurtz

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to