-
Notifications
You must be signed in to change notification settings - Fork 27
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
Support additional policy directories #134
Conversation
69f5fe1
to
23d87ef
Compare
23d87ef
to
b16224c
Compare
b16224c
to
db6f542
Compare
db6f542
to
1f83e62
Compare
There has been some community demand for having user directory on the user's home to ease backup and restore. Would this be a good place / timing to consider it? |
I don't think keeping (some) policy in user home is a good idea. Better approach is to extend backup to include additional files/directories. |
I agree that's the correct approach. I was thinking here more pragmatically as to what could help users in the short-term, since policy backups will need careful consideration. |
1f83e62
to
1d301f4
Compare
Pylint complains, looks like an import got lost in rebase. |
1d301f4
to
820b383
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #134 +/- ##
==========================================
+ Coverage 77.99% 78.08% +0.09%
==========================================
Files 54 54
Lines 9664 9718 +54
==========================================
+ Hits 7537 7588 +51
- Misses 2127 2130 +3 ☔ View full report in Codecov by Sentry. |
A conflict on tests... |
This allows multiple directories to contain qrexec policy, which allows for transient policy that disappears on reboot. Fixes: QubesOS/qubes-issues#8513
This avoids a deprecation warning from pylint. Also fix an incorrect comment.
820b383
to
966e383
Compare
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024072115-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024070519-4.3&flavor=update
Failed tests63 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/105374#dependencies 4 fixed
Unstable tests
|
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.
This PR is okay, but there needs to be matching documentation update, especially including info about extra directory, precedence order, behavior of same-named files, and how include interacts with it
ping (doc update)? |
This allows multiple directories to contain qrexec policy, which allows for transient policy that disappears on reboot.
Fixes: QubesOS/qubes-issues#8513