[pkg-netfilter-team] Bug#1041605: ipset: bash-completion doesn't work

Slavko linux at slavino.sk
Fri Jul 21 10:53:36 BST 2023


Package: ipset
Version: 7.17-1
Severity: normal

Hi,

after upgrade to bookworm i noticed that bash-completion for ipset stops to work,
after quick debug i found this:

    LANG=C bash -x /usr/share/bash-completion/completions/ipset
    + shopt -s extglob
    /usr/share/bash-completion/completions/ipset: line 363: syntax error near unexpected token `('
    /usr/share/bash-completion/completions/ipset: line 363: `done < <(PATH=${PATH}:/sbin ( command ip -o link show ) 2>/dev/null)'

After removing the "()", it can be sourced and completion starts to work as
expected. I am not bash guru, that i don't know what is problem, perhaps the
nesting of "()" inside "<()".

Anyway, i am not sure how it is supposed to work, but automatic loading
doesn't anyway, and i have to symlink it to /etc/bash_completion.d/

BTW, ipset is not installed on this (reporting) machine...

regards



More information about the pkg-netfilter-team mailing list