[GH-ISSUE #2283] "firejail --help" behavior after clean installation #1522

Closed
opened 2026-05-05 08:11:08 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @tobwen on GitHub (Nov 29, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2283

Background

firejail got installed on a clean Debian Stretch system using make install-strip

Expected behavior

firejail --help should show help.

Current behavior

firejail --help directly starts firejail and exists it.

Workaround

firejail --help -- to reach help for the first time. After that, firejail --help works as expected.

Comments

Perhaps there's something missing in the Makefile?

Originally created by @tobwen on GitHub (Nov 29, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2283 # Background firejail got installed on a clean Debian Stretch system using `make install-strip` # Expected behavior `firejail --help` should show help. # Current behavior `firejail --help` directly starts firejail and exists it. # Workaround `firejail --help --` to reach help for the first time. After that, `firejail --help` works as expected. # Comments Perhaps there's something missing in the Makefile?
Author
Owner

@Vincent43 commented on GitHub (Nov 29, 2018):

Try installing firejail from Debian Stretch backports: https://packages.debian.org/stretch-backports/firejail

<!-- gh-comment-id:442815555 --> @Vincent43 commented on GitHub (Nov 29, 2018): Try installing firejail from Debian Stretch backports: https://packages.debian.org/stretch-backports/firejail
Author
Owner

@tobwen commented on GitHub (Nov 29, 2018):

Sure, the backport works (I used it before on my old system, but wanted to try a more recent version).

Sine it works after using the workaround once, I thought there's only a small part missing in the Makefile, which "initializes" something for the first time.

<!-- gh-comment-id:442817910 --> @tobwen commented on GitHub (Nov 29, 2018): Sure, the backport works (I used it before on my old system, but wanted to try a more recent version). Sine it works after using the workaround once, I thought there's only a small part missing in the Makefile, which "initializes" something for the first time.
Author
Owner

@SkewedZeppelin commented on GitHub (Nov 29, 2018):

I just did a fresh install of Debian 9.6 into a VM and then installed firejail from git.
Was unable to reproduce.
firejail --help worked on the first run, no issue.

More exact steps:

  • Boot Debian 9.6 netboot
  • Walk through installer
  • Chose GNOME
  • Finished install, rebooted
  • Logged in, opened GNOME Terminal
  • apt update && apt upgrade
  • apt install build-essential
  • git clone https://github.com/netblue30/firejail.git
  • ./configure && make
  • sudo make install-strip
  • Opened a new terminal
  • firejail --help #worked fine
<!-- gh-comment-id:442952565 --> @SkewedZeppelin commented on GitHub (Nov 29, 2018): I just did a fresh install of Debian 9.6 into a VM and then installed firejail from git. Was unable to reproduce. `firejail --help` worked on the first run, no issue. More exact steps: - Boot Debian 9.6 netboot - Walk through installer - Chose GNOME - Finished install, rebooted - Logged in, opened GNOME Terminal - `apt update && apt upgrade` - `apt install build-essential` - `git clone https://github.com/netblue30/firejail.git` - `./configure && make` - `sudo make install-strip` - Opened a new terminal - `firejail --help` #worked fine
Author
Owner

@tobwen commented on GitHub (Nov 29, 2018):

My workflow is similar:

./configure --prefix=/usr/local/stow/firejail
make && make install-strip
stow --dir=/usr/local/stow/ -R firejail

I'll close this for now, maybe I did something very wrong. Thanks for trying :-)

<!-- gh-comment-id:442954606 --> @tobwen commented on GitHub (Nov 29, 2018): My workflow is similar: ``` ./configure --prefix=/usr/local/stow/firejail make && make install-strip stow --dir=/usr/local/stow/ -R firejail ``` I'll close this for now, maybe I did something very wrong. Thanks for trying :-)
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#1522
No description provided.