Bug 5047

Summary: [ruqemu] iptables rule does not get cleaned
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mihai Prica <mihai.prica>
Component: coreAssignee: Chen Qi <Qi.Chen>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: liezhi.yang, meta.mr.watcher, meta.watcher, Qi.Chen, sgw, yi.zhao
Version: 1.5   
Target Milestone: 1.5 M5   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mihai Prica 2013-08-26 14:24:50 UTC
1. Run an image using runqemu.
2. List all iptables rules from the nat table (iptables -t nat -L -n -v).
You should see the 2 rules created by the runqemu-ifup script.
3. Stop the runqemu process.
4. List the iptables rules. The rules are still there.

Also, every time you run the script, two new rules will be created.
Comment 1 Chen Qi 2013-09-02 01:53:02 UTC
Branch: master
Commit: ef38a0aed35357d035ca587162158cd2f55b958f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ef38a0aed35357d035ca587162158cd2f55b958f