OpenNetworkLinux
OpenNetworkLinux copied to clipboard
systemd-udevd[643]: Process '/sbin/initblockdev xxx add' failed with exit code 1.
Hi,
After entering ONL, we saw these errors:
root@localhost:~# dmesg | grep block
...
[ 19.879348] systemd-udevd[643]: Process '/sbin/initblockdev loop3 add' failed with exit code 1.
[ 19.879783] systemd-udevd[644]: Process '/sbin/initblockdev loop5 add' failed with exit code 1.
[ 19.879813] systemd-udevd[673]: Process '/sbin/initblockdev loop1 add' failed with exit code 1.
I couldn't find /sbin/initblockdev file on my unit.
It seems the source file locates in https://github.com/opencomputeproject/OpenNetworkLinux/blob/master/packages/base/all/initrds/loader-initrd-files/src/bin/initblockdev.
However, I can't see any steps in ONL compiling to copy this file to ONL rootfs. Could you give me some help?
Hi, any update?
I think these information cause by "/etc/udev/rules.d/60-block.rules" and "/etc/udev/rules.d/60-net.rules". They are common rules and will exist in the ONL system.
However, they depend on the "initblockdev" tool, which is not installed on the ONL system. Check the "initblockdev" code. In fact, even if this tool exists, there will be information about the abnormal exit of these processes.
I think it maybe a design flaws.