Home Wiki > openSUSE:Bugreport wicked
Sign up | Login

openSUSE:Bugreport wicked

tagline: From openSUSE

Reporting Wicked/Networking related bugs

Wicked bugs may be filed under the Basesystem component.

What to include in bug reports

  • A good description of the bug you are reporting and how to reproduce with last released update.
  • Perform the following and upload the logs/output obtained:
 # enable debugging
 perl -i -lpe 's{^(WICKED_DEBUG)=.*}{$1=all};s{^(WICKED_LOG_LEVEL)=.*}{$1=debug}' /etc/sysconfig/network/config
 
 # restart the daemons
 systemctl restart wickedd
 # reapply the config
 wicked --debug all ifup all # systemctl restart wicked
 # collect the configuration -- remove (wireless) keys/password first
 tar -czf config-ifcfg.tgz /etc/sysconfig/network
 wicked show-config > config-dump.log
 # collect the status
 wicked ifstatus --verbose all > status.log
 journalctl -b -o short-precise > wicked.log
 ip addr show > ip_addr.log
 ip route show table all > routes.log
 rpm -qa | grep wicked > wicked-version.log
 # collect network information
 hwinfo --netcard > hwinfo-netcard.log
 # If the issue is related to the wireless networking please also perform following steps and provide /var/log/wpa_supplicant.log.
 # This action should be performed before reproducing of the problem.
 sed -e 's|/wpa_supplicant -c|/wpa_supplicant -dddt -c|g' /usr/lib/systemd/system/wpa_supplicant.service > /etc/systemd/system/wpa_supplicant.service
 systemctl daemon-reload
 systemctl restart wpa_supplicant

In the Unlikely Event of a Coredump...

 # install debuginfo package
 zypper in wicked-debuginfo libwicked-0-6-debuginfo wicked-debugsource
 # decode the stack and attach bt.txt to the report
 gdb -ex 'bt full' -ex 'quit' -c /path_to_core $(gdb -c /path_to_core -ex "quit" 2>&1 | grep "generated by" | sed -e 's#.*[`]##g' -e 's#[ ].*##g') > bt.txt
 # SLES: easier is to install supportutils package and use getappcore
 # and provide also a complete "system state" info using supportconfig:
 zypper in supportutils
 getappcore -v /path_to_core
 supportconfig