You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issues running this under Debian. I'm receiving the following AppArmor errors. Please tweak your AppArmor settings for this container.
raise e
File "/opt/custom_broker/mdns_register.py", line 50, in register_service
return _register_service(service_name=service_name, service_name_template=service_name_template, service_type=service_type, service_port=service_port, service_priority=service_priority, service_weight=service_weight, data=data)
File "/opt/custom_broker/mdns_register.py", line 32, in _register_service
bus = SystemBus()
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 196, in __new__
private=private)
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 102, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/local/lib/python3.7/dist-packages/dbus/bus.py", line 124, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
usage: mdns_register.py [-h] {register,unregister} ...
mdns_register.py: error: unrecognized arguments: /run/s6/basedir/bin/halt
usage: mdns_register.py [-h] {register,unregister} ...
mdns_register.py: error: unrecognized arguments: /run/s6/basedir/bin/halt
[06:01:52] INFO: Advertising the Mosquitto daemon
[06:01:52] INFO: Advertising the Meross API service
Traceback (most recent call last):
File "/opt/custom_broker/mdns_register.py", line 94, in <module>
exit(main())
File "/opt/custom_broker/mdns_register.py", line 82, in main
path = register_service(service_name=args.service_name, service_name_template=args.service_name_template, service_type=args.service_type, service_port=args.service_port, service_priority=args.priority, service_weight=args.weight, data=args.set, update_if_present=args.update_if_present)
File "/opt/custom_broker/mdns_register.py", line 55, in register_service
raise e
File "/opt/custom_broker/mdns_register.py", line 50, in register_service
return _register_service(service_name=service_name, service_name_template=service_name_template, service_type=service_type, service_port=service_port, service_priority=service_priority, service_weight=service_weight, data=data)
File "/opt/custom_broker/mdns_register.py", line 32, in _register_service
bus = SystemBus()
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 196, in __new__
private=private)
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 102, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/local/lib/python3.7/dist-packages/dbus/bus.py", line 124, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
Traceback (most recent call last):
File "/opt/custom_broker/mdns_register.py", line 94, in <module>
exit(main())
File "/opt/custom_broker/mdns_register.py", line 82, in main
path = register_service(service_name=args.service_name, service_name_template=args.service_name_template, service_type=args.service_type, service_port=args.service_port, service_priority=args.priority, service_weight=args.weight, data=args.set, update_if_present=args.update_if_present)
File "/opt/custom_broker/mdns_register.py", line 55, in register_service
raise e
File "/opt/custom_broker/mdns_register.py", line 50, in register_service
return _register_service(service_name=service_name, service_name_template=service_name_template, service_type=service_type, service_port=service_port, service_priority=service_priority, service_weight=service_weight, data=data)
File "/opt/custom_broker/mdns_register.py", line 32, in _register_service
bus = SystemBus()
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 196, in __new__
private=private)
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 102, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/local/lib/python3.7/dist-packages/dbus/bus.py", line 124, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
usage: mdns_register.py [-h] {register,unregister} ...
mdns_register.py: error: unrecognized arguments: /run/s6/basedir/bin/halt
usage: mdns_register.py [-h] {register,unregister} ...
mdns_register.py: error: unrecognized arguments: /run/s6/basedir/bin/halt
[06:01:53] INFO: Advertising the Mosquitto daemon
[06:01:53] INFO: Advertising the Meross API service
Traceback (most recent call last):
File "/opt/custom_broker/mdns_register.py", line 94, in <module>
exit(main())
File "/opt/custom_broker/mdns_register.py", line 82, in main
path = register_service(service_name=args.service_name, service_name_template=args.service_name_template, service_type=args.service_type, service_port=args.service_port, service_priority=args.priority, service_weight=args.weight, data=args.set, update_if_present=args.update_if_present)
File "/opt/custom_broker/mdns_register.py", line 55, in register_service
raise e
File "/opt/custom_broker/mdns_register.py", line 50, in register_service
return _register_service(service_name=service_name, service_name_template=service_name_template, service_type=service_type, service_port=service_port, service_priority=service_priority, service_weight=service_weight, data=data)
File "/opt/custom_broker/mdns_register.py", line 32, in _register_service
bus = SystemBus()
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 196, in __new__
private=private)
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 102, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/local/lib/python3.7/dist-packages/dbus/bus.py", line 124, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
Traceback (most recent call last):
File "/opt/custom_broker/mdns_register.py", line 94, in <module>
exit(main())
File "/opt/custom_broker/mdns_register.py", line 82, in main
path = register_service(service_name=args.service_name, service_name_template=args.service_name_template, service_type=args.service_type, service_port=args.service_port, service_priority=args.priority, service_weight=args.weight, data=args.set, update_if_present=args.update_if_present)
File "/opt/custom_broker/mdns_register.py", line 55, in register_service
raise e
File "/opt/custom_broker/mdns_register.py", line 50, in register_service
return _register_service(service_name=service_name, service_name_template=service_name_template, service_type=service_type, service_port=service_port, service_priority=service_priority, service_weight=service_weight, data=data)
File "/opt/custom_broker/mdns_register.py", line 32, in _register_service
bus = SystemBus()
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 196, in __new__
private=private)
File "/usr/local/lib/python3.7/dist-packages/dbus/_dbus.py", line 102, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/local/lib/python3.7/dist-packages/dbus/bus.py", line 124, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)
usage: mdns_register.py [-h] {register,unregister} ...
mdns_register.py: error: unrecognized arguments: /run/s6/basedir/bin/halt
usage: mdns_register.py [-h] {register,unregister} ...
mdns_register.py: error: unrecognized arguments: /run/s6/basedir/bin/halt
The text was updated successfully, but these errors were encountered:
Issues running this under Debian. I'm receiving the following AppArmor errors. Please tweak your AppArmor settings for this container.
The text was updated successfully, but these errors were encountered: