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

Wrong detection of os version number on debian 8 (prerelease) #48

Open
chris-rock opened this issue Apr 21, 2015 · 0 comments
Open

Wrong detection of os version number on debian 8 (prerelease) #48

chris-rock opened this issue Apr 21, 2015 · 0 comments

Comments

@chris-rock
Copy link
Member

The puppet facter releases a os version number https://docs.puppetlabs.com/facter/2.3/core_facts.html#operatingsystemrelease, that we use in https://github.com/hardening-io/puppet-ssh-hardening/blob/master/lib/puppet/parser/functions/use_privilege_separation.rb#L19

This does not work as intended in debian 8 prerelease due to the fact that

$ cat /etc/debian_version
jessie/sid

does not return a number like on debian 7:

$ cat /etc/debian_version
7.7

Therefore the server config will include UsePrivilegeSeparation yes instead of the intended UsePrivilegeSeparation sandbox

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

1 participant