systemctl echoは他のデバイスの干渉を印刷します。

systemctl echoは他のデバイスの干渉を印刷します。

私はうまく動作するサービスを開発しています。私の問題(または少し迷惑な点)は、私が実行しているとき、systemctl status foo.serviceまたはjournalctl -u foo.service時々[pulseaudio]エラーメッセージが表示されることです。

注意を気にする項目は次のとおりです(最初の2行は太字で表示され、最後の行は太字の赤で表示されます)。

[pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.104" (uid=1006 pid=21503 comm="/usr/bin/pulseaudio --start --log-target=syslog " label="unconfined") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (bus)

私のサービスはpulseaudioと全く関係がなく、非常に独立しています。私は最小限の例としてこれを複製しようとしました。一時開発VMなので、エラーの原因はあまり気にしませんが、なぜここでpulseaudioの出力が表示されるのか疑問に思います.


¹ 仮想マシンは Linux Mint 19 Tara を実行しており、ホストは Windows 10 Pro x64 です。

ベストアンサー1

おすすめ記事