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

Cannot get OS version on Debian 6 #28

Closed
andrewkroh opened this issue Nov 20, 2018 · 2 comments
Closed

Cannot get OS version on Debian 6 #28

andrewkroh opened this issue Nov 20, 2018 · 2 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@andrewkroh
Copy link
Member

andrewkroh commented Nov 20, 2018

If you use this on Debain 6 it fails with no /etc/<distrib>-release file found. This is because there's only /etc/debian_version. The code needs to handle this special case. We have sample file in the testdata directory for debian 6 but no test case.

osInfo, err := getOSRelease(baseDir)
if err != nil {
// Fallback
return findDistribRelease(baseDir)

@andrewkroh
Copy link
Member Author

Fix elastic/beats-tester#98 when complete.

andrewkroh added a commit to elastic/beats-tester that referenced this issue Nov 22, 2018
@andrewkroh andrewkroh added the wontfix This will not be worked on label Jun 1, 2022
@andrewkroh
Copy link
Member Author

Marking as wontfix because Debian 6 is EOL since February 2016. And it is no longer supported by Elastic Beats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant