Project

General

Profile

Actions

Bug #19626

open

foreman_scap_client fails to scan when /tmp is out of free space

Added by Ondřej Pražák almost 7 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

We create a temporary folder in /tmp where the we store report before it is bzipped and sent to proxy. When there is no free space in /tmp, the scan fails.

Steps to reproduce
1) make sure there is no free space in /tmp
2) run foreman_scap_client

DEBUG: running: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_stig-rhel7-server-upstream --results-arf /tmp/d20170523-22082-iaaey8/results.xml /var/lib/openscap/content/96c2a9d5278d5da905221bbb2dc61d0ace7ee3d97f021fccac994d26296d986d.xml
I/O error : No space left on device
I/O error : write error
OpenSCAP Error: write error [elements.c:243]
Scan failed
Actions #1

Updated by Ondřej Pražák almost 7 years ago

Actions #2

Updated by Ondřej Pražák almost 7 years ago

Actions

Also available in: Atom PDF