
JACK(Jack Audio Connectivity Kit)をインストールしましたが、jack_control start
サービスを開始できないようです。
私はSlackware64-currentを使用していますが、最近/etc/dbus-1/system.conf
より厳格な設定を持つように更新しました。
<!-- ... -->
<policy context="default">
<!-- All users can connect to system bus -->
<allow user="*"/>
<!-- Holes must be punched in service configuration files for
name ownership and sending method calls -->
<deny own="*"/>
<deny send_type="method_call"/>
<!-- Signals and reply messages (method returns, errors) are allowed
by default -->
<allow send_type="signal"/>
<allow send_requested_reply="true" send_type="method_return"/>
<allow send_requested_reply="true" send_type="error"/>
<!-- All messages may be received by default -->
<allow receive_type="method_call"/>
<allow receive_type="method_return"/>
<allow receive_type="error"/>
<allow receive_type="signal"/>
<!-- Allow anyone to talk to the message bus -->
<allow send_destination="org.freedesktop.DBus"/>
<!-- But disallow some specific bus services -->
<deny send_destination="org.freedesktop.DBus"
send_interface="org.freedesktop.DBus"
send_member="UpdateActivationEnvironment"/>
</policy>
更新後にjack_control start
一般ユーザーとして実行すると、次のエラーが発生します。
--- start
DBus exception: org.jackaudio.Error.Generic: failed to activate
dbusapi jack client. error is -1
以前はこのようなことはしませんでした。新しい構成ファイルは、サービス構成ファイルに穴を開ける必要があることを示しています。 DBUSがJACKとどのように関連しているのかわかりません。
追加情報:
- JACK2 SVN改訂 4120(2011-02-09)
- DBUSバージョン1.4.1
- DBUS-Python バージョン 0.83.1
答え1
私はこれをしばらく前に見つけました。 JACKのCAS-ARMv7パッチにより、DBUS機能が中断されたことが判明し、修正を使用できました。今回のパッチ。これらの問題はしばらく前にJACK Subversionリポジトリで解決されており、現在はうまく機能しています。