mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6651] Add a profile for betterbird #3326
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PWungsten on GitHub (Feb 19, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6651
Description
I am trying to run betterbird in firejail. I cannot get a profile that works. The automatically-built profile does not work.
Steps to Reproduce
/usr/bin/firejail --build=betterbird.profile /usr/local/bin/betterbird/betterbird &. It runs, I can do normal stuff in betterbird.$HOME/.config/firejail/usr/bin/firejail /usr/local/bin/betterbird/betterbird. This fails, reportingHere is the automatically-created profile (comments and commented-out lines deleted)
Additional context
There is a file /usr/local/bin/betterbird/betterbird which I can run without firejail, so I think firejail has created a virtual /usr .
I tried adding these lines
but got errors like
Environment
Kernel: Linux 6.8.0-53-generic x86_64
Distribution: Linus Mint 22.1
Betterbird 128.7.0esr-bb22 (64-bit)
Firejail 0.9.72
@rusty-snake commented on GitHub (Feb 19, 2025):
Duplicated of #1139
@PWungsten commented on GitHub (Feb 19, 2025):
I have not so much asked for a new profile, as reported a bug that --build creates an invalid profile.
@kmk3 commented on GitHub (Feb 19, 2025):
This is likely due to
private-bin.--buildis intended as a starting point to check what a program might need(see also
--trace=); it is not expected to create a fully working profile.If you want to create a new profile, look at the existing profiles for similar
programs (if any) and also the following:
@PWungsten commented on GitHub (Feb 19, 2025):
kmk3 thanks for your input. Removing
private-binhelped, but not completely.betterbird now starts, but reports "failed to connect to server".
I could not find much help with web searches. Issue 3376 looks slightly similar, but offers no cure. I suspect I have an issue with log-on to my email provider. Below is an excerpt from
syslogwhen firejail started (irrelevant time and device name removed)@PWungsten commented on GitHub (Feb 19, 2025):
I have fixed the "failed to connect to server", by removing these lines from the profile.
Have I been too liberal? Is there a more secure way to allow log-on to my email provider?
@kmk3 commented on GitHub (Feb 20, 2025):
(Offtopic)
Please see the following links for how to format code blocks in markdown:
@kmk3 commented on GitHub (Feb 20, 2025):
You can use
--trace=to find the paths that it uses.Also, debugging should be easier with firejail-git
due to #6400.
@rusty-snake commented on GitHub (Feb 20, 2025):
No
resolv.conf