Skip to content
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

Potential Misconfiguration #4

Open
santolucito opened this issue Jul 22, 2017 · 1 comment
Open

Potential Misconfiguration #4

santolucito opened this issue Jul 22, 2017 · 1 comment

Comments

@santolucito
Copy link

We are a group of researchers from Yale University building a tool to finding bugs in configurations files. To evaluate the effectiveness of our tool, we randomly selected 1000 open source configuration files to verify and are requesting feedback on our error report. Your file https://raw.githubusercontent.com/dl528888/ansible-examples/690402b76e9b8baa61c23502c27310dfa56b4213/complete_testing/roles/mysql_install/templates/my.cnf was among those files. When we ran our tool your file, it reported the following potential errors.

[TYPE ERROR: for keyword "myisam-recover"
Found value:[""]
In the training set we saw: String 55 times, Path 0 times, Size 0 times, Int 0 times, Bool 3 times

ORDERING ERROR: Expected "innodb-data-home-dir[mysqld]" BEFORE "innodb-data-file-path[mysqld]"In the training set we saw: True 17 times, False 1 times
]

The training set referenced in the report is taken from the industrial configuration files at https://github.com/tianyin/configuration_datasets. Note that even if your system is currently working, these bug may manifest itself only under large traffic loads or different system environments.

If you feel the any of above errors may indeed cause problems either on your system, or a different system, please comment on this issue report in the space below. This will help use to improve our tool. If you do not believe this is a potential bug, please feel free to close this issue. If possible we would appreciate your feedback before July 27.

If you would like find out more about how we detected these bug, you can find the open source tool at https://github.com/santolucito/ConfigV. For a quick overview of this tool, you can watch this video at https://youtu.be/plliEh-5MpM. If you have further questions, or would like to get involved with this project, feel free to reach out over email at [email protected].

Thank you for your time!

@dl528888
Copy link
Owner

Thank you for your test, but this example test run is no problem, I test use ansible version 1.9.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants