【问题标题】:ConnMan running from within the source code repository从源代码存储库中运行的 ConnMan
【发布时间】:2014-10-09 14:09:14
【问题描述】:

我刚刚从http://git.kernel.org/cgit/network/connman/connman.git/ 克隆了 ConnMan 存储库,并按照 HACKING 文本文件中的说明进行操作。基本上我已经发出了以下命令:

# ./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 下的配置文件,但没有包含与此相关的任何内容。 有没有其他人遇到过这个问题?

【问题讨论】:

    标签: embedded-linux connman


    【解决方案1】:

    将 D-Bus 策略文件从 src/connman-dbus.conf 复制到 /etc/dbus-1/system.d 以便 D-Bus 在以 root 身份启动时可以授予 net.connman 的所有权。 “make install”安装策略文件,但在这种情况下没有运行。

    【讨论】:

    • 需要注意的是,connman-polkit.conf也应该复制解决一些在桌面linux上发出的问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-12-16
    • 2012-05-19
    • 1970-01-01
    • 1970-01-01
    • 2013-05-13
    • 1970-01-01
    • 2011-03-27
    相关资源
    最近更新 更多