Which 'dbus' directory are they reffering to ?

Status
Not open for further replies.

anneranch

Active Member
Joined
Mar 16, 2019
Messages
223
Reaction score
43
Credits
2,078
This could be a simple qustion for somebody who done this before to answer.
( Please no RTFM suggestions at this point)

This is a text of original dbus session,conf file - located in /etc/dbus-1 folder.
It clearly REPLACES the original session.conf with /usr/DBUS/share/dbus-1/session.conf

1. BUT it suggests to build the session-local.conf in SAME directory
which directory - the one this "removed" file is in or the /usr/DBUS/share/dbus-1 ?

2. The NEW /usr/DBUS/share/dbus-1/session.conf makes references / include files in OLD folders - not in
/usr/DBUS/share/dbus-1 folder.
The /DBUS/ folder was created by building the dbus package from source - using --prefix.

I am at lost - how do I keep the references straight ?







<!--
This configuration file is no longer required and may be removed.

In older versions of dbus, this file defined the behaviour of the well-known
session bus. That behaviour is now determined by
/usr/DBUS/share/dbus-1/session.conf, which should not be edited.

For local configuration changes, create a file
session-local.conf or files matching session.d/*.conf in the same directory
as this one
, with a <busconfig> element containing configuration directives.
These directives can override D-Bus or OS defaults.

For upstream or distribution-wide defaults that can be overridden
by a local sysadmin, create files matching
/usr/DBUS/share/dbus-1/session.d/*.conf instead.
-->
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig></busconfig>
 


These are the two directories I have. Usually when I need to make an edit, I edit the one under /etc

/etc/dbus-1/session.conf
/usr/share/dbus-1/session.conf
 
Status
Not open for further replies.

Staff online

Members online


Top