Red Hat Bugzilla – Bug 326721
semodule hangs and consumes CPU with extra argument to -B option
Last modified: 2008-05-21 11:27:43 EDT
Description of problem:
Invoking semodule with the -B option and an extra argument causes the process to
hang and consume CPU.
Version-Release number of selected component (if applicable):
From a root shell, execute 'semodule -B aaa'
Steps to Reproduce:
1. execute 'semodule -B aaa'
2. Note that it does not complete, and that it is comsuming 100% CPU. Also,
no response to a SIGINT (^C) from the terminal.
3. Kill it using kill -9
semodule never completes and returns an error.
semodule should complete and possibly return an error
I tried this on a rawhide system, X86_64 running policycoreutils 2.0.29-1.fc8,
and it segfaults.
Fixed in policycoreutils-2.0.31-7.fc8
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.