Issue 790 - need to set selinux to permissive for autorelabel to work #801

Merged
ryanlerch merged 1 commit from iss790 into main 2025-02-11 10:39:38 +00:00
Contributor

Fixes #790.

@veteranporter can you take a look? Is this ok, would you like to add or change anything?

Fixes #790. @veteranporter can you take a look? Is this ok, would you like to add or change anything?
First-time contributor

Adding my comments here, as a follow-up of the duplicate issue #798.

  1. Given that the root password is disabled by default, a remark would be welcome, mentioning that the same steps also apply for any non-root user (both wheel and non-wheel). The difference would only be in the command passwd <user-name> instead of passwd.

  2. The same effect of autorelabeling is obtained with the boot parameter autorelabel=1, which would replace both the touch /.autorelabel command at the bash prompt, as well as the enforcing=0 boot parameter.

Adding my comments here, as a follow-up of the duplicate issue [#798](https://pagure.io/fedora-docs/quick-docs/issue/798). 1. Given that the root password is disabled by default, a remark would be welcome, mentioning that the same steps also apply for any non-root user (both `wheel` and non-`wheel`). The difference would only be in the command `passwd <user-name>` instead of `passwd`. 2. The same effect of autorelabeling is obtained with the boot parameter `autorelabel=1`, which would replace both the `touch /.autorelabel` command at the bash prompt, as well as the `enforcing=0` boot parameter.
Author
Contributor

Ha, thanks for the suggestions, I'll update the PR in a bit.

Ha, thanks for the suggestions, I'll update the PR in a bit.
Author
Contributor

rebased onto f308eaa1f7

rebased onto f308eaa1f756139f1915d7f32672cc110b5fb8b8
Contributor

There seems to be significant interest in getting this fixed: #807 #808

There seems to be significant interest in getting this fixed: #807 #808
Author
Contributor

rebased onto 34082ef7d2

rebased onto 34082ef7d20cd3c679bacbfd35777f817db846fd
Author
Contributor

rebased onto d16a9016b9

rebased onto d16a9016b95e1dc136abcaf8429a78a602f2ec9d
Author
Contributor

1 new commit added

  • Feedback from issue 790
**1 new commit added** * ``Feedback from issue 790``
Author
Contributor

Pull-Request has been merged by pbokoc

Pull-Request has been merged by pbokoc
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Docs/quick-docs#801
No description provided.