Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835613 - net-firewall/iptables-1.8.7-r1 breaks eselect-iptables-20211203
Summary: net-firewall/iptables-1.8.7-r1 breaks eselect-iptables-20211203
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-19 06:56 UTC by Milan Dadok
Modified: 2022-03-20 21:28 UTC (History)
4 users (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 Milan Dadok 2022-03-19 06:56:51 UTC
In iptables-1.8.7-r1.ebuild ipv6 use flag is removed, but eselect-iptables module has conddition on it
line 81
            if [[ ${1} == -a ]] || has_version 'net-firewall/iptables[ipv6]'

sou it does not create ip6tables* symlinks
Comment 1 Larry the Git Cow gentoo-dev 2022-03-20 21:28:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a4d24e0336d8e24e310b44123edad15e9e23882

commit 7a4d24e0336d8e24e310b44123edad15e9e23882
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-20 21:27:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-20 21:27:03 +0000

    net-firewall/iptables: depend on newer eselect-iptables for IPv6 fix
    
    Closes: https://bugs.gentoo.org/835613
    Signed-off-by: Sam James <sam@gentoo.org>

 .../iptables/{iptables-1.8.7-r1.ebuild => iptables-1.8.7-r2.ebuild}    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd3804bdc11dbad287903ad7a13e63d9d8c81e0

commit 1cd3804bdc11dbad287903ad7a13e63d9d8c81e0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-20 21:25:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-20 21:25:59 +0000

    app-eselect/eselect-iptables: add 20220320
    
    Fixes installing ip6tables symlinks when using
    newer iptables w/o USE=ipv6 (it's always on now).
    
    Closes: https://bugs.gentoo.org/835613
    Signed-off-by: Sam James <sam@gentoo.org>

 app-eselect/eselect-iptables/Manifest              |  1 +
 .../eselect-iptables-20220320.ebuild               | 25 ++++++++++++++++++++++
 2 files changed, 26 insertions(+)
Comment 2 Larry the Git Cow gentoo-dev 2022-03-20 21:28:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/eselect-iptables.git/commit/?id=2512407d3790155e67dd7e1133a47703c51501b0

commit 2512407d3790155e67dd7e1133a47703c51501b0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-03-20 21:17:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-03-20 21:18:37 +0000

    iptables.eselect: assume IPv6 is enabled if missing USE flag
    
    In 174ce77f31336d5d8c9a4af20dfa7d31e2c55ca5 in ::gentoo, we dropped
    USE=ipv6 from iptables. We need to adapt eselect-iptables for that.
    
    Closes: https://bugs.gentoo.org/835613
    Signed-off-by: Sam James <sam@gentoo.org>

 src/iptables.eselect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-20 21:28:48 UTC
Thank you!