[pkg-apparmor] Bug#1108358: “apparmor_parser”: executable file not found in $PATH

Jochen Sprickerhof jspricke at debian.org
Fri Jun 27 06:55:25 BST 2025


Control: tag -1 moreinfo

Hi Patricio,

* Patricio Rojo <ss2 at wasabi.das.uchile.cl> [2025-06-26 14:56]:
>Package: apparmor
>Version: 3.0.8-3
>Severity: grave
>Justification: renders package unusable
>
>While trying to run snap I get the following error:
>
>"""
>cannot run daemon: state startup errors: [cannot reload snap-confine apparmor profile: cannot load apparmor profiles: exec: "apparmor_parser": executable file not found in $PATH
>apparmor_parser output:
>]
>"""
>
>the easy solution is to manually add /usr/sbin to /etc/environment, but I doubt is the correct approach and it is hard to find that solution.  I hope I'm submitting the bug to the right package.

Can you give more detailed instructions how to reproduce this?

Do you mean snap as in /usr/bin/snap from the snapd package or a 
specific snap?

This works for me in a fresh trixie VM:

sudo install snap
sudo snap install hello-world
hello-world

Cheers Jochen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-apparmor-team/attachments/20250627/d82ccff8/attachment.sig>


More information about the pkg-apparmor-team mailing list