-
Notifications
You must be signed in to change notification settings - Fork 47
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
"Default service policy" popup after prod uninstall via sys-whonix #536
Comments
Essentially the same problem as reported in #477, although the screenshot is great to have. I believe the proper resolution here, for both "uninstall" and "make clean" cases, would be to update the securedrop.Log RPC file in-place to deny submissions. That's essentially what the salt logic does to whitelist the disp-mgmt VMs in the VMShell RPC policies, temporarily for the duration of a given salt run. |
By way of example, see here: https://github.com/QubesOS/qubes-mgmt-salt/blob/3a8b5b6b87519dbbd054d4df27e3f5e455a6b561/qubessalt/__init__.py#L287-L306 That'd allow us finegrained control of when it's permissible for |
I'm wrong about that. In all environments, we call destroy --all, which is Python code, so we could indeed add the RPC policy adjustment in a single location to avoid the race where sd-log is prevented from shutdown & removal because it's still receiving log events. |
Still seeing this occasionally. The log event is coming from sys-whonix, which is still using the securedrop-log code, because our clean action removes the package and config from the TemplateVM, i.e.
Option 1 is the cleaner approach, but we may wish to implement 2 during reboot. |
Related: #672 for suppressing this popup during normal use (but it's a separate issue, since such default denials would presumably be removed as part of an uninstall) |
backlog pruning: This only happens in the case of the whonix VM because we modify that template but leave the VM running. So Option 3 would be to get rid of Whonix (which is already tracked). The default deny RPC policy in Qubes 4.2 won't help since this task is post-uninstall. |
After a prod uninstall that completed with only the warnings noted in #505, I'm seeing this popup:
The text was updated successfully, but these errors were encountered: