FS#75401 - [iptables] remove symlink of iptables-apply or package the real iptables-apply script.
Attached to Project:
Arch Linux
Opened by Haruue Icymoon (haruue) - Friday, 22 July 2022, 19:02 GMT
Last edited by Felix Yan (felixonmars) - Monday, 25 July 2022, 14:20 GMT
Opened by Haruue Icymoon (haruue) - Friday, 22 July 2022, 19:02 GMT
Last edited by Felix Yan (felixonmars) - Monday, 25 July 2022, 14:20 GMT
|
Details
Description:
/usr/bin/iptables-apply has been symlink to xtables-legacy-multi, but xtables-legacy-multi doesn't come with support of iptables-apply. Therefore, on an Arch Linux server, if you execute the iptables-apply command, you will see the following error message: # iptables-apply ERROR: No valid subcommand given. Valid subcommands: * iptables * main4 * iptables-save * save4 ... Please consider removing this symlink (so we will be able to make an iptables-apply package in the AUR), or package the real iptables-apply (should be a script). Additional info: * package version(s): iptables 1:1.8.8-1 * config and/or log files etc. n/a * link to upstream bug report, if any: nope, this is a package issue. * man page of iptables-apply(8): https://man.archlinux.org/man/iptables-apply.8 * the cause of this issue: https://github.com/archlinux/svntogit-packages/blob/b179758d46aae160888a74fb5ee0b5bcdd212954/trunk/PKGBUILD#L86 Steps to reproduce: 1. pacman -S iptables 2. iptables-apply /etc/iptables/iptables.rules 3. ls -l /usr/bin/iptables-apply |
This task depends upon
Closed by Felix Yan (felixonmars)
Monday, 25 July 2022, 14:20 GMT
Reason for closing: Fixed
Additional comments about closing: iptables-1:1.8.8-2
iptables-nft-1:1.8.8-2
Monday, 25 July 2022, 14:20 GMT
Reason for closing: Fixed
Additional comments about closing: iptables-1:1.8.8-2
iptables-nft-1:1.8.8-2
[1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=iptables-apply
Could you please apply this patch, build and release the 1:1.8.8-2? It just changes two lines of PKGBUILD and can be checked & applied in few minutes.
[1] https://github.com/archlinux/svntogit-packages/blob/b179758d46aae160888a74fb5ee0b5bcdd212954/trunk/PKGBUILD