Mailinglist Archive: opensuse-factory (562 mails)

< Previous Next >
Re: [opensuse-factory] disable wickedd-dhcp*
18.01.2017 21:16, Michael Ströder пишет:
Patrick Shanahan wrote:
* Michael Ströder <michael@xxxxxxxxxxxx> [01-18-17 12:46]:
My systems all have static network configuration (wicked) and therefore they
don't need DHCP / auto-IP client(s) running. But still these processes are
always started:

/usr/lib/wicked/bin/wickedd-dhcp6 --systemd --foreground
/usr/lib/wicked/bin/wickedd-auto4 --systemd --foreground
/usr/lib/wicked/bin/wickedd-dhcp4 --systemd --foreground

What's official way to completely disable these wicked services?

I would guess: systemctl disable wickedd-dhcp6.service

That's what I've tried *before* asking.
But I'm asking for a persistent solution.

Why I'm asking here:

tw1:~ # systemctl status wickedd-dhcp6.service
● wickedd-dhcp6.service - wicked DHCPv6 supplicant service
Loaded: loaded (/usr/lib/systemd/system/wickedd-dhcp6.service; enabled;
vendor preset: disabled)
Active: active (running) since Wed 2017-01-18 17:58:35 CET; 1h 10min ago
Main PID: 415 (wickedd-dhcp6)
Tasks: 1 (limit: 512)
CGroup: /system.slice/wickedd-dhcp6.service
└─415 /usr/lib/wicked/bin/wickedd-dhcp6 --systemd --foreground

Jan 18 17:58:35 tw1 systemd[1]: Starting wicked DHCPv6 supplicant service...
Jan 18 17:58:35 tw1 systemd[1]: Started wicked DHCPv6 supplicant service.
tw1:~ # systemctl disable wickedd-dhcp6.service
Removed symlink /etc/systemd/system/dbus-org.opensuse.Network.DHCP6.service.
tw1:~ # systemctl stop wickedd-dhcp6.service
tw1:~ # systemctl status wickedd-dhcp6.service
● wickedd-dhcp6.service - wicked DHCPv6 supplicant service
Loaded: loaded (/usr/lib/systemd/system/wickedd-dhcp6.service; disabled;
vendor preset: disabled)
Active: inactive (dead) since Wed 2017-01-18 19:08:49 CET; 1s ago
Main PID: 415 (code=exited, status=0/SUCCESS)

Jan 18 17:58:35 tw1 systemd[1]: Starting wicked DHCPv6 supplicant service...
Jan 18 17:58:35 tw1 systemd[1]: Started wicked DHCPv6 supplicant service.
Jan 18 19:08:49 tw1 systemd[1]: Stopping wicked DHCPv6 supplicant service...
Jan 18 19:08:49 tw1 systemd[1]: Stopped wicked DHCPv6 supplicant service.

Looks good so far.

But after *reboot* it says "disabled" and is "running" even though all my
ifcfg*
files have BOOTPROTO='static':


It is pulled in by wickedd.service. If you want to completely disable
it, you need to mask it (although I do not know how wickedd will react
to it).

--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >