Project

General

Profile

Actions

Bug #1703

closed

editing/removing interface groups leaves remnant

Added by Andreas Bochem over 13 years ago. Updated over 13 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:
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

Actions #1

Updated by Ermal Luçi over 13 years ago

Should be fixed on latest snaps.

Actions #2

Updated by Ermal Luçi over 13 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Ermal Luçi over 13 years ago

Actions #4

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.

Actions #5

Updated by Ermal Luçi over 13 years ago

That is normal if it does not have the members.

Actions #6

Updated by Andreas Bochem over 13 years ago

ifconfig -g still shows the members.

Actions #7

Updated by Ermal Luçi over 13 years ago

Ok solved. Check snapshots.

Actions #8

Updated by Ermal Luçi over 13 years ago

Actions #9

Updated by Ermal Luçi over 13 years ago

Actions #10

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.

Actions #11

Updated by Ermal Luçi over 13 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF