Bug 120061
Summary: | make modules_install fails when calling depmod because of SELinux | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Albert Strasheim <13640887> |
Component: | policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED RAWHIDE | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | pgraner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-04-07 14:41:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Albert Strasheim
2004-04-05 18:12:13 UTC
Could you see if adding this r_dir_file(depmod_t, src_t) to /etc/security/selinux/src/policy/domains/program/modutile.te and then do a make load fixes the problem. Yep, adding the line above to modutil.te included with policy-sources-1.9.2-9 at line 46 fixes the problem. Without the line, I would get the following error in /var/log/messages: Apr 6 02:48:48 asok kernel: audit(1081212528.277:0): avc: denied { search } for pid=3040 exe=/sbin/depmod name=linux-2.6.4-1.305 dev=hda5 ino=33 scontext=root:sysadm_r:depmod_t tcontext=system_u:object_r:src_t tclass=dir Fixed in policy-1.9.2-12 Yep, works for me. |