Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257755 - app-emulation/virt-manager depends ond net-firewall/iptables
Summary: app-emulation/virt-manager depends ond net-firewall/iptables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-05 09:37 UTC by R. May
Modified: 2009-12-18 16:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description R. May 2009-02-05 09:37:37 UTC
Hello,

I think app-emulation/virt-manager depends ond net-firewall/iptables.

Can we have an advice in this ebuild need TUN/TAP Driver from the kernel and also bridge support.

It would be nice.

Regards Roland

Reproducible: Always
Comment 1 R. May 2009-02-07 12:27:04 UTC
Hi,

in the newer Kernels we also need the new Kernel NAT Modul.

A secure way is to use this:


cat /etc/modules.autoload.d/kernel-2.6
# /etc/modules.autoload.d/kernel-2.6:  kernel modules to load when system boots.
#
# Note that this file is for 2.6 kernels.
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line.  Comments begin with # and
# are ignored.  Read man modules.autoload for additional details.

# For example:
# aic7xxx
#raid1

kvm_intel
kvm
tun
nf_nat
Comment 2 jieryn 2009-03-05 12:35:00 UTC
Let's be specific here, iptable support is only required if the user wants the default virt-manager network. Virt-manager will automatically create a bridged virtual network device and places all VMs into that bridged network. Finally, it will use DNS masquerading to link the virtual network device with whatever real network devices you may have; a real bonus to laptops that are frequently changing wired/wireless as all VM networks will have networking when the underlying host does.

So, bottom line is that we shouldn't hard RDEPEND on net-firewall/iptables. Instead, use a local USE flag 'iptables'.
Comment 3 Tobias Scherbaum (RETIRED) gentoo-dev 2009-05-20 17:42:38 UTC
*virt-manager-0.7.0 (17 Apr 2009)

  17 Apr 2009; Doug Goldstein <cardoe@gentoo.org>
  +virt-manager-0.7.0.ebuild:
  version bump. fixes bugs #256904 and #257755