# Remove Wicked

**URL:** <https://forums.suse.com/t/remove-wicked/30095>\
**Category:** SLES Networking\
**Created:** [July 27, 2017, 7:56pm UTC](https://forums.suse.com/t/remove-wicked/30095 "2017-07-27T19:56:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcatana](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@jcatana](https://forums.suse.com/u/jcatana)\
**Post date:** [July 27, 2017, 7:56pm UTC](https://forums.suse.com/t/remove-wicked/30095/1 "2017-07-27T19:56:58Z")

</div>

How do I remove wicked in sles12sp2 and install NetworkManager? Preferably through autoyast during the build.

It seems that autoyast still creates /etc/sysconfig/network/ files and wicked does not properly translate the files autoyast creates.

Here is my autoyast interface stanza  
  
none  
9000  
19.59.24.209  
255.255.254.0  
eth0  
auto

This gets translated to:

cat /etc/sysconfig/network/ifcfg-eth0  
BOOTPROTO=‘none’  
IPADDR=‘19.59.24.209/23’  
MTU=‘9000’  
PREFIXLEN=‘23’  
STARTMODE=‘auto’

Looks fine. I’ve been using this under sles10 and sles12 for years building thousands of systems without issue.

This fails under wicked:  
2017-07-27T12:19:13.333135-04:00 hostname wicked: eth0: hiring nanny  
2017-07-27T12:19:13.345819-04:00 hostname wicked: eth0: converting config into policy ‘policy\_\_eth0’  
2017-07-27T12:19:13.359084-04:00 hostname wicked: eth0: adding policy policy\_\_eth0 to nanny  
2017-07-27T12:19:13.373565-04:00 hostname wicked: Calling /org/opensuse/Network/Nanny.createPolicy(policy\_\_eth0)  
2017-07-27T12:19:13.373783-04:00 hostname wickedd-nanny[1379]: \_\_ni\_dbus\_object\_message(path=/org/opensuse/Network/Nanny, interface=org.opensuse.Network.Nanny, method=createPoli  
cy) called  
2017-07-27T12:19:13.374080-04:00 hostname wickedd-nanny[1379]: ni\_dbus\_connection\_get\_caller\_uid(:1.26): user\_id=0  
2017-07-27T12:19:13.374235-04:00 hostname wickedd-nanny[1379]: Policy “policy\_\_eth0” already exists  
2017-07-27T12:19:13.374390-04:00 hostname wickedd-nanny[1379]: eth1: state=device-up want=network-up, wait-for=link-up  
2017-07-27T12:19:13.374544-04:00 hostname wickedd-nanny[1379]: waiting for 1 devices to become ready (1 explicitly requested)  
2017-07-27T12:19:13.387564-04:00 hostname wicked: Call to /org/opensuse/Network/Nanny.createPolicy(policy\_\_eth0) failed: Policy already exists  
2017-07-27T12:19:13.401624-04:00 hostname wicked: Calling /org/opensuse/Network/Nanny/Policy/policy\_\_eth0.update()  
2017-07-27T12:19:13.401841-04:00 hostname wickedd-nanny[1379]: \_\_ni\_dbus\_object\_message(path=/org/opensuse/Network/Nanny/Policy/policy\_\_eth0, interface=org.opensuse.Network.Mana  
gedPolicy, method=update) called

and ends up creating this file:  
cat /run/wicked/nanny/policy\_\_eth0.xml  
  
  
eth0  
  
  
eth0  
  
boot  
  
  
9000  
  
  
false  
  
  
false

Is there a way to get autoyast to work with wicked or just to blacklist wicked from being installed and use NetworkManager?

---

<div class="post-metadata">

**Author:** ![jcatana](https://avatars.discourse-cdn.com/v4/letter/j/9e8a1a/32.png) [@jcatana](https://forums.suse.com/u/jcatana)\
**Post date:** [July 27, 2017, 9:59pm UTC](https://forums.suse.com/t/remove-wicked/30095/2 "2017-07-27T21:59:38Z")

</div>

Figured out my own issue.  
bootproto=none causes wicked to disable the interface. NetworkManager was more forgiving I guess.  
bootproto=static allows the card to come up properly.

---

<div class="post-metadata">

**Author:** ![smflood](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/smflood/32/10576_2.png) [@smflood](https://forums.suse.com/u/smflood)\
**Post date:** [July 28, 2017, 12:49pm UTC](https://forums.suse.com/t/remove-wicked/30095/3 "2017-07-28T12:49:06Z")

</div>

On 27/07/17 20:04, jcatana wrote:  
[color=blue]

> Figured out my own issue.  
> bootproto=none causes wicked to disable the interface. NetworkManager  
> was more forgiving I guess.  
> bootproto=static allows the card to come up properly.[/color]

From TID 7005464[1] (an oldie but still relevant) I think this was  
working (or rather not) with Wicked as designed - NetworkManager should  
also have (not) worked.

Anyway thanks for taking the time to report back.

HTH.

## [1] [https://www.suse.com/support/kb/doc/?id=7005464](https://www.suse.com/support/kb/doc/?id=7005464)

Simon  
SUSE Knowledge Partner

* * *

## If you find this post helpful and are logged into the web interface, please show your appreciation and click on the star below. Thanks.
