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

KVP OS distro version detection improvement #169

Closed
chvalean opened this issue Sep 20, 2016 · 1 comment
Closed

KVP OS distro version detection improvement #169

chvalean opened this issue Sep 20, 2016 · 1 comment
Assignees

Comments

@chvalean
Copy link
Contributor

The KVP daemon is using /etc/os-release to report the OSMajorVersion key.

If the file does not exist, it falls back to /etc/redhat-release. The fallback code assumes the file has multiple lines of content, which is incorrect. Temporary workaround is to install the RPM that provides the /etc/os-release file.

The code will be updated for the fallback parsing code to handle the contents of /etc/redhat-release for both RedHat and CentOS.

@nickme
Copy link
Contributor

nickme commented Oct 4, 2016

Resolved. The daemon now processes the *-release files correctly.

@nickme nickme closed this as completed Oct 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants