Bug #1703
closedediting/removing interface groups leaves remnant
100%
Description
I noticed that removed interface groups are still shown by pfctl -s Interfaces
until I reboot the machine.
So I did some more checks on 2.0-RC3 (amd64) built on Thu Jul 21 00:28:37 EDT 2011:
1. Add an interface group Foobar, add two interfaces lagg0_vlan200
and lagg0_vlan51
.
2. Remove interface group Foobar. Group does not appear in the web gui, but shell output shows it still:
# pfctl -s Interfaces ... Foobar ... # ifconfig -g Foobar lagg0_vlan200 lagg0_vlan51
3. Re-create same group Foobar, same interfaces. No error shown. Appears in web gui and shell output as it should.
4. Edit group, rename to Barfoo. Again web gui shows all fine, but shell shows both group names, Barfoo with all the interfaces, and Foobar empty.
# pfctl -s Interfaces ... Barfoo Foobar ... # ifconfig -g Foobar # ifconfig -g Barfoo lagg0_vlan200 lagg0_vlan51
5. Remove group Barfoo. Barfoo still shown in shell output with all interfaces, instead the old name Foobar is finally removed.
# pfctl -s Interfaces ... Barfoo ... # ifconfig -g Barfoo lagg0_vlan200 lagg0_vlan51
Updated by Ermal Luçi over 13 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset cdfd39e2b9df28910e4b339c9589ab5377a5933c.
Updated by Ermal Luçi over 13 years ago
Applied in changeset 4869860590338234776737cf871e21d2e584f404.
Updated by Andreas Bochem over 13 years ago
2.0-RC3 (amd64) built on Fri Jul 22 11:43:53 EDT 2011:
Renaming the group now works correctly. But deleting the group still leaves it in the system.
Updated by Ermal Luçi over 13 years ago
That is normal if it does not have the members.
Updated by Andreas Bochem over 13 years ago
ifconfig -g
still shows the members.
Updated by Ermal Luçi over 13 years ago
Applied in changeset 85f9faa67f7eee5ca824c598b67927a1b71235f7.
Updated by Ermal Luçi over 13 years ago
Applied in changeset 073cd52e5836a961bcaf677d34b2252964fc9e10.
Updated by Andreas Bochem over 13 years ago
Looks good as of 2.0-RC3 (amd64) built on Tue Jul 26 19:09:40 EDT 2011:
The group name is not removed in all cases, but ifconfig -g
shows them empty.
Updated by Ermal Luçi over 13 years ago
- Status changed from Feedback to Resolved