Hey niemeyer thanks for reply,
I tried only to run a mqtt command like {“command”: “ListConnections” } on the topic network in mqtt and I want the result from connections where are in the network-manager. in “dbus” calls i get it working but not from mqtt commands
the network plug is a kind of java service where doing connect to the network-manager:service
the configuration plug is also a java service which we configure mqtt endpoints where we want to connect
here the list of full of all plugs and slots from bundle
the service and servicep are api services where we write by us own.
slots: [configuration,logging,proxy,networkmanager,service]
plugs: [home,network-manager,modem-manager,network,network-bind,network-control,pnetworkmanager ,snapd-control,process-control,servicep,proxy,mqtt]
proxy plug and slot list:
slots: [proxy]
plugs: [configuration,logging,proxyplug,network,network-bind,service,mqtt]
mqtt plug and slot list:
slots: [mqtt]
plugs: [configuration,logging,proxy,network,network-control,network-bind,service,mqttplug]
Error messages:
pid=1205 uid=100 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/com/service/networkmanager/External" member="ListConnections" mask="send" name="com.service.networkmanager" pid=1378 label="snap.proxy" peer_pid=1400 peer_label="snap.bundle"
pid=1205 uid=100 auid=4294967295 ses=4294967295 msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/com/service/networkmanager/External" member="ListConnections" name=":1.12" mask="receive" pid=1400 label="snap.bundle" peer_pid=1378 peer_label="snap.proxy"
here the connection list:
slots plugs
proxy:proxy bundle:pnetworkmanager,bundle:servicep,mqtt
proxy:mqtt bundle:pnetworkmanager,bundle:servicep,mqtt
bundle:configurationmanager proxy:configurationamanger,mqtt
bundle:logging proxy:logging,mqtt:logging
bundle:proxy proxy:proxyplug,bundle:pnetworkmanager,mqtt:mqtt
bundle:networkmanager proxy:proxyplug,bundle:pnetworkmanager
bundle:service proxy,bundle:pnetworkmanager,bundle:servicep,mqtt
bundle:systemcontrol bundle:psystemcontrol
bundle:uplink proxy:proxyplug,bundle:servicep,mqtt
mqtt:mqtt proxy:proxyplug,bundle:pnetworkmanager,bundle:servicep,mqtt:mqtt
Maybe something to much connected?
Greets