Bug 1471809

Summary: RFE: backport SELinux/InfiniBand userspace support
Product: Red Hat Enterprise Linux 7 Reporter: Milos Malik <mmalik>
Component: policycoreutilsAssignee: Vit Mojzis <vmojzis>
Status: CLOSED ERRATA QA Contact: Dalibor Pospíšil <dapospis>
Severity: medium Docs Contact: Mirek Jahoda <mjahoda>
Priority: medium    
Version: 7.5CC: dwalsh, jzarsky, lvrabec, mgrepl, mjahoda, mmalik, mthacker, pasik, plautrba, pmoore, ssekidde, vmojzis
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
*SELinux* now supports *InfiniBand* object labeling This release introduces *SELinux* support for *InfiniBand* end port and P_Key labeling, including enhancements to the kernel, policy, and the *semanage* tool. To manage *InfiniBand*-related labels, use the following commands: * "semanage ibendport" * "semanage ibpkey"
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 16:36:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1466274    
Bug Blocks: 1449326    

Comment 1 Milos Malik 2017-10-12 11:27:30 UTC
policycoreutils-2.5-18.1.el7_4.x86_64
selinux-policy-3.13.1-166.el7.noarch

# semanage ibendport -E
Traceback (most recent call last):
  File "/usr/sbin/semanage", line 1049, in <module>
    do_parser()
  File "/usr/sbin/semanage", line 1028, in do_parser
    args.func(args)
  File "/usr/sbin/semanage", line 591, in handleIbendport
    OBJECT = object_dict['ibendport']()
  File "/usr/sbin/semanage", line 163, in ibendport_ini
    OBJECT = seobject.ibendportRecords(store)
AttributeError: 'module' object has no attribute 'ibendportRecords'

# semanage ibpkey -E
Traceback (most recent call last):
  File "/usr/sbin/semanage", line 1049, in <module>
    do_parser()
  File "/usr/sbin/semanage", line 1028, in do_parser
    args.func(args)
  File "/usr/sbin/semanage", line 547, in handlePkey
    OBJECT = object_dict['ibpkey']()
  File "/usr/sbin/semanage", line 159, in ibpkey_ini
    OBJECT = seobject.ibpkeyRecords(store)
AttributeError: 'module' object has no attribute 'ibpkeyRecords'

Comment 20 errata-xmlrpc 2018-04-10 16:36:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0913