aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-01-27 13:07:52 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-01-27 13:07:52 +0000
commit3a2ad99c71dae022cfb7fb02e11473001c50ae23 (patch)
treee8a97ef7f4eed08e0fe1516777a7dc70bab48ba4 /.gitignore
parentad464fcc0882f8764e8bbb091a91eeeb4a804ff3 (diff)
downloadsos-3a2ad99c71dae022cfb7fb02e11473001c50ae23.tar.gz
[policies] run PackageManager query_command under timeout
PackageManager query commands may block due to file system locks or problems with the package database. Run the query command with a timeout of 30s and exit if the timeout expires. Signed-off-by: Aruna Balakrishnaiah <aruna@linux.vnet.ibm.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com> --- Changes from v3: Add default timeout instead of making it configurable Add print function instead of error() Changes from v2: Introduce timeout in shell_out wrapper Changes from v1: Addressed issues of the maintainer Introduce timeout instead of relying on yum.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions