Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
launch/policy: do not warn when ignoring noop policy entries
Do not emit warnings on explicit policy entries that are noops, as they just confirm our hard-coded defaults. For instance, allowing expected replies or disallowing unexpected replies. Only emit warnings on rules that would have had an effect if enforced, i.e., where there is an actual problem to be addressed. This eliminates all (harmless) warnings caused by the reference policy: dbus-broker-launch[740]: Reply/Error policy in /usr/share/dbus-1/system.conf +56: Explicit policies on replies and errors are deprecated and ignored dbus-broker-launch[740]: Reply/Error policy in /usr/share/dbus-1/system.conf +57: Explicit policies on replies and errors are deprecated and ignored dbus-broker-launch[740]: Reply/Error policy in /usr/share/dbus-1/system.conf +61: Explicit policies on replies and errors are deprecated and ignored dbus-broker-launch[740]: Reply/Error policy in /usr/share/dbus-1/system.conf +62: Explicit policies on replies and errors are deprecated and ignored Signed-off-by: Tom Gundersen <[email protected]>
- Loading branch information