Project

General

Profile

Bug #1703

editing/removing interface groups leaves remnant

Added by Andreas Bochem almost 8 years ago. Updated almost 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Interfaces
Target version:
Start date:
07/21/2011
Due date:
% Done:

100%

Estimated time:
Affected Version:
Affected Architecture:

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

Associated revisions

Revision 04fc41b8 (diff)
Added by Bill Marquette about 11 years ago

MFC of changeset [22587]
Ticket #1703 - fix image tags

Revision 48698605 (diff)
Added by Ermal Luçi almost 8 years ago

Resolves #1703. Correctly delete a interface group members when the group is deleted.

Revision cdfd39e2 (diff)
Added by Ermal Luçi almost 8 years ago

Resolves #1703. Correctly delete a interface group members when the group is deleted.

Revision 073cd52e (diff)
Added by Ermal Luçi almost 8 years ago

Resolves #1703. Correct array key value.

Revision 85f9faa6 (diff)
Added by Ermal Luçi almost 8 years ago

Resolves #1703. Correct array key value.

History

#1 Updated by Ermal Luçi almost 8 years ago

Should be fixed on latest snaps.

#2 Updated by Ermal Luçi almost 8 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

#3 Updated by Ermal Luçi almost 8 years ago

#4 Updated by Andreas Bochem almost 8 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.

#5 Updated by Ermal Luçi almost 8 years ago

That is normal if it does not have the members.

#6 Updated by Andreas Bochem almost 8 years ago

ifconfig -g still shows the members.

#7 Updated by Ermal Luçi almost 8 years ago

Ok solved. Check snapshots.

#8 Updated by Ermal Luçi almost 8 years ago

#9 Updated by Ermal Luçi almost 8 years ago

#10 Updated by Andreas Bochem almost 8 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.

#11 Updated by Ermal Luçi almost 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF