[Open-scap] OpenSCAP Error, Missing Library?

Anthony Davis Anthony.Davis at bbc.co.uk
Fri Apr 19 09:11:23 UTC 2013


Hi Przemek,

Thanks for the response, but i dont know if strace is outputting anything usefull, here is what I have found:

The rule it hangs on:
Rule ID:        SV-37379r1_rule
Title:          All interactive user home directories defined in the /etc/passwd file must exist.
Result:

strace output:

write(1, "Rule ID:\r\t\t\33[1mSV-37379r1_rule\33["..., 37) = 37
write(1, "Title:\r\t\tAll interactive user ho"..., 91) = 91
write(1, "Result:\r\t\t", 10)           = 10
wait4(13305, 0x7fff2584379c, WNOHANG, NULL) = 0
writev(5, [{"(#d8:seap.msg#d3::id#d8((#d15:pa"..., 242}], 1) = 242
wait4(13305, 0x7fff2584369c, WNOHANG, NULL) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
wait4(13305, 0x7fff2584372c, WNOHANG, NULL) = 0
read(5, "(#d8:seap.cmd#d3::id#d2#d6::clas"..., 16384) = 104
wait4(13305, 0x7fff25841ffc, WNOHANG, NULL) = 0
writev(5, [{"(#d8:seap.msg#d3::id#d9#d8:no-re"..., 234}], 1) = 234
wait4(13305, 0x7fff25841efc, WNOHANG, NULL) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
wait4(13305, 0x7fff25841f8c, WNOHANG, NULL) = 0
read(5, "(#d8:seap.cmd#d3::id#d3#d6::clas"..., 16384) = 100
wait4(13305, 0x7fff25841f0c, WNOHANG, NULL) = 0
writev(5, [{"(#d8:seap.cmd#d3::id#d2#d9::repl"..., 276}], 1) = 276
wait4(13305, 0x7fff25841efc, WNOHANG, NULL) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
wait4(13305, 0x7fff25841f8c, WNOHANG, NULL) = 0
read(5, "(#d8:seap.msg#d3::id#d8#d9::repl"..., 16384) = 42
wait4(13305, 0x7fff258436ac, WNOHANG, NULL) = 0
writev(5, [{"(#d8:seap.cmd#d3::id#d3#d9::repl"..., 126}], 1) = 126
wait4(13305, 0x7fff2584369c, WNOHANG, NULL) = 0
select(6, [5], NULL, NULL, NULL)        = 1 (in [5])
wait4(13305, 0x7fff2584372c, WNOHANG, NULL) = 0
read(5, "(#d8:seap.msg#d3::id#d9#d9::repl"..., 16384) = 4025
wait4(13313, 0x7fff25844b9c, WNOHANG, NULL) = 0
writev(6, [{"(#d8:seap.msg#d3::id#d47((#d11:f"..., 534}], 1) = 534
wait4(13313, 0x7fff25844a9c, WNOHANG, NULL) = 0
select(7, [6], NULL, NULL, NULL

Any insight you guys can give would be really helpful as im not too brilliant at reading the strace output and understanding it.

Kind Regards

Tony


________________________________________
From: open-scap-list-bounces at redhat.com [open-scap-list-bounces at redhat.com] on behalf of Przemek Klosowski [przemek.klosowski at nist.gov]
Sent: 18 April 2013 16:21
To: open-scap-list at redhat.com
Subject: Re: [Open-scap] OpenSCAP Error, Missing Library?

On 04/18/2013 10:16 AM, Anthony Davis wrote:

> Only my next problem though, it seems to hang during the cans, namely
> on
>
> Rule ID:        SV-37379r1_rule Title:          All interactive user
> home directories defined in the /etc/passwd file must exist.
...
> and the rule after it, is there a way to get a more granular output
> to see whats going on and find out why it is hanging? The system only
> has the bog standard redhat users on it, cant be more than 20 system
> users so I dont think it is due to volume of dirs it has to check?

Look at the output of    strace -p `pidof oscap`

If there's too much info there, you can include and/or exclude specific
syscalls (see man strace)


_______________________________________________
Open-scap-list mailing list
Open-scap-list at redhat.com
https://www.redhat.com/mailman/listinfo/open-scap-list


-----------------------------
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.
-----------------------------




More information about the Open-scap-list mailing list