Hi Sergio, thanks for taking the time to open this bug report. To be
quite honest, this doesn't look like a kernel issue, but I did notice
that you're running a very old kernel. May I suggest updating your
system and upgrading to the most recent kernel and seeing if the issue
still persists?

Thanks,
Vinicius

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Vinicius Peixoto (vpeixoto)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2081877

Title:
  cannot load apparmor profiles: profile doesn't conform to protocol

Status in linux package in Ubuntu:
  New

Bug description:
  Using kernel 6.1.0-1025-oem (ubuntu noble) I can't install or remove
  snaps with --devmode.

  This is an example of the error I see

  sergio@cachiomachine:~/workspace/snapcore/snapd$ snap install 
test-snapd-tools --devmode
  error: cannot perform the following tasks:
  - Setup snap "test-snapd-tools" (9) security profiles (cannot setup profiles 
for snap "test-snapd-tools": cannot load apparmor profiles: exit status 185
  apparmor_parser output:
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.block".  
Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.cat".  
Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.echo".  
Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.head".  
Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.cmd".  
Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.env".  
Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.sh".  
Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.success". 
 Profile doesn't conform to protocol
  /usr/sbin/apparmor_parser: Unable to replace "snap.test-snapd-tools.fail".  
Profile doesn't conform to protocol
  )
  sergio@cachiomachine:~/workspace/snapcore/snapd$ snap install test-snapd-tools
  test-snapd-tools 1.0 from Test snaps (test-snaps-canonical) installed


  I don't see any other error in dmesg or journal logs.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2081877/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to