Bug 1264220 - ss -z falsely shows selinux is not enabled
Summary: ss -z falsely shows selinux is not enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: iproute
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Phil Sutter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-17 22:32 UTC by Striker Leggette
Modified: 2015-10-03 21:13 UTC (History)
3 users (show)

Fixed In Version: iproute-3.16.0-4.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-03 21:13:57 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.