iptables-apply ought to use mktemp, not tempfile
Bug #715425 reported by
greenmoss
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iptables (CentOS) |
New
|
Undecided
|
Unassigned | ||
iptables (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: iptables
The iptables-apply script in iptables is very useful for me. It is however currently using "tempfile" to generate its temp files. This is a Debian/Ubuntu-only utility, which in turn makes iptables-apply non-portable across Linuxes.
It would be simple to use "mktemp" instead, which *is* portable across Linuxes. This would allow everyone to use the same utility on CentOS, RedHat, etc.
Ubuntu release(s): Lucid, Karmic
Iptables info:
iptables:
Installed: 1.4.1.1-4ubuntu3
Candidate: 1.4.1.1-4ubuntu3
Version table:
*** 1.4.1.1-4ubuntu3 0
500 http://
100 /var/lib/
To post a comment you must log in.
Thank you for using Ubuntu and reporting a bug. This is not something that we are going to diverge from Debian on. Since Debian provided the script, it makes sense to report this bug in the Debian BTS. Since you find the script generally useful on more than just Debian-based systems, perhaps you should submit this for upstream inclusion.