-
Notifications
You must be signed in to change notification settings - Fork 582
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
snap-confine: Ensure lib64 biarch directory is respected #3980
Conversation
This fixes a 2.28+ regression whereby snap-update-ns no longer works due to the strict apparmor rules. Signed-off-by: Ikey Doherty <ikey@solus-project.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you're actually adding support for biarch locations and you don't have a dedicated libexec dir, then you should probably add all of the multilib directories to this.
In Solus the "dedicated libexecdir" is "named subdir of libdir". I'm not sure how many distros do this, and I'm kinda doubtful we'd see lib32, libx32 variants on top of that. But, if they exist, then sure. This one is a bit less important than my other PRs anyway. |
Codecov Report
@@ Coverage Diff @@
## master #3980 +/- ##
==========================================
+ Coverage 75.97% 75.97% +<.01%
==========================================
Files 423 423
Lines 36505 36505
==========================================
+ Hits 27734 27735 +1
+ Misses 6833 6832 -1
Partials 1938 1938
Continue to review full report at Codecov.
|
@ikeydoherty As it's trivial and Yocto and Gentoo allow this as an option when building them, I would suggest going for it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Thanks, I will cherry pick this into release/2.28 - where do we have the regressions? solus? |
Aha, this is only breaking in master, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was asked to review, but already merged....
This LGTM.
Yeah only cropped up on Solus - but ya, cheers for merge. |
This fixes a 2.28+ regression whereby snap-update-ns no longer works
due to the strict apparmor rules.
Signed-off-by: Ikey Doherty ikey@solus-project.com