[PATCH] syslog and SELinux patches
Colin Walters
walters at verbum.org
Tue Mar 16 06:40:32 PDT 2010
Hi,
I was recently debugging
https://bugzilla.redhat.com/show_bug.cgi?id=572769
As part of this, I concluded our syslog output was inadequate; it's
not clear in the syslog whether something is from the system bus or
session (now, session is disabled by default, but it's certainly
possible to turn on).
So the first thing this patch series does is add a prefix to the log,
so it now looks like:
Mar 16 09:32:27 localhost dbus: [system] Reloaded configuration
Mar 16 09:32:27 localhost dbus: [session uid=500 pid=4344] Reloaded
configuration
Also, this patch changes the SELinux handling so that if SELinux is
enabled, but setting up the AVC fails, it becomes a fatal error (with
a hopefully informative syslog) instead of a crash.
The patches are conceptually independent but practically intertwined,
so posting as one series.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sysdeps-Refactor-_dbus_log_info-_dbus_log_security-i.patch
Type: text/x-patch
Size: 8171 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100316/e6d4cd66/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-DBUS_SYSTEM_LOG_FATAL-severity.patch
Type: text/x-patch
Size: 1893 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100316/e6d4cd66/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-DBusCredentials-Add-_dbus_credentials_to_string_appe.patch
Type: text/x-patch
Size: 2699 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100316/e6d4cd66/attachment-0007.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-bus-Add-a-prefix-to-our-syslog-messages.patch
Type: text/x-patch
Size: 6850 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100316/e6d4cd66/attachment-0008.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Make-SELinux-initialization-failure-fatal.patch
Type: text/x-patch
Size: 1099 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100316/e6d4cd66/attachment-0009.bin>
More information about the dbus
mailing list