[Pkg-utopia-maintainers] Bug#643991: policykit-1: logs debug messages to syslog when using systemd

Simon McVittie smcv at debian.org
Sat Oct 1 13:45:06 UTC 2011


Package: policykit-1
Version: 0.102-1
Severity: normal

polkitd frequently logs to stderr. Under sysvinit this went to
dbus-daemon's stderr, which is /dev/null, but with init=/bin/systemd
it ends up in syslog, in rather more detail than is useful when not debugging:

Oct  1 14:26:59 reptile dbus-daemon[1511]: ** (polkitd:2034): DEBUG: system-bus-name::1.152 is inquiring whether system-bus-name::1.74 is authorized for org.freedesktop.NetworkManager.settings.modify.own
Oct  1 14:26:59 reptile dbus-daemon[1511]: ** (polkitd:2034): DEBUG:  user of caller is unix-user:root
Oct  1 14:26:59 reptile dbus-daemon[1511]: ** (polkitd:2034): DEBUG:  user of subject is unix-user:smcv
Oct  1 14:26:59 reptile dbus-daemon[1511]: ** (polkitd:2034): DEBUG: checking whether system-bus-name::1.74 is authorized for org.freedesktop.NetworkManager.settings.modify.own
Oct  1 14:26:59 reptile dbus-daemon[1511]: ** (polkitd:2034): DEBUG:   0xc908c0
Oct  1 14:26:59 reptile dbus-daemon[1511]: ** (polkitd:2034): DEBUG:  subject is in session /org/freedesktop/ConsoleKit/Session2 (local=1 active=1)
Oct  1 14:26:59 reptile dbus-daemon[1511]: ** (polkitd:2034): DEBUG:  is authorized (has implicit authorization local=1 active=1)

I think it should suppress g_debug() messages, unless they are requested via
a command-line option or environment variable.

    S





More information about the Pkg-utopia-maintainers mailing list