Bug 1321715 - SELinux Error Count failed
Summary: SELinux Error Count failed
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: fpaste
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-29 02:39 UTC by Chris Murphy
Modified: 2016-12-19 22:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-19 22:01:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2016-03-29 02:39:49 UTC
Description of problem:

* SELinux Error Count (failed: "selinuxenabled && journalctl --since yesterday |grep avc: |grep -Eo
         "comm="[^ ]+" |sort |uniq -c |sort -rn"):
     N/A


Version-Release number of selected component (if applicable):
rpm -q fpaste-0.3.8.1-2.fc24.noarch
Fedora-Workstation-Live-x86_64-24_Alpha-7.iso

How reproducible:
Always


Steps to Reproduce:
1. fpaste --sysinfo
2.
3.

Actual results:

* SELinux Error Count (failed: "selinuxenabled && journalctl --since yesterday |grep avc: |grep -Eo
         "comm="[^ ]+" |sort |uniq -c |sort -rn"):
     N/A


Expected results:

Gonna guess the " before comm= is an extra, command works as expected without that.


Additional info:

http://paste.fedoraproject.org/346622/59218740/raw/

Comment 1 Ankur Sinha (FranciscoD) 2016-03-29 10:12:12 UTC
Ack. Will fix and push an update asap.

Cheers!

Comment 2 Ankur Sinha (FranciscoD) 2016-03-29 10:26:35 UTC
Hrm, the command is correct - it's something pythony that we've missed:

[asinha@cs-as14aho-2-herts-ac-uk  Documents]$ selinuxenabled && journalctl  |grep avc: |grep -Eo "comm=\"[^ ]+" |sort |uniq -c |sort -rn
   2703 comm="setroubleshootd"
    806 comm="httpd"
    341 comm="hp-config_usb_p"
    232 comm="abrt-hook-ccpp"
     34 comm="gdb"
     11 comm="NetworkManager"
      6 comm="sh"
      4 comm="rpcbind"
      2 comm="systemd-sysctl"
      2 comm="newaliases"
      1 comm="ldconfig"
      1 comm="hp"

(This is on my F23). I'll look into it properly this weekend.

Comment 3 Ankur Sinha (FranciscoD) 2016-12-19 22:01:16 UTC
Fixed upstream. I'll push out an update soon. We're making a few other changes too.

https://pagure.io/fpaste/issue/26


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