Open rieje opened 2 years ago
Reading profile /home/rieje/.config/firejail/signal-desktop.local
What's in it?
How is /etc/resolv.conf
handled?
Is is a symlink? If yes, where does it point to? Which program changes it? NetworkManager? systemd-networkd?
~/.config/firejails/signal-desktop.local:
ignore private-tmp
ignore dbus-user none
dbus-user filter
dbus-user.talk org.kde.StatusNotifierWatcher
/etc/resolv.conf
is not a symlink and handled by NetworkManager.
/etc/resolv.conf is not a symlink and handled by NetworkManager.
That's likely explains it because signal-desktop.profile uses private-etc
.
If /etc/resolv.conf
is a file, NetworkManager will write to resolv.conf with creat+write+rename
logic. If there is no nameserver set in resolv.conf when the sandbox is started, it will end up without one.
For now you can change /etc/resolv.conf
or use dns 1.2.3.4
(in signal-desktop.local).
Description
Signal desktop client is unable to reconnect if it was started without internet connection. Without firejail, it will normally reconnect even if started without internet connection.
Steps to Reproduce
You will see:
Even if you click to reconnect, it refuses to connect despite internet connection established. Without firejail, it will auto-reconnect without the user having to click reconnect (although that works too).
If Signal is started with connection, then restarting NetworkManager (i.e. terminating internet connection and establishing it again) will work as expected, i.e. it will be possible to re-connect. So the issue is only if Signal is started without internet connection where it will be impossible to reconnect unless you kill the Signal instance and restart.
Environment
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)Log
Disabled internet connection, start capturing the log, then start internet connection. Click "reconnect", Signal fails to reconnect. Terminate Signal and uploaded logs below:
Output of
LC_ALL=C firejail /usr/bin/signal-desktop
. Output ofLC_ALL=C firejail --debug /usr/bin/signal-desktop
.