• Bug#1108358: =?UTF-8?Q?=E2=80=9Capparmor=5Fparser=E2=80=9D:?= executabl

    From Patricio Rojo@21:1/5 to All on Thu Jun 26 21:10:01 2025
    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.

    Thanks!




    -- System Information:
    Debian Release: 12.11
    APT prefers stable
    APT policy: (990, 'stable'), (500, 'testing')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.1.0-35-amd64 (SMP w/4 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages apparmor depends on:
    ii debconf [debconf-2.0] 1.5.82
    ii libc6 2.36-9+deb12u10

    apparmor recommends no packages.

    Versions of packages apparmor suggests:
    pn apparmor-profiles-extra <none>
    ii apparmor-utils 3.0.8-3

    -- debconf information:
    apparmor/homedirs:

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Jun 27 08:00:01 2025
    Processing control commands:

    tag -1 moreinfo
    Bug #1108358 [apparmor] “apparmor_parser”: executable file not found in $PATH
    Added tag(s) moreinfo.

    --
    1108358: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108358
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Jun 29 21:30:01 2025
    Processing control commands:

    severity -1 normal
    Bug #1108358 [apparmor] “apparmor_parser”: executable file not found in $PATH
    Severity set to 'normal' from 'grave'

    --
    1108358: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108358
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jochen Sprickerhof@21:1/5 to All on Sun Jun 29 21:30:01 2025
    Control: severity -1 normal

    * Patricio Rojo <pato@das.uchile.cl> [2025-06-29 15:20]:
      I'll be happy to try helping digging up the root of the error and
    agree with the change of severity.

      This is the relevant output of 'dpkg --verify' grepping for snap or app:

    missing  /usr/share/dbus-1/services/io.snapcraft.Prompt.service
    ??5?????? c /etc/apparmor.d/usr.sbin.ntpd
    ??5?????? c /etc/apparmor.d/usr.sbin.mysqld
    missing     /var/cache/app-info
    missing     /var/cache/app-info/xmls

    That seems all not relevant to your assumption that apparmor-utils
    changed.

      Let me know about anything else you might need.

    I am a bit out of ideas here, so leaving this to the apparmor
    maintainer.

    Cheers Jochen

    -----BEGIN PGP SIGNATURE-----

    iQIzBAEBCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmhhk7gACgkQW//cwljm lDOIGhAAlNLlVBFZQfaFSektVfKcVr28Rc63o58lyz7idGnrjn1FMbxt7NkdBZS7 emCdyf+fdHbWRmLc55OVOzVIqms9wIxD8PwKz5QfbT65wqHPs1tjj8aHeA8VCnk+ G5Z45u+WTfTC7S3A6tWB442cEfV5J3mAUsL2hSWmWR++Z9AgMxaDW41RxhXvqRXS 8T2YlJ1JRyf4o7hkMbdvCzpy+vBNBkXvaLiUVXqnhoq/9EGIuMzlGAEJkyPwM/G4 2lmVVsWqq/5UcFySfGbpSV9nuK4XHKbi33+IZlo//wmWBOc6REU674Jb12jJwHTm nOY8/wqLh2W30/iZaZVRSMnjNH8OVmkf+1rfvQPm+WbPQSF3rmE3oWuHiV8PlC/w Dz+v3ZlJPerAFiX4peF370zoA0qbZd4u78wJz+0I1QJ2eb3nTXNkN7BNzanBvJNO eRdI1wb8+aX5Qx/pPHBBWj/5csiOtIolMRlydLxdCYBV+k9+Qg4lWuHP4bP1WYnp OoGaxtFL5i28mQIScCInMMpLKZnrFb9/MflXyglrBxS4dZQH1+2pIC+hz0lD3Apx Yh0EdNpLTzCtvY7SAaIst59RSEwkZ/NJ/Jgd1uf+Gj+P973ikFEjeI1IYrGG4h/K bXPbz0pkxeGpla1E9Wtk+U1U29XGLYHYX6fXePoiO24fSO8H63U=
    =8GWH
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)