Hi Hecke, Thank you for the detailed report. Please see my response inline. On Thu, Dec 04, 2014 at 04:13:58PM +0100, hecke wrote:
HI all,
I am currently trying to get our old autoinstallation to work with OpenSuse 13.2 and have severe problems with wicked.
Where can I find documentation how to write configuration files for wicked?
You may examine the man pages installed as part of the Wicked package. For general IPADDR information, please see: `man ifcfg` If you require more details about configuration of a particular kind of interface, you may access things like: `man-bridge`, `man-bonding`, etc. Also useful is `man wicked`.
I want to set a second IP to an interface which was realized by the following /etc/sysconfig/network/ifcfg-eth0 file in our old setting (matching the filename to the new interface name enp3s0):
BOOTPROTO='static' STARTMODE='auto' IPADDR='192.168.216.236/24' IPADDR_ext='10.216.100.236/24' LABEL_ext='ext'
This looks like a totally valid configuration. I've replicated it on my machine and am unable to reproduce the crash.
I am not sure if writing this file is the cause, but when I try to enable the new configuration I get a segfault of wicked:
dummyecps:~ # service network restart Job for wicked.service failed. See "systemctl status wicked.service" and "journalctl -xn" for details.
dummyecps:~ # systemctl status wicked.service wicked.service - wicked managed network interfaces Loaded: loaded (/usr/lib/systemd/system/wicked.service; enabled) Active: failed (Result: core-dump) since Thu 2014-12-04 16:05:06 CET; 7min ago Process: 9952 ExecStop=/usr/sbin/wicked --systemd ifdown all (code=exited, status=0/SUCCESS) Process: 12027 ExecStart=/usr/sbin/wicked --systemd ifup all (code=dumped, signal=SEGV) Main PID: 12027 (code=dumped, signal=SEGV)
The segfault appears to have happened in the client program. From here, it would be useful for us to get a look at Wicked logs and the stack trace from the client. Instructions are here: https://en.opensuse.org/index.php?title=openSUSE:Bugreport_wicked Also, I'd like to see what version of Wicked you are running and versions of installed RPMs 1. `wicked --version` 2. `rpm -qa | grep wicked` Regards, Karol
dummyecps:~ # journalctl -xn -- Logs begin at Tue 2014-12-02 14:50:29 CET, end at Thu 2014-12-04 16:05:06 CET. -- Dec 04 16:00:01 dummyecps CRON[11993]: pam_unix(crond:session): session closed for user root Dec 04 16:05:05 dummyecps wickedd[6389]: lo: address 127.0.0.1 covered by a static lease Dec 04 16:05:05 dummyecps wickedd[6389]: lo: address ::1 covered by a static lease Dec 04 16:05:05 dummyecps wickedd[6389]: enp3s0: address 192.168.216.236 covered by a static lease Dec 04 16:05:05 dummyecps wickedd[6389]: enp3s0: address 10.216.100.236 covered by a static lease Dec 04 16:05:06 dummyecps wickedd[6389]: enp3s0: No duplicates for IP address 192.168.216.236 detected Dec 04 16:05:06 dummyecps wickedd[6389]: enp3s0: Notified neighbours about IP address 192.168.216.236 Dec 04 16:05:06 dummyecps wickedd[6389]: enp3s0: No duplicates for IP address 10.216.100.236 detected Dec 04 16:05:06 dummyecps wickedd[6389]: enp3s0: Notified neighbours about IP address 10.216.100.236 Dec 04 16:05:06 dummyecps kernel: wicked[12027]: segfault at 24 ip 00000000004133dc sp 00007fff06422bb0 error 4 in wicked[400000+29000]
Any help is appreciated! Thanks Hecke
To unsubscribe, e-mail: wicked-devel+unsubscribe@opensuse.org To contact the owner, e-mail: wicked-devel+owner@opensuse.org