RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1331780 - typo errors in various plugins
Summary: typo errors in various plugins
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: setroubleshoot-plugins
Version: 7.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Vit Mojzis
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1393898 1473148
TreeView+ depends on / blocked
 
Reported: 2016-04-29 13:37 UTC by Milos Malik
Modified: 2018-04-10 18:36 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1331786 1393898 (view as bug list)
Environment:
Last Closed: 2018-04-10 18:36:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0995 0 None None None 2018-04-10 18:36:35 UTC

Description Milos Malik 2016-04-29 13:37:13 UTC
Description of problem - incorrect English words or collocations:
compromized -> compromised
signal a intrusion -> signal an intrusion
be a mislabeled -> be mislabeled
tries modify -> tries to modify

Version-Release number of selected component (if applicable):
setroubleshoot-server-3.2.25-2.el7.x86_64
setroubleshoot-3.2.25-2.el7.x86_64
setroubleshoot-plugins-3.0.59-1.el7.noarch

How reproducible:
always

Steps to Reproduce:
# cd /usr/share/setroubleshoot/plugins/
# grep -R "compromized" *.py
allow_execmod.py:    application is compromized or not.  This could be a serious issue. Your 
allow_execmod.py:setroubleshoot examined '$FIX_TARGET_PATH' to make sure it was built correctly, but can not determine if this application has been compromized.  This alert could be a serious issue and your system could be compromised.
# grep -R "a intrusion" *.py
connect_ports.py:    to connect to $PORT_NUMBER, this could signal a intrusion attempt.
httpd_can_sendmail.py:    signal a intrusion attempt.
rsync_data.py:    it could indicate either a bug or it could signal a intrusion attempt.
samba_share.py:    it could indicate either a bug or it could signal a intrusion attempt.
sandbox_connect.py:    to connect to $PORT_NUMBER, this could signal a intrusion attempt.
swapfile.py:    signal a intrusion attempt.
# grep -R "be a mislabeled" *.py
openvpn.py:    be a mislabeled. openvpn is allowed to read content in home directory if it 
restorecon.py:    be a mislabeled.  $TARGET_PATH default SELinux type is
restorecon_source.py:    be a mislabeled.  $SOURCE_PATH default SELinux type is
sshd_root.py:    be a mislabeled. sshd is allowed to read content in /root/.ssh directory if it 
# grep -R "tries modify" *.py
mmap_zero.py:    for them.  If a compromised application tries modify the kernel this AVC 
# 

Expected results:
* typo errors are gone

Comment 5 Milos Malik 2017-03-21 07:50:48 UTC
# rpm -qa setr\*
setroubleshoot-plugins-3.0.65-1.el7.noarch
setroubleshoot-server-3.2.27.2-3.el7.x86_64
#

Following patterns were not corrected:

# grep -R "signal a intrusion" /usr/share/setroubleshoot/plugins/*
/usr/share/setroubleshoot/plugins/connect_ports.py:    to connect to $PORT_NUMBER, this could signal a intrusion attempt.
Binary file /usr/share/setroubleshoot/plugins/connect_ports.pyc matches
Binary file /usr/share/setroubleshoot/plugins/connect_ports.pyo matches
/usr/share/setroubleshoot/plugins/httpd_can_sendmail.py:    signal a intrusion attempt.
Binary file /usr/share/setroubleshoot/plugins/httpd_can_sendmail.pyc matches
Binary file /usr/share/setroubleshoot/plugins/httpd_can_sendmail.pyo matches
/usr/share/setroubleshoot/plugins/rsync_data.py:    it could indicate either a bug or it could signal a intrusion attempt.
Binary file /usr/share/setroubleshoot/plugins/rsync_data.pyc matches
Binary file /usr/share/setroubleshoot/plugins/rsync_data.pyo matches
/usr/share/setroubleshoot/plugins/samba_share.py:    it could indicate either a bug or it could signal a intrusion attempt.
Binary file /usr/share/setroubleshoot/plugins/samba_share.pyc matches
Binary file /usr/share/setroubleshoot/plugins/samba_share.pyo matches
/usr/share/setroubleshoot/plugins/sandbox_connect.py:    to connect to $PORT_NUMBER, this could signal a intrusion attempt.
Binary file /usr/share/setroubleshoot/plugins/sandbox_connect.pyc matches
Binary file /usr/share/setroubleshoot/plugins/sandbox_connect.pyo matches
/usr/share/setroubleshoot/plugins/swapfile.py:    signal a intrusion attempt.
Binary file /usr/share/setroubleshoot/plugins/swapfile.pyc matches
Binary file /usr/share/setroubleshoot/plugins/swapfile.pyo matches
# 

# grep -R "tries modify" /usr/share/setroubleshoot/plugins/*
/usr/share/setroubleshoot/plugins/mmap_zero.py:    for them.  If a compromised application tries modify the kernel this AVC 
Binary file /usr/share/setroubleshoot/plugins/mmap_zero.pyc matches
Binary file /usr/share/setroubleshoot/plugins/mmap_zero.pyo matches
#

# grep -R "be a mislabeled" /usr/share/setroubleshoot/plugins/*
/usr/share/setroubleshoot/plugins/openvpn.py:    be a mislabeled. openvpn is allowed to read content in home directory if it
Binary file /usr/share/setroubleshoot/plugins/openvpn.pyc matches
Binary file /usr/share/setroubleshoot/plugins/openvpn.pyo matches
/usr/share/setroubleshoot/plugins/restorecon.py:    be a mislabeled.  $TARGET_PATH default SELinux type is
Binary file /usr/share/setroubleshoot/plugins/restorecon.pyc matches
Binary file /usr/share/setroubleshoot/plugins/restorecon.pyo matches
/usr/share/setroubleshoot/plugins/restorecon_source.py:    be a mislabeled.  $SOURCE_PATH default SELinux type is
Binary file /usr/share/setroubleshoot/plugins/restorecon_source.pyc matches
Binary file /usr/share/setroubleshoot/plugins/restorecon_source.pyo matches
/usr/share/setroubleshoot/plugins/sshd_root.py:    be a mislabeled. sshd is allowed to read content in /root/.ssh directory if it
Binary file /usr/share/setroubleshoot/plugins/sshd_root.pyc matches
Binary file /usr/share/setroubleshoot/plugins/sshd_root.pyo matches
#

Comment 14 Vit Mojzis 2017-11-09 12:33:49 UTC
Assigning to ljanda as requested in comment 12.

Comment 15 Ludek Janda 2017-11-09 13:03:23 UTC
I believe this ticket can be closed as solved. I checked the concerned strings in Zanata. And after you have changes the English versions, it had no effect on translations. Which is good. I was able to find all concerned strings and all of them are correctly translated.

Comment 19 errata-xmlrpc 2018-04-10 18:36:14 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/RHBA-2018:0995


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