Bug 1960136 - Recommended restorecon command does not work
Summary: Recommended restorecon command does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-13 06:43 UTC by Jan Vlug
Modified: 2021-09-24 20:15 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-09-08 15:06:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Vlug 2021-05-13 06:43:57 UTC
Description of problem:
I have an SELinux alert (the one in bug 1943787) in SELinux Alert Browser.

One of the proposed solutions is:

you can run restorecon. The access attempt may have been stopped due to insufficient permissions to access a parent directory in which case try to change the following command accordingly.
# /sbin/restorecon -v /memfd:wayland-cursor (deleted)

However, that command is invalid:

# /sbin/restorecon -v /memfd:wayland-cursor (deleted)
-bash: syntax error near unexpected token `('



Version-Release number of selected component (if applicable):
setroubleshoot.x86_64                              3.3.26-1.fc34

Comment 2 Fedora Update System 2021-09-03 15:10:19 UTC
FEDORA-2021-d7be7babcb has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d7be7babcb

Comment 3 Fedora Update System 2021-09-03 15:17:53 UTC
FEDORA-2021-ef97293919 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-ef97293919

Comment 4 Fedora Update System 2021-09-03 18:05:41 UTC
FEDORA-2021-d7be7babcb has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d7be7babcb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d7be7babcb

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

Comment 5 Fedora Update System 2021-09-04 20:38:38 UTC
FEDORA-2021-ef97293919 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-ef97293919`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-ef97293919

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

Comment 6 Fedora Update System 2021-09-08 15:06:39 UTC
FEDORA-2021-ef97293919 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2021-09-24 20:15:06 UTC
FEDORA-2021-d7be7babcb has been pushed to the Fedora 35 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.