Signal-Desktop icon indicating copy to clipboard operation
Signal-Desktop copied to clipboard

"Skipping the installation of the AppArmor profile as this version of AppArmor does not seem to support the bundled profile"

Open grappelli opened this issue 11 months ago • 5 comments

Using a supported version?

  • [x] I have searched searched open and closed issues for duplicates.
  • [x] I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.

Overall summary

When updating to latest version via 'apt' I noticed the following error posted in the terminal:

"Skipping the installation of the AppArmor profile as this version of AppArmor does not seem to support the bundled profile"

I am wondering if this is an important error and if anything could or should be done to solve it.

Steps to reproduce

  1. update to latest version in debian bookworm
  2. read the output of 'apt' in the terminal

Expected result

no error

Actual result

error: "Skipping the installation of the AppArmor profile as this version of AppArmor does not seem to support the bundled profile"

Screenshots

No response

Signal version

7.39.0

Operating system

Debian bookworm linux container running on ChromeOS 132.* host

Version of Signal on your phone

7.43 (573)

Link to debug log

No response

grappelli avatar Jan 25 '25 17:01 grappelli

Thank you for the report! This seems okay, can you check if you've upgraded to the latest version of apparmor?

yash-signal avatar Jan 30 '25 16:01 yash-signal

Same problem here on debian bookworm!

When upgrading:

Preparing to unpack .../signal-desktop_7.40.0_amd64.deb ...
Unpacking signal-desktop (7.40.0) over (7.39.0) ...
Setting up signal-desktop (7.40.0) ...
update-alternatives is /usr/bin/update-alternatives
Skipping the installation of the AppArmor profile as this version of AppArmor does not seem to support the bundled profile

Checking the app armor version

apt show apparmor | grep Version

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Version: 3.0.8-3

Updated!, according to

bookworm 3.0.8-3 testing 3.1.7-1+b2 unstable 3.1.7-1+b3

fdobad avatar Feb 01 '25 22:02 fdobad

Same for me, apparmor was already the latest version - 3.0.8-3 as per https://packages.debian.org/stable/apparmor

grappelli avatar Feb 02 '25 17:02 grappelli

I think the apparmor profile is just for Ubuntu 24, and this log line is safe and working as intended (but please correct me if I'm mistaken). Here's where it comes from, electron-builder: https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/templates/linux/after-install.tpl#L52

ayumi-signal avatar Feb 03 '25 23:02 ayumi-signal

OK fair enough that app arrmor profiles are ubuntu only by default (I'm not surprised at all on that one)... but it still isn't the best user experience for anyone using Debian or other derivatives to have to wonder if this error message is important or not.

If nothing is to be done about the error... then maybe there should be some note on the install instructions page to signal that the error is inconsequential and to be expected?... or additional instructions on how to enable apparmor in Debian to harden the install if that is recommended by Signal?

grappelli avatar Feb 12 '25 12:02 grappelli

Probably caused by a bug in electron-builder. Please update to electron-builder 26.0.11 to maybe fix this issue.

gaaf avatar Mar 18 '25 17:03 gaaf

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 17 '25 08:06 stale[bot]

This issue has been closed due to inactivity.

stale[bot] avatar Jul 18 '25 17:07 stale[bot]