Steps to reproduce on Ubuntu 12.04.5 LTS:
1. sudo apt-get install libopenscap8 # this will install 1.0.2-1
2. cd /tmp
3. wget 
https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.trusty.cve.oval.xml
4. oscap oval eval --results /tmp/results-trusty.xml --report 
/tmp/report-trusty.html /tmp/com.ubuntu.trusty.cve.oval.xml

Expected result:
Files /tmp/results-trusty.xml and /tmp/report-trusty.html are produced.

Actual result:
Files /tmp/results-trusty.xml and /tmp/report-trusty.html are not produced.
Got error:
OpenSCAP Error: Schema file not found when trying to validate 
'/tmp/com.ubuntu.trusty.cve.oval.xml' [../../../src/common/oscapxml.c:325]

So oscap 1.0.2-1 is not compatible with com.ubuntu.trusty.cve.oval.xml
file.

Solution - build openscap from sources (see my comment 27 on
https://answers.launchpad.net/ubuntu/+source/openscap/+question/242354).


But please update OpenSCAP in Ubuntu 14.04 repositories. All Ubuntu-system 
admins will be happy.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1658529

Title:
  [SRU] OpenSCAP packages should be updated to the latest versions on
  Ubuntu 12.04 and 14.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openscap/+bug/1658529/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to