On 15.11.2017 13:17, Michal Kubecek wrote:
On Wednesday, 15 November 2017 12:43 Stefan Seyfried wrote:
On 15.11.2017 10:39, Herbert Graeber wrote:
ifplugd is used by wicked if you set "Activate Device" to "On cable connect" in YaST. Currently ifplugd is installed by the enhanced_base
This is totally crazy. Like almost everything in wicked.
AFAIK this is not really an invention of wicked. See ifcfg.template on any pre-wicked openSUSE/SLE, we had STARTMODE="ifplugd" option long before wicked was introduced. So wicked rather preserves the feature.
Yes. But in the "good old days" sysconfig ifcfg-scripts were exactly this: bash scripts. They basically needed ifplugd to do stuff like "cable hotplug detection". Wicked, OTOH is compiled (C or C++?) code which could implement the ifplugd functionality easily in the wicked daemons which are running anyway. Just like NetworkManager is doing since its beginning. Resorting to starting an extra daemon, its code being more than 10 years unmaintained, to handle cable hotplug is an -- how do I write it politely -- ... "strange" design decision. But then the whole wicked invention was a strange design decision anyway and -- as Jan has already mentioned -- it's at least aptly named. BTW: in the last 10 years, the kernel and the network card drivers have moved on quite a bit, so even kiwi which apparently uses "ifplugstatus" from the ifplugd package could just check /sys/class/net/$interface/carrier. I'll file a drop request for Factory/ifplugd now. I am not going to maintain it (and help perpetuate this insanity) any longer. Users who really need this functionality in a separate daemon (I use it myself on systemd-less embedded systems) can just use busybox' ifplugd implementation, which works well. So if nobody takes maintainership of Base:System/ifplugd, it'll be history soon. Have fun, seife -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org