-
Notifications
You must be signed in to change notification settings - Fork 98
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
Errno::ENAMETOOLONG #53
Comments
I've also gotten this error. In Ruby, filenames are limited to 255 characters, because |
Can't seem to replicate it anymore, however, I had forgotten to run In regard to the filename being to long, you'll notice that the filename it was trying to use was actually the contents of the node data (hard to see because I cut off some of the stacktrace). |
@cstewart87 it wasn't; that's just a bad stacktrace. This is a real error that we need to deal with at some point. |
@sv As a heads up, it isn't just a Ruby limitation. Ext3 and Ext4 both have a max filename length of 255 bytes. I'm unsure about other filesystems. |
@stevendanna how does the Chef Server handle this limitation /cc @seth |
metadata.json contents are being read into from_json ... JSON.parse as a filename rather than passed the filename which from_json is actually expecting. This change passes in the filename of the metadata.json file rather than the contents.
Does anyone have a reproduction case of this? If so, can you post the details here and/or post the full stack trace? |
@stevendanna @paulmooring had something yesterday |
|
The version of chef_zero in chef chef-11.8.2-1 that was downloaded to the Vagrant VM via Chef Omnibus (latest) was asking for a filename, however the latest version in master is asking for a json string. There is a bug in the current "stable" version, but the current version of master appears to work fine. |
@HighwayofLife that is not currently possible. I'll see about cutting a new release. |
Running test-kitchen for ossec cookbook and come across this error. It's issued during the chef-client run, which leads my to believe it's something with chef-zero. Could me wrong tho.
Stacktrace:
The text was updated successfully, but these errors were encountered: