sysctl-33 appears to have been broken by commit 085b428.
The change from assignment_re to assignment_regex appears to have made it stop recognizing the presence of the nx flag, causing the test to fail.
× sysctl-33: CPU No execution Flag or Kernel ExecShield (1 failed)
× /proc/cpuinfo Flags should include NX
expected [] to include "nx"
✔ Kernel Parameter kernel.exec-shield value should eq 1
This is what the flags string looks like on a sample CentOS 6 host:
$ grep nx /proc/cpuinfo
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc up rep_good xtopology nonstop_tsc pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand lahf_lm abm
Edit: For clarity, this might be a change that's related to the inspec version? We're currently on chefdk 1.2.22, which ships with inspec 1.11.0.
sysctl-33appears to have been broken by commit 085b428.The change from
assignment_retoassignment_regexappears to have made it stop recognizing the presence of thenxflag, causing the test to fail.This is what the flags string looks like on a sample CentOS 6 host:
Edit: For clarity, this might be a change that's related to the inspec version? We're currently on chefdk 1.2.22, which ships with inspec 1.11.0.