[pkg-netfilter-team] Bug#916596: iptables.postinst failure on link creation

Olivier olivieraj at free.fr
Sun Dec 16 12:14:19 GMT 2018


Package: iptables
Version: 1.8.2-2+b1
Severity: important

Dear Maintainer,

Issue occure during iptables:i386 1.8.2-2 -> 1.8.2-2+b1 upgrade.

/var/lib/dpkg/info/iptables.postinst fail with message:

ln: failed to create symbolic link ''$'\t''      /sbin/iptables-save': No such file or directory

The root cause is here :

<script>
        LIST="/sbin/iptables
              /sbin/iptables-save
              /sbin/iptables-restore
              /sbin/ip6tables
              /sbin/ip6tables-save
              /sbin/ip6tables-restore"

	for i in $LIST ; do
</script>

There are tabs before "/sbin/", so this cause "for i in $LIST" issue (tabs are used as a file name)

Workaround: Remove tabs:

<patch>
        LIST="/sbin/iptables
/sbin/iptables-save
/sbin/iptables-restore
/sbin/ip6tables
/sbin/ip6tables-save
/sbin/ip6tables-restore"
</patch>

	Issue are similar with #914074 and #914129, but not exactly the sames.

	Thanks for your help.

	Best regards,
					Olivier

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (900, 'testing'), (90, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 4.18.0-2-686-pae (SMP w/4 CPU cores)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages iptables depends on:
ii  libc6                    2.28-2
ii  libip4tc0                1.8.2-2+b1
ii  libip6tc0                1.8.2-2+b1
ii  libiptc0                 1.8.2-2+b1
ii  libmnl0                  1.0.4-2
ii  libnetfilter-conntrack3  1.0.7-1
ii  libnfnetlink0            1.0.1-3+b1
ii  libnftnl11               1.1.2-2
ii  libxtables12             1.8.2-2+b1

iptables recommends no packages.

Versions of packages iptables suggests:
ii  kmod  25-2

-- debconf information:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "fr_FR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

-- debsums errors found:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "fr_FR.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").



More information about the pkg-netfilter-team mailing list