Gentoo Archives: gentoo-user

From: Yahya Mohammad <mfyahya@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Installing iptables on OpenVZ Gentoo guest
Date: Tue, 25 Dec 2007 10:12:55
Message-Id: f240c2a00712250207t74c8cdfeu2619b17a15782b9a@mail.gmail.com
1 I'm running a Gentoo guest on an openvz kernel version
2 2.6.18-8.1.14.el5.028stab045.1 (redhat I think). When I tried to
3 emerge iptables portage wanted to pull in gentoo-sources. After
4 reading the portage man page I worked around this by adding
5 'sys-kernel/gentoo-sources-2.6.23-r3' to
6 /etc/portage/profile/package.provided. Then I manually extracted a
7 vanilla 2.6.18 kernel in /usr/src and created the 'linux' symlink.
8 iptables emerged ok after this and seems to work. I have a couple of
9 questions though:
10
11 - What happens when gentoo-sources-2.6.23-r3 is obsoleted and removed
12 from the portage tree? Will I have to update package.provided down the
13 road?
14 - Should I have applied all the underlying distro's patches to the
15 vanilla sources before compiling iptables? Or should I have applied
16 Gentoo's patches? i.e. are the headers used by iptables stable or are
17 they likely to have been modified?
18 --
19 gentoo-user@g.o mailing list