From 3f52c0e26eda6218d03f57f260cce9810c43c485 Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Tue, 2 May 2023 06:22:03 -0300 Subject: docs: add uninstall instructions to README.md Clarify how to remove the symlinks created by firecfg. Reported by @MikeNavy in #5098. --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 09a3276e6..781304451 100644 --- a/README.md +++ b/README.md @@ -235,6 +235,20 @@ You can also use this tool to get a list of syscalls needed by a program: * [contrib/syscalls.sh](contrib/syscalls.sh) +## Uninstalling + +firecfg creates symlinks in /usr/local/bin, so to fully remove firejail, run +the following before uninstalling: + +```sh +sudo firecfg --clean +``` + +See `man firecfg` for details. + +Note: Broken symlinks are ignored when searching for an executable in `$PATH`, +so uninstalling without doing the above should not cause issues. + ## Latest released version: 0.9.72 ## Current development version: 0.9.73 -- cgit v1.2.3-70-g09d2