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

krun ls fails due to operation not supported #18

Closed
RossComputerGuy opened this issue May 30, 2024 · 6 comments
Closed

krun ls fails due to operation not supported #18

RossComputerGuy opened this issue May 30, 2024 · 6 comments

Comments

@RossComputerGuy
Copy link

$ RUST_LOG=debug krun ls /
[2024-05-30T01:48:38Z DEBUG krun::net] passing fd to passt fd=5
Error: Failed to configure net mode

Caused by:
    Operation not supported (os error 95)
No IPv4 nameserver available for DHCP
No IPv6 nameserver available for NDP/DHCPv6
@slp
Copy link
Collaborator

slp commented May 30, 2024

Looks like libkrun was build without net support. For using krun, you need to build it with --features blk,net,gpu.

@RossComputerGuy
Copy link
Author

Looks like libkrun was build without net support.

Enabled and the operation not supported error is gone.

For using krun, you need to build it with --features blk,net,gpu.

Tried enabling those but got an error saying no packages provided it.

I still get the "no nameserver" messages though.

@slp
Copy link
Collaborator

slp commented May 30, 2024

For using krun, you need to build it with --features blk,net,gpu.

Tried enabling those but got an error saying no packages provided it.

Sorry, I meant that, for using libkrun with krun, you need to build libkrun with --features blk,net,gpu.

I still get the "no nameserver" messages though.

Sounds like passt has some problem with your DNS config. Is there something special about it?

@RossComputerGuy
Copy link
Author

Sounds like passt has some problem with your DNS config. Is there something special about it?

Not really, I use Tailscale plus I run resolved to send my DNS traffic to my NAS.

@teohhanhui
Copy link
Collaborator

@RossComputerGuy For the DNS resolver issue, see #17 for some similar cases. Let's continue the diagnosis there.

@RossComputerGuy
Copy link
Author

Alright, and #19 is relevant as well after setting RUST_LOG=debug and seeing the same behavior (excluding the networking stuff).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants