Skip to content
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

qrexec-daemon's socket in /var/run/qubes removed #5883

Open
marmarek opened this issue Jun 7, 2020 · 0 comments
Open

qrexec-daemon's socket in /var/run/qubes removed #5883

marmarek opened this issue Jun 7, 2020 · 0 comments
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: major Priority: major. Between "default" and "critical" in severity. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@marmarek
Copy link
Member

marmarek commented Jun 7, 2020

Qubes OS version
R4.1

Affected component(s) or functionality
qrexec

Brief summary
After some operation (unfortunately I don't know exactly what), I've got qrexec-daemon sockets in /var/run/qubes in dom0 removed, although qrexec-daemon processes itself were running.

To Reproduce
Steps to reproduce the behavior:
1. ??
2. Try to use qvm-run

Expected behavior
Working qrexec / qvm-run

Actual behavior
qrexec-client says connect: No such file or directory, while target domain is still running and its qrexec-daemon process is running too.

Additional context
About that time I've also got this message in journalctl in dom0, for all affected VMs:

qrexec[...]: qubes.WindowIconUpdater+: sys-net -> dom0: error while executing: qrexec-client failed: ['/usr/lib/qubes/qrexec-client', '-d', '@adminvm', '-c', 'SOCKET12,sys-net,5', '-E', 'QUBESRPC qubes.WindowIconUpdater+ sys-net keyword adminvm']

I suspect the socket got removed by atexit(unlink_qrexec_socket) handler in a child process (that called exit() instead of _exit()), but I haven't found which one.

@pwmarcz any idea?

@marmarek marmarek added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: core P: major Priority: major. Between "default" and "critical" in severity. labels Jun 7, 2020
@marmarek marmarek added this to the Release 4.1 milestone Jun 7, 2020
@andrewdavidwong andrewdavidwong added the needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. label Jun 8, 2020
@andrewdavidwong andrewdavidwong added the affects-4.1 This issue affects Qubes OS 4.1. label Aug 8, 2023
@andrewdavidwong andrewdavidwong removed this from the Release 4.1 updates milestone Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: major Priority: major. Between "default" and "critical" in severity. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants