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

qvm-run error in debian buster #3692

Open
mirrorway opened this Issue Mar 12, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@mirrorway

mirrorway commented Mar 12, 2018

Qubes OS version:

R4.0 rc4 tracking current-testing

Affected component(s):

debian buster

Steps to reproduce the behavior:

from dom0, run qvm-run -p testvm 'echo hello'

Expected behavior:

$ qvm-run -p testvm 'echo hello'
hello

Actual behavior:

$ qvm-run -p testvm 'echo hello'
/usr/lib/qubes/qubes-rpc-multiplexer: 1: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 2: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 3: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 4: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 5: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 6: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 7: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 8: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 9: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 10: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 11: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 12: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 19: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 20: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 21: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 22: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 23: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 24: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 25: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 26: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 27: /tmp/qubes-session-env: declare: not found
/usr/lib/qubes/qubes-rpc-multiplexer: 28: /tmp/qubes-session-env: declare: not found
hello

General notes:

/usr/lib/qubes/qubes-rpc-multiplexer starts with #!/bin/sh, so should be posix shell. But it calls /tmp/qubes-session-env (via -l?) which calls declare, which isn't posix. Replacing those declare -x with export seems to fix the issue.

@bomb20

This comment has been minimized.

Show comment
Hide comment
@bomb20

bomb20 Apr 20, 2018

I can confim "fixing" the issue by replacing declare -x with export in /tmp/qubes-session-env. Though, I couldn't find out where the qubes-session-env-File gets generated in order to fix this.

bomb20 commented Apr 20, 2018

I can confim "fixing" the issue by replacing declare -x with export in /tmp/qubes-session-env. Though, I couldn't find out where the qubes-session-env-File gets generated in order to fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment