-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postinst script for dpkg package does not work in chroot'ed environment #7146
Comments
Changing
fixes the issue for me. But I can't create a pull request since I cannot find the repository this file is in. I'd be grateful for feedback. |
Hi, sorry for this issue. I believe the logic to add an apparmor profile comes from an upstream package electron-builder: Reading the script I wonder if skipping install of apparmor allows signal-desktop to install successfully? An alternative is to ask the electron-builder maintainers if there's a way to support chroot. We don't have much resources for less common Linux setups but I'll leave this open for tracking. |
@ayumi-signal Thank you very much, I'll raise an issue with them! Regarding your question: If the |
My PR in |
@fiesh Amazing! Thanks so much for looking into it. |
Using a supported version?
Overall summary
We use a
chroot
environment to maintain our diskless clients' boot images. The postinst script has a callwhich one doesn't want to have in a
chroot
environment, and it fails for us. This means I typically remove the call from the postinst file manually.I think utilizing
ischroot(1)
would be the correct approach here?Steps to reproduce
On Ubuntu noble
Expected result
Exit code 0
Actual result
Exit code 100
Screenshots
No response
Signal version
7.40.0
Operating system
Ubuntu 24.04
Version of Signal on your phone
No response
Link to debug log
No response
The text was updated successfully, but these errors were encountered: