Skip to content

Commit

Permalink
README.md: Add instructions to configure SELinux
Browse files Browse the repository at this point in the history
Amended-by: Alberto Bertogli <albertito@blitiri.com.ar>
  Adjusted commit message, adjusted wording in the docs.
  • Loading branch information
gptlang authored and albertito committed Feb 9, 2024
1 parent bf9ef4d commit 148837f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,14 @@ sudo cp etc/systemd/dns-to-https/* /etc/systemd/system/
sudo systemctl dnss enable
```

On systems with SELinux, like Fedora, you might see hidden errors. In that
case, run this to set the security context for the binary:

```sh
sudo semanage fcontext -a -t bin_t "/usr/local/bin/dnss"
sudo restorecon -v /usr/local/bin/dnss
```


## Examples

Expand Down

0 comments on commit 148837f

Please sign in to comment.