Tiny Core Extensions > TCE Corepure64

virt-manager error on startup

<< < (3/6) > >>

Rich:
Hi core.dump

--- Quote from: core.dump on April 07, 2020, 05:03:07 PM --- ... Moreover, there's another thing I don't understand: after installing iptables, I noticed it hasn't anything to "run" the firewall: no servers (it doesn't exist, e.g., an "iptablesd"), no command line flags ("iptables -d" or such), no kernel modules (I didn't find any "iptables.ko" or similar). So my question is: how can it work if there isn't an "active" component?
--- End quote ---

From:
http://tinycorelinux.net/11.x/x86/tcz/iptables.tcz.info

It appears the x86 version includes includes a basic firewall script not included in x86_64:

--- Code: ---Comments:       Iptables is the userspace tool to control
the linux kernel firewall. A simple script
included, suitable for home users.
-
From a terminal:
sudo /usr/local/sbin/basic-firewall
-
From bootlocal.sh (to start on every boot):
/usr/local/sbin/basic-firewall noprompt
--- End code ---

GNUser:

--- Quote from: core.dump on April 07, 2020, 05:03:07 PM ---No, in fact I tried installing iptables, but nothing changes:


--- Code: ---Error starting network 'default': internal error: Failed to initialize a valid firewall backend
--- End code ---

--- End quote ---
In TCL, kernel functionality required for firewall is in the  ipv6-netfilter-KERNEL.tcz  extension (which is a dependency of iptables.tcz). It should have been automatically installed when you installed iptables.tcz, but please check to make sure. When you run this command, does it say the extension is already installed?

--- Code: ---$ tce-load -wi ipv6-netfilter-KERNEL
--- End code ---

GNUser:

--- Quote from: core.dump on April 07, 2020, 05:03:07 PM ---Moreover, there's another thing I don't understand: after installing iptables, I noticed it hasn't anything to "run" the firewall: no servers (it doesn't exist, e.g., an "iptablesd"), no command line flags ("iptables -d" or such), no kernel modules (I didn't find any "iptables.ko" or similar). So my question is: how can it work if there isn't an "active" component?

--- End quote ---
If  iptables.tcz  and  ipv6-netfilter-KERNEL.tcz  extensions are installed, then your system has the capability of creating a firewall. However, no firewall is created until you configure one (either manually or using some helper script/application).

I have both of the above packages installed on my TC11 64bit laptop but didn't configure a firewall, so no firewall is running. Run this command:

--- Code: ---$ sudo iptables -nvL
Chain INPUT (policy ACCEPT 12688 packets, 10M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 9551 packets, 7421K bytes)
 pkts bytes target     prot opt in     out     source               destination       

--- End code ---

If your output is similar to mine (i.e., if there are no rules listed for any of the chains) then it means no firewall is running.

Juanito:

--- Quote from: core.dump on April 07, 2020, 11:32:00 AM ---It looks like I found a solution. These packages must be installed in order to get a correctly running virt-manager:

virt-manager.tcz
polkit.tcz
gtksourceview.tcz
gtksourceview-gir.tcz
libsoup.tcz

Probably they should be considered as dependencies since they're mandatory to run virt-manager without errors.

--- End quote ---

gnome-boxes seems much easier to use to me...

I have not found the need to load polkit, gtksourceview or libsoup - virt-manager does however need gtk-vnc-gir and spice-gtk-gir to connect to a running vm, although it still gives an error message.

I've adjusted the dep and info files and reposted.

core.dump:

--- Quote from: Juanito on April 08, 2020, 03:38:13 AM ---gnome-boxes seems much easier to use to me...

I have not found the need to load polkit, gtksourceview or libsoup - virt-manager does however need gtk-vnc-gir and
spice-gtk-gir to connect to a running vm, although it still gives an error message.

--- End quote ---

Yes, but it has tons of other dependencies slowing down the bootup... :(


--- Quote from: Rich on April 07, 2020, 08:23:11 PM ---Hi core.dump
From:
http://tinycorelinux.net/11.x/x86/tcz/iptables.tcz.info

It appears the x86 version includes includes a basic firewall script not included in x86_64:

--- Code: ---Comments:       Iptables is the userspace tool to control
the linux kernel firewall. A simple script
included, suitable for home users.
-
From a terminal:
sudo /usr/local/sbin/basic-firewall
-
From bootlocal.sh (to start on every boot):
/usr/local/sbin/basic-firewall noprompt
--- End code ---

--- End quote ---

Could you please post that script? Probably with that I will be able to start a firewall. I suppose it is valid for x86_64 too, even though I don't know why it has not been included...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version