2014-10-09 94 views
0

我剛剛從http://git.kernel.org/cgit/network/connman/connman.git/克隆了ConnMan repo,並遵循HACKING文本文件中的說明。基本上,我已經發出以下命令:ConnMan從源代碼倉庫內運行

# ./bootstrap-configure 
# make 

根據文本文件前面提到的,這應該是足夠的運行來啓動守護進程:

# sudo ./src/connmand -n 

但出現以下錯誤:

Connection ":1.72" is not allowed to own the service "net.connman" due to security policies in the configuration file 

我查看了src/main.conf下的配置文件,但沒有包含與此相關的任何內容。 有其他人遇到過這個問題嗎?

回答

2

將d-Bus策略文件從src/connman-dbus.conf複製到/etc/dbus-1/system.d,以便D-Bus在以root用戶身份啓動時可以授予net.connman的所有權。 'make install'安裝策略文件,但在這種情況下沒有運行。