-
Notifications
You must be signed in to change notification settings - Fork 660
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
Alternative install for Fedora #2567
Comments
Hi @abitrolly, we won't unfortunately support another packaging system. This is not because of the work which it would imply, but for the time its maintenance would take. |
Also, it's not a snap limitation, it's that |
@townsend2010 all other packages, native .rpm and Homebrew installed do not have problems with the |
@luis4a0 how hard it would be to maintain Linux version of this Mac OS recipe https://github.com/Homebrew/homebrew-cask/blob/master/Casks/multipass.rb ? |
Hi @abitrolly, I don't see big blockers (although I'm not an expert on Homebrew). If you want to try to do an unofficial install mechanism, it would be a nice addition to complement packaging systems we provide. Thanks! |
@luis4a0 Homebrew looks like the official install mechanism for Mac OS, so why not just extend it to Linux? |
In understand your point, but implementing something also incurs in mainenance costs and we already have one install method for Linux. It is hard to tell if this will have place in the features we decide to implement in the near future. |
@luis4a0 but that's the point in having the official install method if it doesn't work? |
Hi @abitrolly, There are a few things going on here. As of today, it doesn't matter what packaging type we use for Multipass, Multipass simply does not intergrate Also, regarding Homebrew support on Linux, we (the Multipass team) do not do the Homebrew Multipass recipe on macOS. This is done by a gracious community member. If Homebrew support on macOS began to lag, then we'd need to evaluate mentioning it as a supported install method or maintain it ourselves. Also, the macOS Homebrew recipe basically downloads the official macOS Multipass package and then extracts it in Homebrew specific paths and has |
Why it needs
I see. Should be mentioned that Homebrew is unofficial. Otherwise just doing the same compilation that is made for macOS, but targeting Linux should produce the binaries that are probably will end up in the same location. Without additional complications by |
This is what is needed for the VM's to reach the Internet behind a NAT'd bridge and for users to
Why? It uses the official package "under the hood" meaning it uses the
Again, it's the official macOS Multipass package found at (as of this writing) https://github.com/canonical/multipass/releases/download/v1.9.1/multipass-1.9.1+mac-Darwin.pkg that Homebrew uses. The Homebrew cask does not compile anything. It downloads that package and extracts it. Packaging for macOS is much different than packaging for Linux, so it's not so simple to adapt.
Are there other non- |
I don't get it. VM is just a user space app, unlike containers, which need to interact with Linux kernel. There are other user level snaps on my Fedora like |
A VM (virtual machine) is not just a user space app, it's an operating system running in a virtual computer. Since it's an operating system, it needs it's own virtual network interface and the host needs some way to route traffic from this virtual network adapter to the host's own network and then on out to the internet. A user level app as you suggest just opens a TCP socket to some server on the Internet and a way it goes. But virtual machines are much, much different and networking is much more complicated. It's just a fact with virtual machines no matter the hypervisor being used. |
Why QEMU can not do NAT in userspace? So that when VM tries to make outgoing TCP connection, the QEMU could wrap and forward it without VM even knowing that there is no real network adapter on the host.
I could not get past that |
It can, but we found it to be very limiting and network speed was very poor compared to how we set up networking for Multipass instances.
Did you add
I see no evidence in the tmt source code that they call |
Is there a good reason why Multipass is calling out to |
Hi @wheelerlaw, Multipass is able to use Hope this helps! |
Also, to answer the question of:
We want to also provide an "all in one" solution where there are no dependencies on other libraries such as |
What are you trying to do?
multipass
still doesn't work on Fedora 36 because of some snap limitations in #1448 that can not be fixed.What's your proposed solution?
Provide an alternative installation method. Either .rpm or Homebrew for Linux.
The text was updated successfully, but these errors were encountered: