Setting +x execute on the qubes-rpc/ file containing the echo statement
resolves the "not executable" portion of the error – it now works with
"allow" but not "ask". Setting +x was not required under R4.0.
Here is what "ask" is now showing in the log X3:
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: warning: !compat-4.0
directive in file /etc/qubes/policy.d/35-compat.policy line 16 is
transitional and will be deprecated
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: Task exception was
never retrieved
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: future: <Task finished
name='Task-201' coro=<handle_client_connection() done, defined at
/usr/lib/python3.8/site-packages/qrexec/tools/qrexec
_policy_daemon.py:50> exception=AssertionError()>
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: Traceback (most recent
call last):
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: File
"/usr/lib/python3.8/site-packages/qrexec/tools/qrexec_policy_daemon.py",
line 93, in handle_client_connection
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: result = await
handle_request(**args, log=log,
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: File
"/usr/lib/python3.8/site-packages/qrexec/tools/qrexec_policy_exec.py",
line 272, in handle_request
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: resolution =
policy.evaluate(request)
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: File
"/usr/lib/python3.8/site-packages/qrexec/policy/parser.py", line 1275,
in evaluate
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: return
rule.action.evaluate(request)
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: File
"/usr/lib/python3.8/site-packages/qrexec/policy/parser.py", line 897, in
evaluate
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: return
request.ask_resolution_type(self.rule, request,
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: File
"/usr/lib/python3.8/site-packages/qrexec/policy/parser.py", line 613, in
__init__
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: assert
default_target is None or default_target in targets_for_ask
Oct 03 10:56:06 dom0 qrexec-policy-daemon[2296]: AssertionError
--
Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886
--
You received this message because you are subscribed to the Google Groups
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to qubes-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-devel/44ac205b-4e6c-92f4-0e27-9d04eedcb146%40posteo.net.