diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2015-01-27 13:07:52 +0000 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2015-01-27 13:07:52 +0000 |
commit | 3a2ad99c71dae022cfb7fb02e11473001c50ae23 (patch) | |
tree | e8a97ef7f4eed08e0fe1516777a7dc70bab48ba4 /po/nds.po | |
parent | ad464fcc0882f8764e8bbb091a91eeeb4a804ff3 (diff) | |
download | sos-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 'po/nds.po')
0 files changed, 0 insertions, 0 deletions