Bug 5047 - [ruqemu] iptables rule does not get cleaned
Summary: [ruqemu] iptables rule does not get cleaned
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.5
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.5 M5
Assignee: Chen Qi
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-26 14:24 UTC by Mihai Prica
Modified: 2013-09-02 01:53 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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