Re: [PATCH bpf-next] selftests/bpf: workaround stdout issue in VM launched by vmtest.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Could you please provide more information about the issue?

Still trying to get to the root cause of this issue, I've found that
after https://github.com/kernel-patches/bpf/commit/cb80ddc67152e72f28ff6ea8517acdf875d7381d
, the init process would lose stdout on startup .

ls -lah /proc/1/fd/0 /proc/1/fd/1 /proc/1/fd/2 /proc/1/fd/6 /proc/1/fd/7
lrwx------1 root root 64 Feb 23 17:20 /proc/1/fd/0 -> /dev/null
lrwx------ 1 root root 64 Feb 23 17:20 /proc/1/fd/1 -> /dev/null
lrwx------ 1 root root 64 Feb 23 17:20 /proc/1/fd/2 -> /dev/console
lrwx------ 1 root root 64 Feb 23 17:20 /proc/1/fd/6 -> /dev/console
lrwx------ 1 root root 64 Feb 23 17:20 /proc/1/fd/7 -> /dev/console

and same command on the good commit
ls -lah /proc/1/fd/0 /proc/1/fd/1 /proc/1/fd/2
lrwx------ 1 root root 64 Feb 23 17:23 /proc/1/fd/0 -> /dev/console
lrwx------ 1 root root 64 Feb 23 17:23 /proc/1/fd/1 -> /dev/console
lrwx------ 1 root root 64 Feb 23 17:23 /proc/1/fd/2 -> /dev/console

This patch is merely a workaround until we find and fix the real issue.

Cheers.



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux