[GH-ISSUE #1049] LTS version missing features and profiles? #712

Closed
opened 2026-05-05 06:29:49 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @ghost on GitHub (Jan 14, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1049

Originally created by @ghost on GitHub (Jan 14, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1049
gitea-mirror 2026-05-05 06:29:49 -06:00
Author
Owner

@netblue30 commented on GitHub (Jan 14, 2017):

You will need to move to 0.9.44.x, LTS is frozen at version 0.9.38. There will be no new features added to it.

<!-- gh-comment-id:272626634 --> @netblue30 commented on GitHub (Jan 14, 2017): You will need to move to 0.9.44.x, LTS is frozen at version 0.9.38. There will be no new features added to it.
Author
Owner

@SYN-cook commented on GitHub (Jan 14, 2017):

@rekixex Ubuntu has a policy for package updates, and this effectively freezes firejails version at 0.9.38.

At the moment, the easiest path to new firejail versions in Ubuntu is to add this PPA. Alternatively you find fresh packages also on Sourceforge.

If you are only after the profiles, you can just take them from Git and copy them to ~/.config/firejail. This may require manual adjustments in some cases, though.

Your question was not pointed at me, please everyone apologize for stepping in.

<!-- gh-comment-id:272641700 --> @SYN-cook commented on GitHub (Jan 14, 2017): @rekixex Ubuntu has a [policy](https://wiki.ubuntu.com/StableReleaseUpdates) for package updates, and this effectively freezes firejails version at 0.9.38. At the moment, the easiest path to new firejail versions in Ubuntu is to add this [PPA](https://launchpad.net/~deki/+archive/ubuntu/firejail). Alternatively you find fresh packages also on [Sourceforge](https://sourceforge.net/projects/firejail/files/firejail/). If you are only after the profiles, you can just take them from Git and copy them to `~/.config/firejail`. This may require manual adjustments in some cases, though. Your question was not pointed at me, please everyone apologize for stepping in.
Author
Owner

@SYN-cook commented on GitHub (Jan 15, 2017):

@rekixex Well, that policy is less about version numbers and more about the package contents. In general, distributions with stable release model like Ubuntu tend to be pretty conservative regarding the introduction of new features into a stable release.

But still: You can try you luck and reach out to the Ubuntu package maintainers.... for this, all you need to do is making a request on Ubuntu launchpad.

<!-- gh-comment-id:272684723 --> @SYN-cook commented on GitHub (Jan 15, 2017): @rekixex Well, that policy is less about version numbers and more about the package contents. In general, distributions with stable release model like Ubuntu tend to be pretty conservative regarding the introduction of new features into a stable release. But still: You can try you luck and reach out to the Ubuntu package maintainers.... for this, all you need to do is making a request on Ubuntu launchpad.
Author
Owner

@Fred-Barclay commented on GitHub (Jan 15, 2017):

@rekixex That script looks pretty good. Here's mine for reference (it clones the github repo as well):

if [ $EUID != 0 ]; then
	sudo "$0" "$@"
	exit $?
fi

git clone https://www.github.com/netblue30/firejail.git
cd firejail
./configure --prefix=/usr
make
make install-strip
echo "Firejail was updated!"
cd ..
rm -rf firejail

I just update whenever I notice that @netblue30 has commited new changes - usually at least several times a week. Beware that this means you may get code that has bugs!

Oh - since you're using Ubuntu I would do this instead:

if [ $EUID != 0 ]; then
	sudo "$0" "$@"
	exit $?
fi

git clone https://www.github.com/netblue30/firejail.git
cd firejail
./configure --prefix=/usr
make deb
dpkg -i firejail*.deb
echo "Firejail was updated!"
cd ..
rm -rf firejail

That way, apt and dpkg will know about firejail and be able to handle it properly. 😄
Cheers!
Fred

<!-- gh-comment-id:272731347 --> @Fred-Barclay commented on GitHub (Jan 15, 2017): @rekixex That script looks pretty good. Here's mine for reference (it clones the github repo as well): ``` if [ $EUID != 0 ]; then sudo "$0" "$@" exit $? fi git clone https://www.github.com/netblue30/firejail.git cd firejail ./configure --prefix=/usr make make install-strip echo "Firejail was updated!" cd .. rm -rf firejail ``` I just update whenever I notice that @netblue30 has commited new changes - usually at least several times a week. Beware that this means you may get code that has bugs! Oh - since you're using Ubuntu I would do this instead: ``` if [ $EUID != 0 ]; then sudo "$0" "$@" exit $? fi git clone https://www.github.com/netblue30/firejail.git cd firejail ./configure --prefix=/usr make deb dpkg -i firejail*.deb echo "Firejail was updated!" cd .. rm -rf firejail ``` That way, apt and dpkg will know about firejail and be able to handle it properly. :smile: Cheers! Fred
Author
Owner

@curiosity-seeker commented on GitHub (Jan 16, 2017):

(One warning reported but finished successfully anyway:
warning: the authors of lintian do not recommend running it with root privileges!)

That's because the whole script is executed with root privileges, but that's not necessary. This is the script I'm using:

rm -rf ~/firejail
git clone https://github.com/netblue30/firejail.git
cd firejail
./configure --prefix=/usr
make
sudo make install

It works flawlessly. And note that make deb isn't necessary, IMHO. Until recently I used that script on Ubuntu, and Firejail 0.9.45 was shown in Synaptic.

EDIT: I'm not sure what's the use of the further instructions in your post. They are not necessary - Firejail works just by executing the script.

Btw., I added

https://github.com/netblue30/firejail/commits/master.atom

as an RSS feed to Thunderbird so I can always see if there are commits that make an update necessary.

<!-- gh-comment-id:272925662 --> @curiosity-seeker commented on GitHub (Jan 16, 2017): > (One warning reported but finished successfully anyway: warning: the authors of lintian do not recommend running it with root privileges!) That's because the whole script is executed with root privileges, but that's not necessary. This is the script I'm using: ``` rm -rf ~/firejail git clone https://github.com/netblue30/firejail.git cd firejail ./configure --prefix=/usr make sudo make install ``` It works flawlessly. And note that make deb isn't necessary, IMHO. Until recently I used that script on Ubuntu, and Firejail 0.9.4**5** was shown in Synaptic. EDIT: I'm not sure what's the use of the further instructions in your post. They are not necessary - Firejail works just by executing the script. Btw., I added `https://github.com/netblue30/firejail/commits/master.atom` as an RSS feed to Thunderbird so I can always see if there are commits that make an update necessary.
Author
Owner

@netblue30 commented on GitHub (Jan 17, 2017):

Let's make it official! Can you guys push the script in contrib directory (https://github.com/netblue30/firejail/tree/master/contrib). All the scripts in this directory are getting installed in /usr/lib/firejail/. Then, I'll add an option in the interface, something like "firejail --update-deb" and call the script directly from firejail to update the thing. Will this work?

<!-- gh-comment-id:273189897 --> @netblue30 commented on GitHub (Jan 17, 2017): Let's make it official! Can you guys push the script in contrib directory (https://github.com/netblue30/firejail/tree/master/contrib). All the scripts in this directory are getting installed in /usr/lib/firejail/. Then, I'll add an option in the interface, something like "firejail --update-deb" and call the script directly from firejail to update the thing. Will this work?
Author
Owner

@netblue30 commented on GitHub (Feb 9, 2017):

all set, the feature is in: --git-install

<!-- gh-comment-id:278764752 --> @netblue30 commented on GitHub (Feb 9, 2017): all set, the feature is in: --git-install
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#712
No description provided.