Merge lp:~neil-aldur/ubuntu/precise/iptables-persistent/fix-for-967018-905517 into lp:ubuntu/precise/iptables-persistent
Proposed by
Neil Wilson
Status: | Merged |
---|---|
Merge reported by: | Chow Loong Jin |
Merged at revision: | not available |
Proposed branch: | lp:~neil-aldur/ubuntu/precise/iptables-persistent/fix-for-967018-905517 |
Merge into: | lp:ubuntu/precise/iptables-persistent |
Diff against target: |
81 lines (+17/-11) 5 files modified
debian/changelog (+7/-0) debian/iptables-persistent.postinst (+0/-3) debian/iptables-persistent.postrm (+2/-5) debian/iptables-persistent.preinst (+7/-2) debian/rules (+1/-1) |
To merge this branch: | bzr merge lp:~neil-aldur/ubuntu/precise/iptables-persistent/fix-for-967018-905517 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chow Loong Jin (community) | Approve | ||
Neil Wilson | Pending | ||
Review via email: mp+102675@code.launchpad.net |
This proposal supersedes a proposal from 2012-04-03.
Description of the change
Fix a couple of upgrade and installation faults with the maintainer scripts
To post a comment you must log in.
The debian/rules change looks okay, but the postinst change looks wrong.
Specifically, I think it should be: rules.v4 ]; then rules.v4 maintscript- helper mv_conffile \ rules /etc/iptables/ rules.v4 0.0.20101230 -- "$@"
if [ ! -e /etc/iptables/
touch /etc/iptables/
dpkg-
/etc/iptables/
fi
i.e. you need to check for the presence of rules.v4, rather than rules.
Apart from that, I don't see anything wrong, and will happily sponsor this patch.