View Issue Details

IDProjectCategoryView StatusLast Update
0018244CentOS-8selinux-policypublic2021-07-11 04:40
ReporterKhairi Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Platform86_64OSCentOSOS Version8
Product Version8.4.2105 
Summary0018244: bugs
DescriptionSELinux is preventing /usr/libexec/platform-python3.6 from open access on the file /usr/local/lib/python3.6/site-packages/mglob-0.4-py3.6.egg.

Plugin: restorecon
 SELinux denied access requested by rhsmcertd-worke.
/usr/local/lib/python3.6/site-packages/mglob-0.4-py3.6.egg may be mislabeled.
/usr/local/lib/python3.6/site-packages/mglob-0.4-py3.6.egg default SELinux type
is lib_t, but its current type is admin_home_t. Changing this file back to the
default type may fix your problem. File contexts can be assigned to a file in
the following ways. Files created in a directory receive the file context of the
parent directory by default. The SELinux policy might override the default label
inherited from the parent directory by specifying a process running in context A
which creates a file in a directory labeled B will instead create the file with
label C. An example of this would be the dhcp client running with the dhcpc_t
type and creating a file in the directory /etc. This file would normally receive
the etc_t type due to parental inheritance but instead the file is labeled with
the net_conf_t type because the SELinux policy specifies this. Users can change
the file context on a file using tools such as chcon, or restorecon. This file
could have been mislabeled either by user error, or if an normally confined
application was run under the wrong domain. However, this might also indicate a
bug in SELinux because the file should not have been labeled with this type. If
you believe this is a bug, please file a bug report against this package.

If you want to fix the label.
/usr/local/lib/python3.6/site-packages/mglob-0.4-py3.6.egg default label should be lib_t.
you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly.
# /sbin/restorecon -v /usr/local/lib/python3.6/site-packages/mglob-0.4-py3.6.egg



you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly.
# /sbin/restorecon -v /usr/local/lib/python3.6/site-packages/mglob-0.4-py3.6.egg
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-07-11 04:40 Khairi New Issue