From 146dd77a3f589acca1395204014412389c1d41f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Botz?= Date: Sun, 28 Apr 2024 17:02:13 +0200 Subject: [PATCH] Add info about selinux feature to README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d058ef8..aa9cec3 100644 --- a/README.md +++ b/README.md @@ -232,6 +232,14 @@ Note that you'll be responsible for updating manually. - `libclang` (see more info at [https://crates.io/crates/clang-sys](https://crates.io/crates/clang-sys)) - `libsqlite3` +### Cargo build feature for SELinux + +If your target system uses SELinux, you will want to enable the +'selinux' feature when building the innernet binary. This will ensure +that innernet maintains the correct selinux context on the /etc/hosts +file when adding hosts. To do so add ```--features selinux``` to the +```cargo build``` options. + Build: ```sh