diff options
author | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2020-04-05 22:16:19 -0500 |
---|---|---|
committer | Fred Barclay <Fred-Barclay@users.noreply.github.com> | 2020-04-05 22:16:19 -0500 |
commit | 010b6722bc56f005d154c3415e5818c10b3e7212 (patch) | |
tree | 116456536a50f84d642abb848cc0e5e66f521f65 /src | |
parent | Merge pull request #3319 from topimiettinen/sanity-check-for-args-envs (diff) | |
download | firejail-010b6722bc56f005d154c3415e5818c10b3e7212.tar.gz firejail-010b6722bc56f005d154c3415e5818c10b3e7212.tar.zst firejail-010b6722bc56f005d154c3415e5818c10b3e7212.zip |
Fix `man` break - remove less from firecfg by default
If `less` is sandboxed, then we get a similar message to below
when calling `man <anything>`
Error clone: main.c:2743 main: Operation not permitted
man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page grep(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page grep(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$-R MAN_PN=grep(1) less
See also
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899143
https://github.com/netblue30/firejail/issues/1856
Noticed on Debian 10, firejail 0.9.63
Diffstat (limited to 'src')
-rw-r--r-- | src/firecfg/firecfg.config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 9d9d4012a..2e8e05f8f 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -387,7 +387,7 @@ ktouch | |||
387 | # kwin_x11 | 387 | # kwin_x11 |
388 | kwrite | 388 | kwrite |
389 | leafpad | 389 | leafpad |
390 | less | 390 | # less - breaks man |
391 | libreoffice | 391 | libreoffice |
392 | liferea | 392 | liferea |
393 | lightsoff | 393 | lightsoff |