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

qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service failed #5112

Closed
adrelanos opened this issue Jun 20, 2019 · 5 comments
Closed
Labels
C: core C: Whonix This issue impacts Qubes-Whonix P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: cannot reproduce Resolution: Attempts to replicate the problem have not been reliably successful enough to proceed. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@adrelanos
Copy link
Member

Happened to me in whonix-ws-15. (whonixcheck --verbose reports such.)
After sudo systemctl restart qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service ok.
apt upgrading functional, though.

user@host:~$ sudo systemctl status qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service
● qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service - Forward connection to updates proxy over Qubes RPC (127.0.0.1:45358)
   Loaded: loaded (/lib/systemd/system/qubes-updates-proxy-forwarder@.service; static; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-06-20 12:48:14 UTC; 5min ago
  Process: 2930 ExecStart=/usr/bin/qrexec-client-vm  qubes.UpdatesProxy (code=exited, status=1/FAILURE)
 Main PID: 2930 (code=exited, status=1/FAILURE)

Jun 20 12:48:05 host systemd[1]: Started Forward connection to updates proxy over Qubes RPC (127.0.0.1:45358).
Jun 20 12:48:14 host systemd[1]: qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service: Main process exited, code=exited, status=1/FAILURE
Jun 20 12:48:14 host systemd[1]: qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service: Failed with result 'exit-code'.
sudo journalctl -u qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service
-- Logs begin at Thu 2019-06-20 12:45:56 UTC, end at Thu 2019-06-20 12:56:09 UTC. --
Jun 20 12:48:05 host systemd[1]: Started Forward connection to updates proxy over Qubes RPC (127.0.0.1:45358).
Jun 20 12:48:14 host systemd[1]: qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service: Main process exited, code=exited, status=1/FAILURE
Jun 20 12:48:14 host systemd[1]: qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service: Failed with result 'exit-code'.
user@host:~$ sudo systemctl restart qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service
user@host:~$ sudo systemctl status qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service
● qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service - Forward connection to updates proxy over Qubes RPC (127.0.0.1:45358)
   Loaded: loaded (/lib/systemd/system/qubes-updates-proxy-forwarder@.service; static; vendor preset: enabled)
   Active: active (running) since Thu 2019-06-20 12:53:29 UTC; 1s ago
 Main PID: 12929 (qrexec-client-v)
    Tasks: 1 (limit: 4667)
   Memory: 412.0K
   CGroup: /system.slice/system-qubes\x2dupdates\x2dproxy\x2dforwarder.slice/qubes-updates-proxy-forwarder@3-127.0.0.1:8082-127.0.0.1:45358.service
           └─12929 /usr/bin/qrexec-client-vm qubes.UpdatesProxy

Jun 20 12:53:29 host systemd[1]: Started Forward connection to updates proxy over Qubes RPC (127.0.0.1:45358).

@adrelanos adrelanos added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Jun 20, 2019
@adrelanos
Copy link
Member Author

[user@dom0 ~]$ cat /etc/qubes-rpc/policy/qubes.UpdatesProxy
$type:TemplateVM $default allow,target=sys-whonix
$tag:whonix-updatevm $default allow,target=sys-whonix
$tag:whonix-updatevm $anyvm deny
## Note that policy parsing stops at the first match,
## so adding anything below "$anyvm $anyvm action" line will have no effect

## Please use a single # to start your custom comments

# Default rule for all TemplateVMs - direct the connection to sys-net
$type:TemplateVM $default allow,target=sys-net

$anyvm $anyvm deny

[user@dom0 ~]$ qvm-tags whonix-ws-15
created-by-dom0
whonix-updatevm

@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Jun 21, 2019
@andrewdavidwong andrewdavidwong added the C: Whonix This issue impacts Qubes-Whonix label Jun 21, 2019
@0brand
Copy link

0brand commented Jun 22, 2019

Same issue here. This has been affecting all of the Debian 9 TemplateVMs on multiple systems starting today. Fortunately no issues with Whonix. I'm able to resolve this same as Patrick by restarting qubes-updates-proxy-forwarder

user@debian-9: ~$ sudo journactl -xe 
Jun 21 22:34:48 debian-9 systemd[1]: Failed to start Forward connection to updates proxy over Qubes RPC.
-- Subject: Unit qubes-updates-proxy-forwarder@29-127.0.0.1:8082-127.0.0.1:45746.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
-- 
-- Unit qubes-updates-proxy-forwarder@29-127.0.0.1:8082-127.0.0.1:45746.service has failed.
-- 
-- The result is failed.
Jun 21 22:34:48 debian-9 systemd[1]: qubes-updates-proxy-forwarder@29-127.0.0.1:8082-127.0.0.1:45746.service: Unit entered failed state.


@marmarek
Copy link
Member

Check the other side of it - qubes-updates-proxy in sys-whonix. And also see in dom0's journalctl if the qubes.UpdatesProxy qrexec service is called.

@tasket
Copy link

tasket commented Jun 26, 2019

Possibly related thread in qubes-users about fedora-30 updates:
https://groups.google.com/d/msgid/qubes-users/919df0ac-c1a5-4da7-912b-fcd55249873f%40googlegroups.com

@adrelanos
Copy link
Member Author

I cannot reproduce this anymore. Therefore closing.

If anyone is experiencing it, please comment and/or reopen as well as try to provide debug output requested by @marmarek in his last comment #5112 (comment) and ask for further help if unclear how to provide so.

@andrewdavidwong andrewdavidwong added the R: cannot reproduce Resolution: Attempts to replicate the problem have not been reliably successful enough to proceed. label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: core C: Whonix This issue impacts Qubes-Whonix P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: cannot reproduce Resolution: Attempts to replicate the problem have not been reliably successful enough to proceed. 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

5 participants