[GH-ISSUE #2974] meld.profile missing access to dconf #1860

Closed
opened 2026-05-05 08:31:48 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @felixwiemuth on GitHub (Sep 22, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2974

Meld uses dconf to store its settings. I had to add
noblacklist ${HOME}/.config/dconf to meld.local so that settings can be applied and persisted.

Originally created by @felixwiemuth on GitHub (Sep 22, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2974 Meld uses dconf to store its settings. I had to add `noblacklist ${HOME}/.config/dconf` to `meld.local` so that settings can be applied and persisted.
Author
Owner

@rusty-snake commented on GitHub (Sep 22, 2019):

For my it's working without that fix. Normaly dconf is accessed over dbus.

which firejail version and distro are you on?

firejail: git, OS: Fedora 30.
meld.local:

ignore private-bin
ignore private-tmp

include whitelist-var-common.inc

net none
protocol unix
<!-- gh-comment-id:533883763 --> @rusty-snake commented on GitHub (Sep 22, 2019): For my it's working without that fix. Normaly dconf is accessed over dbus. which firejail version and distro are you on? firejail: git, OS: Fedora 30. meld.local: ``` ignore private-bin ignore private-tmp include whitelist-var-common.inc net none protocol unix ```
Author
Owner

@felixwiemuth commented on GitHub (Sep 22, 2019):

Arch Linux, firejail 0.9.60.

I guessed that dbus could be a problem as well, is it using /tmp to communicate? Because then one actually would nede the ignore private-tmp.

However, now it suddenly works even without additions in meld.local, even though before this change (noblacklist ${HOME}/.config/dconf) made it work...

<!-- gh-comment-id:533884974 --> @felixwiemuth commented on GitHub (Sep 22, 2019): Arch Linux, firejail 0.9.60. I guessed that dbus could be a problem as well, is it using /tmp to communicate? Because then one actually would nede the `ignore private-tmp`. However, now it suddenly works even without additions in `meld.local`, even though before this change (`noblacklist ${HOME}/.config/dconf`) made it work...
Author
Owner

@rusty-snake commented on GitHub (Sep 22, 2019):

BTW: grep "^blacklist \${HOME}/.config/dconf" /etc/firejail/* , dconf is never blacklisted.

<!-- gh-comment-id:533885314 --> @rusty-snake commented on GitHub (Sep 22, 2019): BTW: `grep "^blacklist \${HOME}/.config/dconf" /etc/firejail/* `, dconf is never blacklisted.
Author
Owner

@Vincent43 commented on GitHub (Sep 22, 2019):

@felixwiemuth modern dbus is usually using /run/user/$UID/bus to communicate

<!-- gh-comment-id:533889947 --> @Vincent43 commented on GitHub (Sep 22, 2019): @felixwiemuth modern dbus is usually using `/run/user/$UID/bus` to communicate
Author
Owner

@felixwiemuth commented on GitHub (Sep 24, 2019):

Thanks for the comments, probably it is difficult to identify what the actual issue was here.

Some additional observations:

  • Same issue in a firejail --private sandbox (this suggests that it actually could have been some sandboxing issue)
  • When deleting ~/.config/dconf/user the file is recreated when starting meld and changing settings

If there are no more ideas for now I guess this can be closed.

<!-- gh-comment-id:534525533 --> @felixwiemuth commented on GitHub (Sep 24, 2019): Thanks for the comments, probably it is difficult to identify what the actual issue was here. Some additional observations: - Same issue in a `firejail --private` sandbox (this suggests that it actually could have been some sandboxing issue) - When deleting `~/.config/dconf/user` the file is recreated when starting meld and changing settings If there are no more ideas for now I guess this can be closed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1860
No description provided.