Page MenuHomeSolus

Update firejail to 0.9.66
ClosedPublic

Authored by solene on Nov 18 2021, 3:54 PM.
Tags
None
Referenced Files
F11053422: D12343.id29979.diff
Thu, Aug 10, 11:15 PM
F11053421: D12343.id29981.diff
Thu, Aug 10, 11:15 PM
F11053419: D12343.id30092.diff
Thu, Aug 10, 11:15 PM
F11053418: D12343.id29980.diff
Thu, Aug 10, 11:15 PM
F11053416: D12343.id.diff
Thu, Aug 10, 11:15 PM
F11037807: D12343.diff
Wed, Aug 9, 9:16 PM
F10843154: D12343.id29980.diff
Jun 10 2023, 5:03 PM
F10842613: D12343.id30092.diff
Jun 10 2023, 1:19 PM
Subscribers

Details

Summary

Summarized changelog

  • Noticeable changes
    • jailtest utility for testing running sandboxes
    • deprecated --audit options, replaced by jailcheck utility
    • filtering environment variables
    • --protocol now accumulates
    • added --noinput to disable /dev/input
    • allow --tmpfs inside $HOME for unprivileged users
    • allow AF_BLUETOOTH via --protocol=bluetooth
    • whitelisting /usr/share in a large number of profiles
    • Many new applications supported by firejail profiles
  • Fixes T9988 and T9663
  • Full changelog available at https://github.com/netblue30/firejail/blob/master/RELNOTES
Test Plan
  • firejail --noprofile --appimage Patchwork-3.18.1.AppImage
  • firejail --apparmor --private firefox
    • check what directories are exposed when opening a file with Ctrl+O
    • check that it starts from a fresh profile because of --private
  • firejail firefox
    • check what directories are exposed when opening a file with Ctrl+O

Diff Detail

Repository
R756 firejail
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

solene edited the summary of this revision. (Show Details)

Add two tasks related to apparmor errors

solene edited the summary of this revision. (Show Details)

Rewording

A few comments about the update:

  • I had to rewrite the patch 0001 because it wasn't applying anymore
  • the previous patch 0002 is now upstreamed so it's not useful anymore
  • I dropped the test because they didn't work with the update, they seem a bit clunky: require a tty, control the terminal and the Makefile comments says they are very intrusive and a reboot is likely required after running them https://github.com/netblue30/firejail/blob/master/Makefile.in#L262
  • the new patch 0002 was taken from T9663 to fix an issue with an apparmor profile preventing apparmor to work when firejail is installed: https://dev.getsol.us/T9663#183597
JoshStrobl added inline comments.
files/0001-Support-a-stateless-configuration.patch
28

Could I get the raw file of where this is being applied? The diff is indicating the C file src/firejail/checkcfg.c and having bash calls in that is no bueno.

files/0001-Support-a-stateless-configuration.patch
28

The patch 0001 contains changes on multiples files, this rm call is Makefile.in

Thanks for the clarification. Patch looks good to me, thanks for all your work on it, it is appreciated. Going to get this landed after today's sync so it has some time in unstable for testing.

This revision is now accepted and ready to land.Nov 26 2021, 7:39 PM
This revision was automatically updated to reflect the committed changes.