-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fcat can't print anything in my system #39
Comments
Strange. That means it has problems reading from the kernel buffer or printing to the screen. |
I'm using ArcoLinux with 5.9.11-arch2-1 kernel, it gives the error on every file, even in the /home folder. |
Any update on this? |
Unfortunately not from my side. Don't know how to debug this as I don't have any system to debug the issue. 😟 Can you try on a different distribution if you have any at hand? |
All right! So, I did some test on a lot of distros in these days. Here's my report: On every distribution with linux 5.9.* and 5.10.* fcat does not work BUT on every linux 5.8 and 5.4 does work without any problem. |
This is utterly confusing... and a bit scary. So it sounds like something changed/broke in 5.9 (most likely changed). |
Why was that closed? I'd still say it would be interesting to know the reason why it is not working. Perhaps someone wants to pick this up in the future? |
Well, my bad. I close issues that are more than 2 months old, because it always means that a project is currently inactive. And also the issue seems related to the new kernels so people stick with bat (which is also using the splice feature) because it's currently active and has newer features. |
bat uses splice? That's news to me. I couldn't find any hint in the source code, only two issues, one closed and the other open but stalled.
Anything I'm missing here? |
It seems like stdout doesn't count as a pipe anymore for some reason
|
I looked through the 5.9 changelog and could only find this patch, which describes a deadlock in combination with splice. Can't find much else. Maybe somebody with more kernel experience can verify. |
Oops, I meant to add this link to my last sentence http://archive.lwn.net:8080/linux-kernel/202105071116.638258236E@keescook/t/ |
So does that mean we have to ask on the Linux Kernel mailing list if they can add back support for splice for our use-case? 😅 |
I doubt they would if it's not on their roadmap already, which probably would mean this project is dead. 😆 |
same for me
|
Not gonna lie, it's looking pretty bleak for this project. Newer kernels changed the behavior of splice and that broke our use-case. 😕 Unless we find a workaround (or convince the maintainers to find a solution in the Kernel) this project can't be fixed. |
Could maybe fcat work in bsd instead? |
Yes, there's a chance. https://man.freebsd.org/cgi/man.cgi?query=splice&sektion=2&apropos=0&manpath=CentOS+7.0 One would have to try if it works on an actual BSD operating system like FreeBSD or OpenBSD. |
Hi, maybe it's some dependency that dependabot broke but my fcat is not working anymore, it gives me this error:
Thanks in advance for the support!
The text was updated successfully, but these errors were encountered: