"Skipping the installation of the AppArmor profile as this version of AppArmor does not seem to support the bundled profile"
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
- update to latest version in debian bookworm
- 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
Thank you for the report! This seems okay, can you check if you've upgraded to the latest version of apparmor?
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
Same for me, apparmor was already the latest version - 3.0.8-3 as per https://packages.debian.org/stable/apparmor
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
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?
Probably caused by a bug in electron-builder. Please update to electron-builder 26.0.11 to maybe fix this issue.
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.
This issue has been closed due to inactivity.