Wicked.service startup is time consuming

Sorry for posting in english, I don’t know why the fcitx doesn’t work.

My box is opensuse 13.2, upgraded from 13.1. I found the wicked.service take a long time to startup. It works fine in previous 13.1 system before I upgrade it to 13.2.
Below is the systemd-anaylze blame output, I tailored the long message.

hugo@20:~> systemd-analyze blame
30.520s wicked.service
6.976s slapd.service
3.667s smb.service
3.588s apparmor.service
1.914s systemd-fsck-root.service
1.626s display-manager.service
1.392s systemd-udev-settle.service
1.347s alsa-restore.service

hugo@20:~> uname -a
Linux ZHF 3.16.7-21-desktop #1 SMP PREEMPT Tue Apr 14 07:11:37 UTC 2015 (93c1539) x86_64 x86_64 x86_64 GNU/Linux

hugo@20:~> lspci | grep Eth
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)

It is not this box, all other fresh installed opensuse 13.2 x86_64 system(more than 10 set), with different hardware encounter the same issue.
Does anyone know what is wrong with it and how to fix it.

上一下 sudo systemctl status -l wicked 的 output。

你还可以试试去 /usr/lib/systemd/system/wicked 看下它的 ExecStart 以及 After 什么服务。

/usr/sbin/wickedd-nanny --systemd --foreground (wickedd-nanny.service)
/usr/sbin/wickedd --systemd --foreground(wickedd.service)
/usr/sbin/wicked --systemd ifup all

基本上是这三个命令。

你可以先 systemctl stop 掉 wicked 服务,然后运行下 /usr/sbin/wicked --systemd ifup all 这个看看命令行有没有什么输出。