Commit graph

10373 commits

Author SHA1 Message Date
Kelvin M. Klann
c3cc7d3307 RELNOTES: add related PR to aria2p profile item
Relates to #6583 #6609.
2025-03-24 06:36:39 -03:00
Kelvin M. Klann
fe4fcec0be RELNOTES: merge floorp profile items
This amends commit dd0f76cfb ("RELNOTES: add profile item", 2025-03-23).

Relates to #6030 #6683.
2025-03-24 06:36:37 -03:00
netblue30
d36f0da431 rel 0.9.74 testing - temporarily removed lintian call from mkdeb.sh; some other updates 2025-03-23 19:52:28 -04:00
Kelvin M. Klann
ada14900d2 profiles: floorp: add psd paths to firefox-common-addons
This amends commit 5ec656714 ("profiles: floorp: add profile sync daemon
paths (#6683)", 2025-03-23).
2025-03-23 14:26:06 -03:00
Kelvin M. Klann
dd0f76cfb5 RELNOTES: add profile item
Relates to #6683.
2025-03-23 14:10:22 -03:00
Sumimi~
5ec656714e
profiles: floorp: add profile sync daemon paths (#6683)
Also, fix a typo.
2025-03-23 17:09:50 +00:00
Kelvin M. Klann
5f8df1506b RELNOTES: add many new profile items
Use one item per line to make them easier to read.

Relates to #5646 #5675 #5682 #5691 #5706 #5707 #5710 #5729 #5733 #5761.
Relates to #5780 #5847 #5881 #5885 #5887 #5892 #5920 #5934 #5935 #5943.
Relates to #5947 #5954 #6007 #6008 #6009 #6013 #6027 #6028 #6030 #6039.
Relates to #6083 #6155 #6180 #6181 #6219 #6226 #6227 #6231 #6232 #6233.
Relates to #6234 #6235 #6236 #6237 #6241 #6243 #6244 #6245 #6246 #6247.
Relates to #6249 #6250 #6251 #6253 #6254 #6255 #6256 #6259 #6293 #6314.
Relates to #6315 #6327 #6328 #6333 #6341 #6365 #6422 #6463 #6536 #6549.
Relates to #6558 #6577 #6583 #6584 #6585 #6586 #6587 #6588 #6589 #6590.
Relates to #6616 #6654 #6669 #6678 #6679.
2025-03-23 13:31:10 -03:00
Kelvin M. Klann
bf6cce8329 RELNOTES: add contrib and profile items
Relates to #6680 #6686.
2025-03-23 13:30:48 -03:00
Kelvin M. Klann
24c4c7205d profiles: noprofile: add keep-shell-rc
This amends commit d0a12f27d ("feature: add 'keep-shell-rc' flag and
option", 2023-01-30) / #5634.
2025-03-23 11:54:17 -03:00
netblue30
1e81581f5c 0.9.74 testing - update README file 2025-03-23 10:14:39 -04:00
netblue30
095d78d556 rel 0.9.74 testing 2025-03-22 21:21:50 -04:00
NetSysFire
c9dc1edfb7
profiles: godot: ignore noexec in home to fix addons (#6686)
I had weird errors when working on a godot project:

    addons/godot-sqlite/bin/libgdsqlite.linux.template_debug.x86_64.so: failed to map segment from shared object.
    ERROR: Can't open GDExtension dynamic library: 'res://addons/godot-sqlite/gdsqlite.gdextension'.

These addons are executable files. Addons like these are common enough
and `noexec` breaks them. I confirmed that the change fixes this error
and allows loading addons.
2025-03-22 21:02:06 +00:00
northboot
4e14f0a5f9
New profile: xarchiver (#6679)
Lightweight desktop-independent archive manager.

https://github.com/ib/xarchiver
2025-03-15 07:44:03 +00:00
northboot
0200db6b64
modif: keep plugdev group unless nou2f is used (#6664)
To make hardware tokens available for ordinary users, some distributions
include a udev rule to make the corresponding entry in /dev available
for users belonging to a specific group.

In the case of Void Linux, it now uses the `plugdev` group for FIDO2
access[1] and when using a YubiKey, it appears as the following device
nodes:

    $ find /dev -group plugdev | LC_ALL=C sort -u
    /dev/hidraw1
    /dev/hidraw2
    $ ls -l /dev/hidraw1 /dev/hidraw2
    crw-rw---- 1 root plugdev 240, 1 Mar  7 19:53 /dev/hidraw1
    crw-rw---- 1 root plugdev 240, 2 Mar  7 19:53 /dev/hidraw2

[1] https://github.com/void-linux/void-packages/pull/54519
2025-03-14 05:37:13 +00:00
northboot
bb7ea793e2
New profile: ouch (#6678)
CLI utility for easily compressing and decompressing files and dirs.

https://github.com/ouch-org/ouch
2025-03-10 11:00:00 +00:00
沈澄心
36de842b77
contrib/vim: add ftplugin file (based on cfg.vim) (#6680)
Add a simple vim filetype plugin.
2025-03-10 02:57:57 +00:00
Kelvin M. Klann
cd0be81a6b RELNOTES: add feature, bugfix, build, docs and profile items
Relates to #6653 #6655 #6658 #6660 #6662 #6666 #6673 #6674 #6676.
2025-03-07 03:27:45 -03:00
Kelvin M. Klann
e98395b9aa
build: remove cppcheck-old target/job (#6676)
To avoid CI failures.

From the first run of `cppcheck_old` on commit 8f69e9841 ("bugfix:
firecfg: check full filename in check_profile() (#6674)", 2025-03-04)
[1]:

> This is a scheduled Ubuntu 20.04 brownout. Ubuntu 20.04 LTS runner
> will be removed on 2025-04-01. For more details, see
> https://github.com/actions/runner-images/issues/11101

The target depends on the cppcheck version from Ubuntu 20.04 in order to
work properly and this distribution will become EOL next month (April
2025), so just remove the target.

Added on commit 53f0b3950 ("CI: keep old cppcheck job and ignore two
files in new job that take too long to check", 2022-07-26).

[1] https://github.com/netblue30/firejail/actions/runs/13658953453/job/38185280665
2025-03-07 03:54:19 +00:00
weebnix
ee1c264c5f
feature: block /dev/ntsync & add keep-dev-ntsync command (#6660)
Changes:

* Block access to /dev/ntsync by default
* Add the `keep-dev-ntsync` command to allow access to /dev/ntsync (even
  if `private-dev` is used)
* Add `keep-dev-ntsync` to wine.profile and similar profiles

Closes #6655.
2025-03-06 06:36:00 +00:00
Kelvin M. Klann
b269aa7e50
profiles: seahorse: add redirect org.gnome.seahorse.Application (#6673)
Apparently the .desktop file for `seahorse` is located in the following
path:

* `/usr/share/applications/org.gnome.seahorse.Application.desktop`

Which ends in `Application.desktop` instead of `seahorse.desktop`,
leading to it not being automatically detected by firecfg.

So add a redirect profile and an entry in firecfg.config.

Related commits:

* bd9761508 ("Temp fix firecfg (#2634)", 2019-04-02)
* 8f69e9841 ("bugfix: firecfg: check full filename in check_profile()
  (#6674)", 2025-03-04).

Fixes #6658.

Relates to #2624.

Reported-by: @ginto37
Reported-by: @rusty-snake
2025-03-06 06:11:54 +00:00
Kelvin M. Klann
8f69e9841b
bugfix: firecfg: check full filename in check_profile() (#6674)
Currently, firecfg only checks the last word in .desktop files when
trying to match them to an existing profile.  For example:

* `org.gnome.gedit.desktop` -> `gedit.desktop`
* `org.gnome.seahorse.Application.desktop` -> `Application.desktop`

This works in the former case where there is an exact match of the last
word on each side (`gedit.desktop` and `gedit.profile`), but not in the
latter case (`Application.desktop` and `seahorse.profile`).

So make firecfg also check the full filename of the .desktop file, to
make it easier to create redirect profiles that match the full name of
the .desktop files.  For example:

* `org.gnome.seahorse.Application.desktop` ->
  `org.gnome.seahorse.Application.profile` (which itself then redirects
  to `seahorse.profile`)

Related commits:

* a6341b904 ("disable DBus activation in firecfg", 2017-09-25)
* 3e69deba3 ("fix firecfg", 2017-09-25)
* bd9761508 ("Temp fix firecfg (#2634)", 2019-04-02)

Relates to #2624 #6658.
2025-03-04 17:02:41 +00:00
dependabot[bot]
0bb0c808a2 build(deps): bump github/codeql-action from 3.28.8 to 3.28.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.8 to 3.28.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](dd746615b3...b56ba49b26)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 13:24:41 +00:00
dependabot[bot]
c7b7478ad3 build(deps): bump step-security/harden-runner from 2.10.4 to 2.11.0
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.4 to 2.11.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](cb605e52c2...4d991eb9b9)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-01 13:24:28 +00:00
northboot
30ba35f0b3
New profile: remmina-file-wrapper (#6669)
Remmina may install this wrapper binary on some distributions.

On Void Linux, this is the default binary launched via application
launchers (e.g. rofi):

    $ grep "Exec" /usr/share/applications/org.remmina.Remmina.desktop
    TryExec=remmina-file-wrapper
    Exec=remmina-file-wrapper %U
    [...]
2025-02-28 11:24:44 +00:00
Kelvin M. Klann
e71f1172cc
Merge pull request #6666 from kmk3/ytmdesktop-add-redirect
profiles: ytmdesktop: add redirect & whitelist /opt/ytmdesktop
2025-02-26 12:06:26 +00:00
Kelvin M. Klann
985cb43eeb profiles: ytmdesktop: whitelist /opt/ytmdesktop
From [1]:

    $ pacman -Qlq ytmdesktop
    [...]
    /opt/ytmdesktop/youtube-music-desktop-app
    /usr/bin/youtube-music-desktop-app
    /usr/share/applications/ytmdesktop.desktop

See also commit 175905530 ("profiles: exchange private-opt with a
whitelist (#6021)", 2023-10-18).

[1] https://github.com/netblue30/firejail/issues/6662#issuecomment-2681532969
2025-02-25 18:14:47 -03:00
Kelvin M. Klann
4ec076a65c profiles: ytmdesktop: add a redirect for youtube-music-desktop-app
Apparently the main binary has been renamed from `ytmdesktop` to
`youtube-music-desktop-app`[1]:

    $ pacman -Qlq ytmdesktop
    [...]
    /opt/ytmdesktop/youtube-music-desktop-app
    /usr/bin/youtube-music-desktop-app
    /usr/share/applications/ytmdesktop.desktop

So add a redirect for it.

Fixes #6662.

[1] https://github.com/netblue30/firejail/issues/6662#issuecomment-2681532969

Reported-by: @Dieterbe
2025-02-25 18:14:47 -03:00
amano-kenji
76509024ef
New profile: nsxiv (#6588)
https://nsxiv.codeberg.page/
2025-02-23 08:56:57 +00:00
Kelvin M. Klann
733f9a9c48
Merge pull request #6653 from kmk3/docs-clarify-build
docs: note that --build may generate a non-functional profile
2025-02-21 14:11:39 +00:00
Alpha
82d5587f2c
New profile: vesktop (#6654)
https://github.com/Vencord/Vesktop
2025-02-21 14:10:35 +00:00
Kelvin M. Klann
468e1d26b0 docs: note that --build may generate a non-functional profile
Users might expect `--build` to generate a complete and working profile
(see #6651), so clarify that this is not really the case.
2025-02-21 08:02:42 -03:00
Kelvin M. Klann
0718b75ad3 docs: format --build on firejail.1 2025-02-20 08:10:28 -03:00
Kelvin M. Klann
0c791124a0 RELNOTES: add bugfix, docs and profile items
Relates to #6591 #6622 #6640 #6641.
2025-02-20 04:01:55 -03:00
Kelvin M. Klann
e82d3a367f profiles: gimp: fix sorting
This amends commit 2b3a70efe ("fix gimp profile", 2025-02-14).
2025-02-15 02:45:32 -03:00
netblue30
2b3a70efef fix gimp profile 2025-02-14 12:35:10 -05:00
cobratbq
4e0e77b0f9
profiles: torbrowser-launcher: move path from dc to dp (#6640)
The other tor-browser paths are in disable-programs.inc, so move
~/.local/opt/tor-browser from disable-common.inc to disable-programs.inc.
2025-02-12 04:29:03 +00:00
amano-kenji
cf12c66059
New profile: pyradio (#6589)
https://github.com/coderholic/pyradio
2025-02-10 23:20:56 +00:00
amano-kenji
22e8632c78
New profile: ncmpcpp (#6587)
https://github.com/ncmpcpp/ncmpcpp
2025-02-10 23:16:28 +00:00
amano-kenji
a2e97e9967
New profile: hledger/hledger-ui (#6585)
https://hledger.org/
2025-02-10 23:15:34 +00:00
netblue30
17ace05b09 merges 2025-02-06 10:37:52 -05:00
netblue30
6d6257bc3b
Merge pull request #6591 from powerjungle/fix/dbus-folder-creation
bugfix: do not interact with dbus directory if dbus proxy is disabled
2025-02-06 10:36:47 -05:00
netblue30
b10ec31d3e
Merge pull request #6622 from powerjungle/chore/fix-whitelist-man
docs: improve whitelist and blacklist descriptions in man pages
2025-02-06 10:34:19 -05:00
netblue30
7bb4d7c4a0
Merge pull request #6641 from cobratbq/fix-tor-deny-write-execute
profiles: tor: add memory-deny-write-execute
2025-02-06 10:31:31 -05:00
Danny van Heumen
3d3b265184 profiles: tor: add memory-deny-write-execute
Tested by running tor (as a client) for more than 7 hours with
continuous traffic.

Note: Not tested as a relay.
2025-02-05 21:06:59 -03:00
Lucas
a6f26b6e3c
New profile: device-flasher.linux (CalyxOS) (#6616)
The CalyxOS CLI device flasher.
2025-02-01 16:48:39 +00:00
dependabot[bot]
5a6e52d936 build(deps): bump step-security/harden-runner from 2.10.2 to 2.10.4
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.10.2 to 2.10.4.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](0080882f6c...cb605e52c2)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 14:26:08 +00:00
dependabot[bot]
d009b83d5a build(deps): bump github/codeql-action from 3.28.0 to 3.28.8
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.0 to 3.28.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](48ab28a6f5...dd746615b3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-02-01 14:26:01 +00:00
powerjungle
c011879198
bugfix: do not interact with dbus directory if dbus proxy is disabled
Fix a failing assert when running `firejail` inside:
`firejail --chroot=somedir --noprofile`

firejail: ../../src/firejail/util.c:1039: create_empty_dir_as_root:
Assertion `(s.st_mode & 07777) == (mode)' failed.

The assert is checking whether the newly created `/run/firejail/dbus`
empty directory, has the correct mode set, which in this case is `0755`.
The issue is that, since the directory already exists and has the mode
`0400`, because of the first ran chroot command, the assert fails.

This commit circumvents this issue, by making `firejail` ignore the dbug
directory entirely, in the `src/firejail/preproc.c` file when compiling
the project using `configure --disable-dbusproxy`.
There's also really no need for `firejail` to care about that directory
if `--disable-dbusproxy` is used.
2025-02-01 10:54:43 +00:00
Kelvin M. Klann
393c804397 RELNOTES: add build, ci and docs items
Relates to #5960 #6230 #6620 #6624 #6627 #6632.
2025-01-28 10:51:11 -03:00
Kelvin M. Klann
1bee256142
docs: clarify unmaintained status of overlayfs in configure.ac (#6632)
Since users are still asking about it (see #6631).

Relates to #2799 #4178.
2025-01-28 13:48:01 +00:00