Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 303146 Details for
Bug 441379
(Segfault) semanage boolean -D
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch to fix semanage boolean -D seg fault
libsemanage-genhomedirconfix.diff (text/plain), 1.24 KB, created by
Stephen Smalley
on 2008-04-21 13:44:48 UTC
(
hide
)
Description:
Patch to fix semanage boolean -D seg fault
Filename:
MIME Type:
Creator:
Stephen Smalley
Created:
2008-04-21 13:44:48 UTC
Size:
1.24 KB
patch
obsolete
>This patch ensures that we do not call genhomedircon if the policy was >not rebuilt, as there is no need to regenerate home directory contexts >in that situation. This avoids the bug for semanage boolean -D while >still properly handling semodule -Bn aka genhomedircon or other >operations. > >Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> > >--- > > libsemanage/src/direct_api.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >Index: trunk/libsemanage/src/direct_api.c >=================================================================== >--- trunk/libsemanage/src/direct_api.c (revision 2860) >+++ trunk/libsemanage/src/direct_api.c (working copy) >@@ -708,7 +708,7 @@ > /* run genhomedircon if its enabled, this should be the last operation > * which requires the out policydb */ > if (!sh->conf->disable_genhomedircon) { >- if ((retval = >+ if (out && (retval = > semanage_genhomedircon(sh, out, 1)) != 0) { > ERR(sh, "semanage_genhomedircon returned error code %d.", > retval); > > >-- >Stephen Smalley >National Security Agency > > >-- >This message was distributed to subscribers of the selinux mailing list. >If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with >the words "unsubscribe selinux" without quotes as the message.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 441379
:
301557
| 303146