-
Notifications
You must be signed in to change notification settings - Fork 128
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
Chrome/Chromium does not work (pread64: Input/output error (5)) if home directory is mounted via NFS #326
Comments
Ok a few questions for you.
And last, just an observation of mine, NFS is not a great idea to link the .config/chromium directory. Both Chrome and Firefox use a database there and NFS doesn't really do well with synchronous activity that a database needs. Not to mention, if you had systems using the same linked folder at the same time, nothing is stopping the browsers from causing rampant data corruption there as they clobber each others writes. |
Yes, I'm fully aware of your concern, and that's why I've separate controls implemented that prevents parallel graphical logons on different or on the same workstations in my LAN. I also noticed that there's something weird happeing also with Gnome Web/Epiphany on Zen kernel: Opening of MS Teams will lead to infinite login loop, but on Debian sid kernel (6.4.13-1) it works just fine. In the past I have had some weird NFS issues if the file locking is not working properly on NFS mounts. I don't know if that's the issue now, I doubt that. I compared the Debian 6.4.13-1 and 6.4.14-1-liquorix-amd64 kernel configs and filtered all NFS related settings from there. They're quite the same, the only one which seems a bit weird is that 6.4.14-1-liquorix-amd64 has
BTW: My NFS mount settings are:
So NFSv4.2 is actived and supported on both sides (client & server), and it's definitely in use, because server-side copying is working in my setup, and that requires NFSv4.2. |
- Enable UDP support - Disable v4.2 read plus - Disable NFSD flex file layout Related issues: - zen-kernel/zen-kernel#326
Another experimental option that is marked as not production ready. Turn off since it could be related to github issue [1]. [1] zen-kernel/zen-kernel#326
Those changes fixed the issue(s), thank you! |
I'm reopening temporarily, the changes I made were just for Liquorix. @heftig please review the commits I made for NFS to Liquorix as they need to be applied to |
Ah nevermind, it appears this issue was only tested on Debian with stock and Liquorix. Closing out. |
This happens on Zen kernels, if ~/.config/chromium|chrome directory is under NFS mount:
This is somehow related to my /home NFS mount, because as a local user Chrome/Chromium starts just fine. And they start OK as "NFS home mount" user if I symlink my ~/.config/chromium to a directory that resides on my local SSD.
So I guess it's an issue with the Zen/Liquorix kernel, because Chrome/Chromium works on Debian stable/sid kernels just fine, even the ~/.config/chromium directory resides on a NFS share.
In strace, there is this happening:
I also tried to reset Chromium settings by renaming .config/chromium => .config/chromium.bak, and starting Chromium again, but it still crashes.
Kernel version:
Linux 6.4.14-1-liquorix-amd64 #1 ZEN SMP PREEMPT liquorix 6.4-18.1~bookworm (2023-09-02) x86_64 GNU/Linux
I've the following sysctl parameters applied, nothing else (I don't believe that these cause the issue):
The text was updated successfully, but these errors were encountered: