mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5764] pidgin: program does not start #3086
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#3086
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 @Xunil73 on GitHub (Mar 28, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5764
Since one week Pidgin doesn't start anymore with Firejail. I'm using Arch Linux 6.2.8-arch1-1 and Firejail --version 0.9.72.
The output when Pidgin is started with pidgin.profile:
if it's important there's a output from
coredumpctl info /usr/bin/pidginattached:coredumpinfo_pidgin.txt
@Xunil73 commented on GitHub (Mar 28, 2023):
The same error can be found in Debian Bullseye
uname -r5.10.0-21-amd64withfirejail --versionfirejail version 0.9.64.4theres the console output when starting Pidgin:
@ghost commented on GitHub (Mar 29, 2023):
We'll need more context here to be able to offer any help. Does this happen without running pidgin through firejail? Does it work with --noprofile? When you (temporarily) disable all plugins, is pidgin still crashing?
Similar remark as above. Please post this file's content here so it's clear if there's anything in it that might be causing what you're seeing.
@Xunil73 commented on GitHub (Mar 29, 2023):
If Pidgin is run without firejail then it works. Similarly starting Pidgin with
firejail --noprofile pidginworks:there are no extra plugins installed in Pidgin.
i found this in the ArchLinux forum, but it does not affect the functionality, it's the same
without this.
i tried to figure the error out by creating a custom profile with
firejail --build=file.profile /usr/bin/pidginand cross checking theprofile with the default. For test i added each "whitelist" entry i found in the profile to the
pidgin.localand tried it, but there is the same behaviour. Finally i tried the createdfirejail --buildprofile alone, in this case Pidgin starts up but does not recognize the personal settings (stored accounts and settings), it starts as a fresh installation of Pidgin which still needs to be configured.Heres the content of the created profile with
firejail --build=file.profile /usr/bin/pidgin@ghost commented on GitHub (Mar 29, 2023):
Thanks for providing additional info. I cannot reproduce this (yet) on my Arch Linux box, but I have a hunch your issue might be caused by gstreamer. Can you add the below and report back if that changes anything?
@Xunil73 commented on GitHub (Mar 29, 2023):
The two lines did nothing. I tested it on both, Arch and Debian.
@ghost commented on GitHub (Mar 29, 2023):
So much for my hunch. For now it seems you're left with commenting lines in /etc/firejail/pidgin.profile (one by one) and try to find the offending option(s) that cause the crash you're seeing...
@Xunil73 commented on GitHub (Mar 30, 2023):
I figured it out! Commenting out was not helpful.
Solution: In
/etc/firejail/pidgin.profilethere is an entryprotocol unix,inet,inet6.Just adding
netlinkto this line made pidgin executable again.I noticed it after the output of
firejail --build=file.profilehas an line with just this entry:protocol unix,inet, inet6,netlink.I saved the line in an .local and it looks like it will work as before.
Thanks support! Great job!
@Xunil73 commented on GitHub (Mar 30, 2023):
solved
@rusty-snake commented on GitHub (Mar 30, 2023):
Needs to be fixed upstream as well.
@ghost commented on GitHub (Mar 30, 2023):
Weird. I've been running pidgin for a long time and
neverneedednetlink. But that's with firejail built from git. In fact I cannot reproduce this at all.@rusty-snake Can you reproduce this?
@rusty-snake commented on GitHub (Mar 30, 2023):
I did not tried yet but we should at least add a comment IMHO.
@Xunil73 commented on GitHub (Mar 30, 2023):
netlinktakes effect in both distros, Arch 6.2.8-arch1-1 and Firejail --version 0.9.72 andDebian Bullseye 5.10.0-21-amd64 firejail version 0.9.64.4. In both distros only packages of the official repositories used here. On both systems the crash happend last week, i believe there where no package upgrades of firejail or pidgin at this time. Sorry, but i have no more details or an idea whats going on there on my machine.
@ghost commented on GitHub (Mar 30, 2023):
@Xunil73 No worries, I think it's best to add netlink in our pidgin.profile with a comment that it might work without it. Can you open a PR for that?
@kmk3 commented on GitHub (Apr 3, 2023):
(Offtopic)
@Xunil73 on Mar 30:
Note that we do not maintain that version of firejail:
Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.
See the following for how to install a supported version on Debian:
@vbooka1 commented on GitHub (Sep 25, 2023):
I had the same issue in openSuSE Leap 15.5 (Pidgin 2.14.8, firejail 0.9.70)
adding
protocol netlinkto pidgin.local fixed the issue.@kmk3 commented on GitHub (Sep 25, 2023):
Note that this was fixed in firejail 0.9.72.
See also my previous comment.