summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2006-02-26 08:11:03 +0000
committerHavoc Pennington <hp@redhat.com>2006-02-26 08:11:03 +0000
commitf46701b47aa276e552ffa5975c79ad223562170c (patch)
treee43dbdf7df09f1315f7639eb05ecde9146d9a9ad
parent78891f0096013a69b959fdd5b4b2c8d4f3577244 (diff)
2006-02-26 Havoc Pennington <hp@redhat.com>
* bus/dbus-daemon.1.in: improve the language in a couple spots I noticed * dbus/dbus-bus.c (internal_bus_get): in the error message if the session bus variable is unset, suggest "man dbus-launch" and "man dbus-daemon" to figure out how to fix the problem
-rw-r--r--ChangeLog8
-rw-r--r--bus/dbus-daemon.1.in20
-rw-r--r--dbus/dbus-bus.c2
3 files changed, 23 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 311e29ea..d30266ef 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-02-26 Havoc Pennington <hp@redhat.com>
+
+ * bus/dbus-daemon.1.in: improve the language in a couple spots I noticed
+
+ * dbus/dbus-bus.c (internal_bus_get): in the error message if the
+ session bus variable is unset, suggest "man dbus-launch" and "man
+ dbus-daemon" to figure out how to fix the problem
+
2006-02-25 Havoc Pennington <hp@redhat.com>
* glib/dbus-glib-tool.c (usage): fix up the usage message, someone
diff --git a/bus/dbus-daemon.1.in b/bus/dbus-daemon.1.in
index 902ff374..5144bc18 100644
--- a/bus/dbus-daemon.1.in
+++ b/bus/dbus-daemon.1.in
@@ -295,16 +295,22 @@ by max_message_size.
.PP
max_completed_connections divided by max_connections_per_user is the
-number of users that can work together to DOS all other users by using
-up all connections.
+number of users that can work together to denial-of-service all other users by using
+up all connections on the systemwide bus.
+
+.PP
+Limits are normally only of interest on the systemwide bus, not the user session
+buses.
.TP
.I "<policy>"
.PP
-The <policy> element defines a policy to be applied to a particular
+The <policy> element defines a security policy to be applied to a particular
set of connections to the bus. A policy is made up of
-<allow> and <deny> elements.
+<allow> and <deny> elements. Policies are normally used with the systemwide bus;
+they are analogous to a firewall in that they allow expected traffic
+and prevent unexpected traffic.
.PP
The <policy> element has one of three attributes:
@@ -559,11 +565,13 @@ probably add a way to set the default connection context.
Second, any time a connection asks to own a name,
the bus daemon will check permissions with the security
context of the connection as source, the security context specified
-for the name with an <associate> element as target, object
+for the name in the config file as target, object
class "dbus" and requested permission "acquire_svc".
.PP
-If the name has no security context associated in the
+The security context for a bus name is specified with the
+<associate> element described earlier in this document.
+If a name has no security context associated in the
configuration file, the security context of the bus daemon
itself will be used.
diff --git a/dbus/dbus-bus.c b/dbus/dbus-bus.c
index 8ba7d941..060b0ba9 100644
--- a/dbus/dbus-bus.c
+++ b/dbus/dbus-bus.c
@@ -351,7 +351,7 @@ internal_bus_get (DBusBusType type,
if (address == NULL)
{
dbus_set_error (error, DBUS_ERROR_FAILED,
- "Unable to determine the address of the message bus");
+ "Unable to determine the address of the message bus (try 'man dbus-launch' and 'man dbus-daemon' for help)");
_DBUS_UNLOCK (bus);
return NULL;
}