Skip to content

Commit 7d7a1e8

Browse files
committed
doc: add note about DBus and privileges for running ofc-server
1 parent 08e9a45 commit 7d7a1e8

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

INSTALL.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ Note: libnetconf was installed with default prefix (/usr/local/). That means the
146146
/usr/local/lib/pkgconfig/. On some distros, pkg-config ignores .pc files in this location so setting
147147
the PKG_CONFIG_PATH is a way to make pkg-config search for .pc files there.
148148

149+
By default, the server uses D-Bus internal communication. Therefore, the access rights configuration
150+
settings can be found at /etc/dbus-1/system.d/org.opennetworking.ofc.conf file. If you need to avoid
151+
D-Bus usage, use the configure's --disable-dbus option. In such a case, the server is going to use
152+
UNIX sockets for the internal communication. While D-Bus allows you to limit users and groups allowed
153+
to connect to ofc-server, there is no such configuration when the sockets are used for internal
154+
communication.
155+
149156
OF-CONFIG Build
150157
---------------
151158

@@ -166,6 +173,12 @@ ofc-server supports some parameters that can be found in help: ofc-server -h
166173

167174
Useful parameter is -v<level> that specifies level of verbose output.
168175

176+
[of-config]# ofc-server -v 3 -f
177+
178+
Since ofc-server is supposed to communicate with OVSDB, ofc-server has to run with
179+
the sufficient privileges to access OVSDB interfaces (sockets). Usually, it means running
180+
ofc-server with the root privileges.
181+
169182
Troubleshooting
170183
===============
171184

0 commit comments

Comments
 (0)