-
Notifications
You must be signed in to change notification settings - Fork 647
data/selinux/snappy: allow connecting to squid proxy #16375
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
base: master
Are you sure you want to change the base?
data/selinux/snappy: allow connecting to squid proxy #16375
Conversation
We already allow connecting to generic HTTP proxies (classified as http_cache_port_t). Extend the policy to allow connecting to squid proxies (squid_port_t), in case someone is using them (like we do in tests running in PS7). Signed-off-by: Maciej Borzecki <maciej.borzecki@canonical.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.
Pull request overview
This PR extends the SELinux policy for snapd to allow connecting to squid proxy servers in addition to the already supported generic HTTP proxies. This change is needed for test environments using squid proxies.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #16375 +/- ##
==========================================
- Coverage 77.55% 77.49% -0.07%
==========================================
Files 1329 1340 +11
Lines 182828 183046 +218
Branches 2438 2438
==========================================
+ Hits 141791 141843 +52
- Misses 32455 32611 +156
- Partials 8582 8592 +10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
sergiocazzolato
left a comment
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.
Thanks
|
Tue Dec 16 20:39:04 UTC 2025 Failures:Preparing:
Executing:
Restoring:
|
We already allow connecting to generic HTTP proxies (classified as http_cache_port_t). Extend the policy to allow connecting to squid proxies (squid_port_t), in case someone is using them (like we do in tests running in PS7).
Thanks for helping us make a better snapd!
Have you signed the license agreement and read the contribution guide?