Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#76147 - [ifplugd][Orphan] daemon crashes upon plug/unplug event
Attached to Project:
Arch Linux
Opened by Ralf M (rbm78bln) - Saturday, 08 October 2022, 22:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 18 October 2022, 05:15 GMT
Opened by Ralf M (rbm78bln) - Saturday, 08 October 2022, 22:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 18 October 2022, 05:15 GMT
|
DetailsDescription:
When plugging or unplugging the network cable of a monitored interface, the daemon crashes with the following syslog entries: Sep 28 14:12:07 navi ifplugd(eth0)[726]: ifplugd 0.28 initializing, using NETLINK device monitoring. Sep 28 14:12:07 navi ifplugd(eth0)[726]: Using interface eth0/6C:24:08:xx:xx:xx with driver <r8152> (version: v1.12.13) Sep 28 14:12:28 navi ifplugd(eth0)[726]: Using detection mode: SIOCETHTOOL Sep 28 14:12:28 navi ifplugd(eth0)[726]: NLAPI: Packet too small or truncated! Sep 28 14:12:28 navi ifplugd(eth0)[726]: Exiting. The action script does not get executed. This is a well-known bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704495 https://unix.stackexchange.com/questions/222254/new-kernel-does-not-automatically-reconnect-to-network Patch file and updated PKGBUILD are attached to this ticket. Additional info: * package version: 0.28-16 * command line: ifplugd -i eth0 --run=/bin/echo * link to upstream bug report: see above Steps to reproduce: * run the daemon: ifplugd -i eth0 --run=/bin/echo * plug or unplug the network cable * find the messages mentioned above in your syslog * the process has terminated and the network interface not not being monitored anymore. |
This task depends upon
[1] https://bugs.archlinux.org/task/75836#comment210996
* When you try to trigger up/down *scripts* using systemd-netword, you basically have two options
-- extra/ifplugd: minimalistic, well tested, mature piece of code, very traditional, yet a bit old fashioned
-- aur/networkd-dispatcher: much more modern, but far too bulky for tiny systems as it requires python and sadly not really a part of arch linux.
* You'll need either option for tasks like for example disabling WiFi when wired ethernet becomes available. (i.e. one interface influences another one)
* ifplugd can even be used as a minimal network manager on its own
* ifplugd package needs little to (almost) no attention, so no real reason to remove it now
-- yes, upstream is dead, hence the tiny patch supplied.
* NetworkManager has mixed popularity and is huge as well
Actually looking into the arch forums, you'll find quiete a few users having this package running, even though it's rarely ever the reason why people are seeking help. I was surprised about that myself.