mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #2688] [MERGED] nodbus enhancements #4485
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#4485
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/2688
Author: @laomaiweng
Created: 5/10/2019
Status: ✅ Merged
Merged: 5/17/2019
Merged by: @netblue30
Base:
master← Head:nodbus-enhancements📝 Commits (3)
fc309e9Blacklist ~/.dbus with nodbus6fad6fcFix overridden DBUS_SESSION_BUS_ADDRESS with nodbus0347e4dMerge branch 'master' into nodbus-enhancements📊 Changes
1 file changed (+9 additions, -1 deletions)
View changed files
📝
src/firejail/dbus.c(+9 -1)📄 Description
Hi,
This PR adds/changes the following behaviors of
nodbus:~/.dbusby defaultDBUS_SESSION_BUS_ADDRESS~/.dbusis created bydbus-launchand contains an environment file that can be sourced by the shell. It sets the values ofDBUS_SESSION_BUS_ADDRESSand other DBus-related envvars, so that processes spawned by the shell can communicate with the session bus. Blacklisting it removes one way for firejailed programs to find out about the real address of the session bus (though other ways sadly still remain).As for the overridden value of
DBUS_SESSION_BUS_ADDRESS, it containedDBUS_SESSION_BUS_ADDRESS=itself at the start, which seemed like a mistake.Hope this is helpful!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.