Bug 1944033 - Recommendation generated by seapplet need better formats
Summary: Recommendation generated by seapplet need better formats
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 34
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Vit Mojzis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-29 05:59 UTC by Liu Sen
Modified: 2021-04-24 20:12 UTC (History)
5 users (show)

Fixed In Version: setroubleshoot-3.3.26-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-24 20:12:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Liu Sen 2021-03-29 05:59:12 UTC
Description of problem:

Seapplet can give some commands to help solve SELinux related problems. Since setroubleshoot is developed by Redhat and I dont have a pagure.io account, I report a bug here.

Version-Release number of selected component (if applicable):

setroubleshoot-3.3.25-1.fc34(and older version)


Actual results:

#ausearch -c'systemd-sleep'--raw | audit2allow -M my-systemdsleep#semodule -X 300 -i my-systemdsleep.pp


Expected results:

#ausearch -c 'systemd-sleep'--raw | audit2allow -M my-systemdsleep#semodule -X 300 -i my-systemdsleep.pp

or

#ausearch -c 'systemd-sleep'--raw | audit2allow -M my-systemdsleep
#semodule -X 300 -i my-systemdsleep.pp

Additional info:

Comment 1 Petr Lautrbach 2021-03-29 09:45:21 UTC
https://pagure.io/setroubleshoot/blob/main/f/plugins/src/catchall.py#_58
https://pagure.io/setroubleshoot/blob/main/f/plugins/src/leaks.py#_44

Both use the correct formatting so I guess it's a problem in localization. Do you use other than en_US locales?

Comment 2 Liu Sen 2021-03-29 10:11:19 UTC
(In reply to Petr Lautrbach from comment #1)
> https://pagure.io/setroubleshoot/blob/main/f/plugins/src/catchall.py#_58
> https://pagure.io/setroubleshoot/blob/main/f/plugins/src/leaks.py#_44
> 
> Both use the correct formatting so I guess it's a problem in localization.
> Do you use other than en_US locales?

Sure

fedora@localhost ~> env | grep LANG
LANGUAGE=zh_CN:en_US
LANG=zh_CN.UTF-8
fedora@localhost ~> localectl status
   System Locale: LANG=en_US.UTF-8
       VC Keymap: us
      X11 Layout: us

Comment 3 Fedora Update System 2021-04-15 10:13:43 UTC
FEDORA-2021-d5cf1db1a5 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d5cf1db1a5

Comment 4 Fedora Update System 2021-04-15 19:29:16 UTC
FEDORA-2021-d5cf1db1a5 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d5cf1db1a5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d5cf1db1a5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-04-24 20:12:38 UTC
FEDORA-2021-d5cf1db1a5 has been pushed to the Fedora 34 stable repository.
If problem still persists, 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.