-
Notifications
You must be signed in to change notification settings - Fork 3
check-configuration script returns warning about parse file not supported on ext4 #3
Comments
@bingel74 Could you comment about how to reproduce it (commands, labs, etc.) and information about the host OS ? |
OS: Ubuntu Desktop 12.04 (updated) After downloading and installing netkit-ng I executed check script "check_configuration.sh". All cecks passed except following:
However my file system obviously supports sparse files because it is ext4. |
However I found the bug. It is in script "netkit-ng/check_configuration.d/08-check_filesystem.sh". I have seen the command that check file system type is the following:
Since my bash output is in localized language, voilà the error. Using this command to run check script: LANG=C ./check_configuration.sh bash returns no errors. |
Maybe I'm wrong, however I think this is a weak way to check if user uses a file system that supports sparse files because labs could be created on others partitions and not perforce in same partition where netkit is installed. |
There is two problems:
|
Fix proposal pushed in bfb5344 to force english language for called commands. |
Fix proposal pushed in 77296af for checking filesystem support for sparse file for model fs or fs. |
Fixes released in version 3.0.4. |
Issue reported by @bingel74
The text was updated successfully, but these errors were encountered: