2014-10-09 92 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'安装策略文件,但在这种情况下没有运行。