OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

systemd-udevd[643]: Process '/sbin/initblockdev xxx add' failed with exit code 1.

Open nicwu-cel opened this issue 2 years ago • 2 comments

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?

nicwu-cel avatar Jul 03 '23 07:07 nicwu-cel

Hi, any update?

Yagami-Jiang avatar Jan 15 '24 09:01 Yagami-Jiang

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. image

Yagami-Jiang avatar Jan 17 '24 03:01 Yagami-Jiang