Bug 846550

Summary: YaST2 Network - deleting alias not reflected
Product: [openSUSE] openSUSE 13.1 Reporter: Michal Filka <mfilka>
Component: YaST2Assignee: Michal Filka <mfilka>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aburgemeister, forgotten_5bOUleMVRM, rh
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michal Filka 2013-10-18 05:31:11 UTC
+++ This bug was initially created as a clone of Bug #845534 +++

I am using IPv4 addresses. 

 I had one existing,which I edited (changed label and address) and added
another. Left YaST then confirmed changes with 'ip addr', and conncring from
another host.  I restarted YaST and "deleted" the additional addresses. Exited
YaST, and 'ip addr' shows the additional addresses still present.

In order to remove the unwanted addresses I used:
# vi /etc/sysconfig/network/ifcfg-enp4s0
to delete the entries (enp4s0 is the target ethernet device)
then:
# systemctl restart network.service
# ip addr
Comment 1 Michal Filka 2013-10-18 05:34:27 UTC
I'm currently unable to reproduce it on my 13.1 RC1 test machine.
Comment 2 Michal Filka 2013-10-18 06:03:33 UTC
Reproduced. Depends on order of deletion.
Comment 3 Michal Filka 2013-10-18 10:59:31 UTC
Comment2 is invalid. It depends on naming scheme. It works for old one (e.g. eth0) and is broken for new one (e.g. enp0s4).
Comment 4 Forgotten User 5bOUleMVRM 2013-10-18 16:00:44 UTC
You are right! Unfortunately I had tested this in a virtual machine which uses old style interface names for unknown reason.

I have also an OS13.1 RC1 installation on real hardware and this uses new style interface names. After reading your comment I tried it there and indeed neither the interface configuration file nor the active interface configuration was changed.
Comment 5 Bernhard Wiedemann 2013-10-21 11:00:18 UTC
This is an autogenerated message for OBS integration:
This bug (846550) was mentioned in
https://build.opensuse.org/request/show/204113 13.1 / yast2
Comment 6 Michal Filka 2013-12-16 11:28:23 UTC
Fixed in yast2.rpm v3.1.1