[GH-ISSUE #6288] Firejail breaks process substitution #3232

Open
opened 2026-05-05 09:50:43 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @rusty-snake on GitHub (Mar 23, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6288

Description

Firejail breaks process substitution which is really hard to find/debug.

For programs that are typically used in shell scripts we could consider to add keep-fd all.

Steps to Reproduce

$ LC_ALL=C firejail --quiet --noprofile cat <(echo hi)
cat: /proc/self/fd/11: No such file or directory

Additional context

firecfg.py has the concept of alias overrides. i.e. you do not use firejail if you call from $PATH but from a interactive shell.

Originally created by @rusty-snake on GitHub (Mar 23, 2024). Original GitHub issue: https://github.com/netblue30/firejail/issues/6288 ### Description Firejail breaks process substitution which is really hard to find/debug. For programs that are typically used in shell scripts we could consider to add `keep-fd all`. ### Steps to Reproduce ```console $ LC_ALL=C firejail --quiet --noprofile cat <(echo hi) cat: /proc/self/fd/11: No such file or directory ``` ### Additional context firecfg.py has the concept of alias overrides. i.e. you do not use firejail if you call from `$PATH` but from a interactive shell.
Author
Owner

@ghost commented on GitHub (Mar 23, 2024):

Reproduced on Arch Linux with firejail from git master.

For programs that are typically used in shell scripts we could consider to add keep-fd all.

Adding keep-fd all to such profiles would be a welcome addition indeed.

<!-- gh-comment-id:2016499484 --> @ghost commented on GitHub (Mar 23, 2024): Reproduced on Arch Linux with firejail from git master. > For programs that are typically used in shell scripts we could consider to add keep-fd all. Adding `keep-fd all` to such profiles would be a welcome addition indeed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: github-starred/firejail#3232
No description provided.