Bug 1321715

Summary: SELinux Error Count failed
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: fpasteAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: athmanem, robyduck, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-19 22:01:16 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:

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