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 #85

Closed
chris-rock opened this issue Apr 27, 2015 · 1 comment
Closed

Wrong detection of os version number on debian 8 #85

chris-rock opened this issue Apr 27, 2015 · 1 comment
Labels

Comments

@chris-rock
Copy link
Member

As already detected with dev-sec/puppet-ssh-hardening/issues/48 debian 8 does not return its version number with cat /etc/debian_version

Therefore the installation of the ssh modules does not produce the expected output:


       rspec /tmp/busser/suites/serverspec/ssh_spec.rb:142 # check sshd_config File "/etc/ssh/sshd_config" content should match /^MACs hmac-sha2-512,hmac-sha2-256,hmac-ripemd160$/
       rspec /tmp/busser/suites/serverspec/ssh_spec.rb:142 # check sshd_config File "/etc/ssh/sshd_config" content should match /^KexAlgorithms diffie-hellman-group-exchange-sha256$/
       rspec /tmp/busser/suites/serverspec/ssh_spec.rb:142 # check sshd_config File "/etc/ssh/sshd_config" content should match /^UsePrivilegeSeparation sandbox$/
       rspec /tmp/busser/suites/serverspec/ssh_spec.rb:142 # check ssh_config File "/etc/ssh/ssh_config" content should match /^MACs hmac-sha2-512,hmac-sha2-256,hmac-ripemd160$/
       rspec /tmp/busser/suites/serverspec/ssh_spec.rb:142 # check ssh_config File "/etc/ssh/ssh_config" content should match /^KexAlgorithms diffie-hellman-group-exchange-sha256$/
@chris-rock chris-rock changed the title Wrong detection of os version number on debian 8 (prerelease) Wrong detection of os version number on debian 8 Apr 27, 2015
@artem-sidorenko
Copy link
Member

@chris-rock on the current bento box, I get the proper version

# cat /etc/debian_version 
8.6

All tests are also running fine. So I'm closing this, feel free to reopen of needed

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

No branches or pull requests

2 participants