Bug 1264220

Summary: ss -z falsely shows selinux is not enabled
Product: [Fedora] Fedora Reporter: Striker Leggette <striker>
Component: iprouteAssignee: Phil Sutter <psutter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: psimerda, rvokal, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: iproute-3.16.0-4.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-03 21:13:57 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:

Description Striker Leggette 2015-09-17 22:32:18 UTC
Description of problem:
 - '/usr/sbin/ss -z' falsely reports selinux being disabled

Version-Release number of selected component (if applicable):
iproute-3.16.0-3.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. /usr/sbin/ss -z
2.
3.

Actual results:
ss: SELinux is not enabled.

Expected results:
ss: SELinux is enabled.

Additional info:

Comment 1 Striker Leggette 2015-09-17 22:33:37 UTC
striker ~ $ /usr/sbin/ss -z
ss: SELinux is not enabled.

striker ~ $ getenforce
Enforcing

Comment 2 Striker Leggette 2015-09-17 22:50:59 UTC
Possibly due to unfinished code?



static int is_selinux_enabled(void)
{
        return -1;
}
 
############
 
                case 'Z':
                        if (is_selinux_enabled() <= 0) {
                                fprintf(stderr, "ss: SELinux is not enabled.\n");
                                exit(1);
                        }

Comment 3 Fedora Admin XMLRPC Client 2015-09-24 08:03:16 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Update System 2015-09-24 15:39:54 UTC
iproute-3.16.0-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-16619

Comment 5 Fedora Update System 2015-09-27 00:38:48 UTC
iproute-3.16.0-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update iproute'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-16619

Comment 6 Striker Leggette 2015-09-27 14:43:44 UTC
confirmed issue resolved

Comment 7 Fedora Update System 2015-10-03 21:13:55 UTC
iproute-3.16.0-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.