snapd
snapd copied to clipboard
Ability to subscribe to PropertiesChanged signal on systemd's dbus interface thru system-observe interface
The following changes are meant to include access to 'PropertiesChanged' signal on systemd's dbus interface.
This change enables snap applications with the 'system-observe' plug to subscribe to the 'PropertiesChanged' signal on systemd's DBus interface.
- template.go-: '/usr/bin/dbus-monitor' has been included in the list, as this executable allows monitoring signals on dbus.
- system_observe.go-: Adds the necessary DBus API string to the 'systemObserveConnectedPlugAppArmor' constant for the 'PropertiesChanged' signal.
- system_observe_test.go-: Adds corresponding test case for the new functionality.
Hey! prash813 has not signed the Canonical CLA which is required to get this contribution merged on this project.
Please head over to https://ubuntu.com/legal/contributors to read more about it.