[Open-scap] OpenSCAP Error, Missing Library?

Peter Vrabec pvrabec at redhat.com
Thu Apr 18 09:20:36 UTC 2013


Hi Anthony,


On 04/17/2013 08:26 PM, Anthony Davis wrote:
> Hi,
>
> I am trying to implement OpenSCAP in RHEL 5.8 at the moment and
> satellite 5.5. I am getting an error and im pretty sure its a missing
> library due to our very heavily stripped down build. I cant seem to work
> out what library it is. Can any one offer any help?

Could you send:

$ rpm -q openscap
$ oscap -V

output please.


Peter.

>
> Here is the output.
>
> [root at server tmp]# /usr/bin/oscap xccdf eval
> /tmp/U_RedHat_5-V1R1_STIG_Benchmark-xccdf.xml
> 1 1868 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12118: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id': The
> attribute 'datatype' is required but missing.
> 1 1874 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12150: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id',
> attribute 'datatype': The value 'string' does not match the fixed value
> constraint 'int'.
> 1 1874 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12153: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id',
> attribute 'datatype': The value 'string' does not match the fixed value
> constraint 'int'.
> 1 1826 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12153: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id':
> '^(0*[0-9]{0,2}|^0*[0-4][0-9][0-9])$' is not a valid value of the local
> union type.
> 1 1874 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12248: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}group_id',
> attribute 'datatype': The value 'string' does not match the fixed value
> constraint 'int'.
> 1 1874 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12251: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id',
> attribute 'datatype': The value 'string' does not match the fixed value
> constraint 'int'.
> 1 1826 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12251: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id':
> '^0*([5-9][0-9][0-9]|[1-9][0-9][0-9][0-9]+)$' is not a valid value of
> the local union type.
> 1 1874 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12254: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id',
> attribute 'datatype': The value 'string' does not match the fixed value
> constraint 'int'.
> 1 1868 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12263: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}group_id': The
> attribute 'datatype' is required but missing.
> 1 1826 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12263: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}group_id':
> '^(0|1|3)$' is not a valid value of the local union type.
> 1 1874 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12266: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id',
> attribute 'datatype': The value 'string' does not match the fixed value
> constraint 'int'.
> 1 1826 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12266: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id':
> '^0*([5-9][0-9][0-9]|[1-9][0-9][0-9][0-9]+)$' is not a valid value of
> the local union type.
> 1 1874 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12269: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id',
> attribute 'datatype': The value 'string' does not match the fixed value
> constraint 'int'.
> 1 1868 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12284: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id': The
> attribute 'datatype' is required but missing.
> 1 1826 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12284: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}user_id':
> '^(0|1|2|3)$' is not a valid value of the local union type.
> 1 1868 In file '/tmp/U_RedHat_5-V1R1_STIG_Benchmark-oval.xml' on line
> 12287: Element
> '{http://oval.mitre.org/XMLSchema/oval-definitions-5#unix}group_id': The
> attribute 'datatype' is required but missing.
>
> Kind Regards
>
> Tony
>
> ----------------------------
>
> http://www.bbc.co.uk <http://www.bbc.co.uk>
> This e-mail (and any attachments) is confidential and may contain
> personal views which are not the views of the BBC unless specifically
> stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
> ---------------------
>
>
>
> _______________________________________________
> Open-scap-list mailing list
> Open-scap-list at redhat.com
> https://www.redhat.com/mailman/listinfo/open-scap-list
>




More information about the Open-scap-list mailing list