Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version of Nheko is broken under firejail #4584

Closed
qazip opened this issue Sep 29, 2021 · 3 comments
Closed

Latest version of Nheko is broken under firejail #4584

qazip opened this issue Sep 29, 2021 · 3 comments

Comments

@qazip
Copy link

qazip commented Sep 29, 2021

Latest version of nheko is broken under firejail. Please see Nheko-Reborn/nheko#733.


firejail --version
firejail version 0.9.66

Compile time support:
	- always force nonewprivs support is disabled
	- AppArmor support is enabled
	- AppImage support is enabled
	- chroot support is enabled
	- D-BUS proxy support is enabled
	- file and directory whitelisting support is enabled
	- file transfer support is enabled
	- firetunnel support is enabled
	- networking support is enabled
	- output logging is enabled
	- overlayfs support is disabled
	- private-home support is enabled
	- private-cache and tmpfs as user enabled
	- SELinux support is disabled
	- user namespace support is enabled
	- X11 sandboxing support is enabled
@rusty-snake
Copy link
Collaborator

diff --git a/etc/profile-m-z/nheko.profile b/etc/profile-m-z/nheko.profile
index 035ad086..33e21de9 100644
--- a/etc/profile-m-z/nheko.profile
+++ b/etc/profile-m-z/nheko.profile
@@ -51,11 +51,9 @@ private-dev
 private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg
 private-tmp
 
-
+dbus-user filter
+dbus-user.talk org.freedesktop.secrets
 # Add the next lines to your nheko.local to enable notification support.
-#ignore dbus-user none
-#dbus-user filter
 #dbus-user.talk org.freedesktop.Notifications
 #dbus-user.talk org.kde.StatusNotifierWatcher
-dbus-user none
 dbus-system none

@rusty-snake
Copy link
Collaborator

diff --git a/etc/profile-m-z/nheko.profile b/etc/profile-m-z/nheko.profile
index 035ad086..2f305dae 100644
--- a/etc/profile-m-z/nheko.profile
+++ b/etc/profile-m-z/nheko.profile
@@ -51,11 +51,10 @@ private-dev
 private-etc alsa,alternatives,asound.conf,ca-certificates,crypto-policies,fonts,gtk-2.0,gtk-3.0,host.conf,hostname,hosts,ld.so.cache,ld.so.conf,ld.so.conf.d,ld.so.preload,locale,locale.alias,locale.conf,mime.types,nsswitch.conf,pki,pulse,resolv.conf,selinux,ssl,X11,xdg
 private-tmp
 
-
-# Add the next lines to your nheko.local to enable notification support.
-#ignore dbus-user none
-#dbus-user filter
+dbus-user filter
+dbus-user.talk org.freedesktop.secrets
+# Add the next line to your nheko.local to enable notification support.
 #dbus-user.talk org.freedesktop.Notifications
+# Add the next line to your nheko.local to enable tray icon support.
 #dbus-user.talk org.kde.StatusNotifierWatcher
-dbus-user none
 dbus-system none

@qazip
Copy link
Author

qazip commented Sep 29, 2021

+dbus-user filter
+dbus-user.talk org.freedesktop.secrets

Edited my nheko.profile according to this (commented dbus-user none and added dbus-user filter and dbus-user.talk org.freedesktop.secrets) and it works! thx!

rusty-snake added a commit to rusty-snake/firejail that referenced this issue Sep 29, 2021
 - Allow org.freedesktop.secrets, fixes netblue30#4584
 - Improve comments about notifications and systray
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants