Re: [Open-scap] openscap does not collect the uuid property

2016-05-10 Thread Dragos Prisaca
Thank you for the reply Daniel.
How do I verify if oscap was compiled with blkid support?

My installation seems to have support for partition test:
OpenSCAP will be compiled with the following settings:
=== probes ===
...
  partition:   yes
...

Thanks,
_Dragos.


-Original Message-
From: Daniel Kopeček [mailto:dkope...@redhat.com]
Sent: Tuesday, May 10, 2016 5:53 AM
To: Dragos Prisaca; Jan Cerny
Cc: open-scap-list@redhat.com
Subject: Re: [Open-scap] openscap does not collect the uuid property

Hello,

On 05/10/2016 11:40 AM, Dragos Prisaca wrote:
> Hello Jan,
>
> I run oscap as root.
> Here are the steps to reproduce the issue:
> 1. Download the content from
> https://scap.nist.gov/validation/downloads/SCAP1.2ValidationTestConten
> t_1-2.1.0.0.zip 2. # unzip SCAP1.2ValidationTestContent_1-2.1.0.0.zip
> 3. # unzip validationTestSuites_1-2.1.0.0.zip
> 4. # cd linux_partition_test/configuration_scripts/
> 5. # dos2unix *.sh && chmod +x *.sh
> 6. # ./linux_partition_test_config1.sh 7. Run the
> linux_partition_test/linux_partition_test-datastream.xml with oscap 8.
> Open the scan results and look for a partition item with the following
> mount_point:
>
> 
>  /mnt/my_loop_device
>  /dev/loop3
>  

The "not collected" status is set by the probe if the library/probes were
compiled without blkid support:

https://github.com/OpenSCAP/openscap/blob/maint-1.2/src/OVAL/probes/unix/linux/partition.c#L232


Regards,
--
Daniel Kopeček
Software Engineer, Special Projects
Red Hat, Inc.

___
Open-scap-list mailing list
Open-scap-list@redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list

Re: [Open-scap] openscap does not collect the uuid property

2016-05-10 Thread Daniel Kopeček

Hello,

On 05/10/2016 11:40 AM, Dragos Prisaca wrote:

Hello Jan,

I run oscap as root.
Here are the steps to reproduce the issue:
1. Download the content from
https://scap.nist.gov/validation/downloads/SCAP1.2ValidationTestContent_1-2.1.0.0.zip
2. # unzip SCAP1.2ValidationTestContent_1-2.1.0.0.zip
3. # unzip validationTestSuites_1-2.1.0.0.zip
4. # cd linux_partition_test/configuration_scripts/
5. # dos2unix *.sh && chmod +x *.sh
6. # ./linux_partition_test_config1.sh
7. Run the linux_partition_test/linux_partition_test-datastream.xml with
oscap
8. Open the scan results and look for a partition item with the following
mount_point:


 /mnt/my_loop_device
 /dev/loop3
 


The "not collected" status is set by the probe if the library/probes 
were compiled without blkid support:


https://github.com/OpenSCAP/openscap/blob/maint-1.2/src/OVAL/probes/unix/linux/partition.c#L232


Regards,
--
Daniel Kopeček
Software Engineer, Special Projects
Red Hat, Inc.

___
Open-scap-list mailing list
Open-scap-list@redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list

Re: [Open-scap] openscap does not collect the uuid property

2016-05-06 Thread Martin Preisler
- Original Message -
> From: "Dragos Prisaca" 
> To: open-scap-list@redhat.com
> Sent: Thursday, May 5, 2016 4:45:56 PM
> Subject: [Open-scap] openscap does not collect the uuid property
> 
> 
> 
> Hello,
> 
> 
> 
> The OpenSCAP 1.2.10 does not collect the uuid property:

Hi,

thanks for reporting. I have create a bug to track fixing this.
See https://github.com/OpenSCAP/openscap/issues/410

-- 
Martin Preisler
Identity Management and Platform Security | Red Hat, Inc.

___
Open-scap-list mailing list
Open-scap-list@redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list