[GH-ISSUE #964] Set FIREJAIL_PROMPT enabled by default? #652

Closed
opened 2026-05-05 06:21:43 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @laniakea64 on GitHub (Dec 8, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/964

Is there a firejail config option for enabling the changed prompt by default? Or can this only be achieved by adding FIREJAIL_PROMPT=yes to ~/.profile or similar?

$ firejail --version
firejail version 0.9.44.2

Compile time support:
        - AppArmor support is disabled
        - AppImage support is enabled
        - bind support is enabled
        - chroot support is enabled
        - file and directory whitelisting support is enabled
        - file transfer support is enabled
        - networking support is enabled
        - overlayfs support is enabled
        - private-home support is enabled
        - seccomp-bpf support is enabled
        - user namespace support is enabled
        - X11 sandboxing support is enabled

Originally created by @laniakea64 on GitHub (Dec 8, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/964 Is there a firejail config option for enabling the changed prompt by default? Or can this only be achieved by adding `FIREJAIL_PROMPT=yes` to ~/.profile or similar? ``` $ firejail --version firejail version 0.9.44.2 Compile time support: - AppArmor support is disabled - AppImage support is enabled - bind support is enabled - chroot support is enabled - file and directory whitelisting support is enabled - file transfer support is enabled - networking support is enabled - overlayfs support is enabled - private-home support is enabled - seccomp-bpf support is enabled - user namespace support is enabled - X11 sandboxing support is enabled ```
gitea-mirror 2026-05-05 06:21:43 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Dec 9, 2016):

Today it is a simple environment variable, you would add it in ~/.bashrc or ~/.profile:

$ env | grep FIREJAIL
FIREJAIL_PROMPT=yes

I'll add a "firejail-prompt yes/no" switch in /etc/firejail/firejail-config.

<!-- gh-comment-id:266011897 --> @netblue30 commented on GitHub (Dec 9, 2016): Today it is a simple environment variable, you would add it in ~/.bashrc or ~/.profile: ````` $ env | grep FIREJAIL FIREJAIL_PROMPT=yes ````` I'll add a "firejail-prompt yes/no" switch in /etc/firejail/firejail-config.
Author
Owner

@netblue30 commented on GitHub (Dec 11, 2016):

I added support in the configuration file:

# Enable Firejail green prompt in terminal, default disabled
# firejail-prompt no
<!-- gh-comment-id:266283852 --> @netblue30 commented on GitHub (Dec 11, 2016): I added support in the configuration file: ````` # Enable Firejail green prompt in terminal, default disabled # firejail-prompt no `````
Author
Owner

@laniakea64 commented on GitHub (Dec 11, 2016):

Thanks, but I can't try the fix -

$ firejail --noprofile
Parent pid 8869, child pid 8870
Error mount: fs_etc.c:72 fs_machineid: No such file or directory
Error: cannot establish communication with the parent, exiting...

firejail is built and run on Lubuntu 14.04, rev f541d8b41e

<!-- gh-comment-id:266288819 --> @laniakea64 commented on GitHub (Dec 11, 2016): Thanks, but I can't try the fix - ``` $ firejail --noprofile Parent pid 8869, child pid 8870 Error mount: fs_etc.c:72 fs_machineid: No such file or directory Error: cannot establish communication with the parent, exiting... ``` firejail is built and run on Lubuntu 14.04, rev https://github.com/netblue30/firejail/commit/f541d8b41e01f01370effd38a106a1284762ad0d
Author
Owner

@netblue30 commented on GitHub (Dec 13, 2016):

I'll bring in a fix today, thanks.

<!-- gh-comment-id:266759470 --> @netblue30 commented on GitHub (Dec 13, 2016): I'll bring in a fix today, thanks.
Author
Owner

@netblue30 commented on GitHub (Dec 14, 2016):

All fixed.

<!-- gh-comment-id:267059183 --> @netblue30 commented on GitHub (Dec 14, 2016): All fixed.
Author
Owner

@laniakea64 commented on GitHub (Dec 14, 2016):

Thanks! 😃

<!-- gh-comment-id:267094367 --> @laniakea64 commented on GitHub (Dec 14, 2016): Thanks! :smiley:
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#652
No description provided.