ifplugd(lo):程序执行失败,返回值为1

ifplugd(lo):程序执行失败,返回值为1

我有一个运行 Raspbian 的 Raspberry Pi,我在初始化时看到此错误ifplugd

ifplugd(lo): Program execution failed, return value is 1.

从日志部分来看,它似乎从开始的地方结束了ifplugd initializing——也许这表明该过程最终成功了。

我的以太网没有出现过任何已知问题,所以我不确定这个错误有多重要。

Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: ifplugd 0.28 initializing.
Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: Using interface lo/00:00:00:00:00:00
Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: Using detection mode: SIOCETHTOOL
Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: Initialization complete, link beat detected.
Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: Executing '/etc/ifplugd/ifplugd.action lo up'.
Nov 27 12:36:39 raspberrypi systemd[1]: Found device /dev/ttyAMA0.
Nov 27 12:36:39 raspberrypi kernel: gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: client: /sbin/ifup: failed to open lockfile /run/network/.ifstate.lock: No such file or directory
Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: client: run-parts: /etc/ifplugd/action.d//ifupdown exited with return code 1
Nov 27 12:36:39 raspberrypi mtp-probe[215]: checking bus 1, device 6: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5"
Nov 27 12:36:39 raspberrypi mtp-probe[215]: bus: 1, device: 6 was not an MTP device
Nov 27 12:36:39 raspberrypi mtp-probe[217]: checking bus 1, device 3: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1"
Nov 27 12:36:39 raspberrypi mtp-probe[216]: checking bus 1, device 5: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4"
Nov 27 12:36:39 raspberrypi mtp-probe[216]: bus: 1, device: 5 was not an MTP device
Nov 27 12:36:39 raspberrypi ifplugd(lo)[203]: Program execution failed, return value is 1.
Nov 27 12:36:39 raspberrypi mtp-probe[217]: bus: 1, device: 3 was not an MTP device
Nov 27 12:36:39 raspberrypi mtp-probe[227]: checking bus 1, device 4: "/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2"
Nov 27 12:36:39 raspberrypi systemd[1]: Found device /dev/mmcblk0p5.
Nov 27 12:36:39 raspberrypi systemd[1]: Starting File System Check on /dev/mmcblk0p5...
Nov 27 12:36:39 raspberrypi mtp-probe[227]: bus: 1, device: 4 was not an MTP device
Nov 27 12:36:39 raspberrypi ifplugd(eth0)[248]: ifplugd 0.28 initializing.

它可能不相关,但我看到它正在mtp-probe日志的这一部分中进行访问。我最近遇到了这种类型的日志错误:

Nov 26 21:50:51 raspberrypi systemd-udevd[184]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1 1 3': No such file or directory

之后我就离开了apt-get install libmtp-runtime

相关内容