Hi Dragos, I'm sorry but unfortunately I can't reproduce your issue. I created a loop device and the UUID is reported correctly for me. The only case when UUID wasn't collected was when I run oscap as a normal user, then oscap got data from old libblkid cache. But when run as root, everything works OK to me. Do you run oscap as root? If yes, I would need more information from you (e.g. OVAL definition) to be able to help you.
Thank you Regards Jan Černý Security Technologies | Red Hat, Inc. ----- Original Message ----- > From: "Dragos Prisaca" <[email protected]> > To: "Jan Cerny" <[email protected]> > Cc: [email protected] > Sent: Monday, May 9, 2016 10:42:27 PM > Subject: RE: [Open-scap] openscap does not collect the uuid property > > Hello Jan, > > The UUID is reported by blkid tool on both RHEL6 and 7: > # blkid > ... > /dev/loop2: UUID="11111111-2222-3333-4444-555555555555" TYPE="ext3" > > Thanks, > _Dragos. > > > -----Original Message----- > From: Jan Cerny [mailto:[email protected]] > Sent: Monday, May 09, 2016 11:42 AM > To: Dragos Prisaca > Cc: [email protected] > Subject: Re: [Open-scap] openscap does not collect the uuid property > > Hello Dragos, > > Is the UUID of your loop device reported by blkid tool? > Or is it missing as well? > > Best regards > > Jan Černý > Security Technologies | Red Hat, Inc. > > ----- Original Message ----- > > From: "Dragos Prisaca" <[email protected]> > > To: [email protected] > > Sent: Thursday, May 5, 2016 10: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: > > > > > > > > <lin-sys:partition_item id = "10676517" status = "exists" > > > <lin-sys:mount_point> /mnt/my_loop_device </lin-sys:mount_point> > > <lin-sys:device> /dev/loop2 </lin-sys:device> <lin-sys:uuid status = > > "not collected" /> <lin-sys:fs_type> ext3 </lin-sys:fs_type> > > <lin-sys:mount_options> rw </lin-sys:mount_options> > > <lin-sys:mount_options> seclabel </lin-sys:mount_options> > > <lin-sys:mount_options> relatime </lin-sys:mount_options> > > <lin-sys:mount_options> errors=continue </lin-sys:mount_options> > > <lin-sys:mount_options> barrier=1 </lin-sys:mount_options> > > <lin-sys:mount_options> data=ordered </lin-sys:mount_options> > > <lin-sys:mount_options> bind </lin-sys:mount_options> > > <lin-sys:total_space datatype = "int" > 244385 </lin-sys:total_space> > > <lin-sys:space_used datatype = "int" > 4407 </lin-sys:space_used> > > <lin-sys:space_left datatype = "int" > 239978 </lin-sys:space_left> > > </lin-sys:partition_item> > > > > > > > > > > Thanks, > > > > _Dragos. > > > > _______________________________________________ > > Open-scap-list mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/open-scap-list > _______________________________________________ Open-scap-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/open-scap-list
