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
Stronger condition to check NFS #17695
Conversation
I tested on my Matomo installation where the directory |
This issue is in "needs review" but there has been no activity for 7 days. ping @matomo-org/core-reviewers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Seb35, thanks for going through the trouble of creating this PR! I've requested a single change, otherwise it looks good to merge!
Exclude unrecognized filesystems like btrfs subvolumes. NFS filesystems are identified as 'nfs' or 'nfs4'. Issue: matomo-org#12217
I did the requested change, it is now more robust. |
@Seb35 I tested locally and it works well, thanks again for creating this PR and contributing some code! We certainly appreciate the effort. |
Description:
Issue: #12217 - in the system check page, filesystems like btrfs subvolumes are wrongly recognised as NFS.
NFS filesystems are identified as 'nfs' or 'nfs4' by
df -T
, so the added condition tests the existence of' nfs'
.Review