Article 56SN1 File turns into a directory error

File turns into a directory error

by
jy824212
from LinuxQuestions.org on (#56SN1)
Hi,

Recently I have encountered a bug in my Linux kernel.

I am trying to perform the following command in my startup script called example.sh:

echo 1 > /var/opt/lab/example.log

5 out of 100 times in my Syslog I captured:

It shows me this error:

/usr/bin/example.sh: line 494: /var/opt/lab/example.log : Is a directory

From my understanding, i dont think this is possible.

I hope anyone can share some ideas with me.

[QUESTION]I can not determine where does this example.log directory comes from I need tips on trouble shoot this. Is it linux kernel driver related ?

Best Regards,
Jiyelatest?d=yIl2AUoC8zA latest?i=Rs2h54PV01Q:lJ47WwMoHcc:F7zBnMy latest?i=Rs2h54PV01Q:lJ47WwMoHcc:V_sGLiP latest?d=qj6IDK7rITs latest?i=Rs2h54PV01Q:lJ47WwMoHcc:gIN9vFwRs2h54PV01Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments