summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2012-01-20 03:03:25 +0100
committerMichal Schmidt <mschmidt@redhat.com>2012-01-20 03:03:25 +0100
commit229b5d55f620704d62b91d824f429a6cf07e070c (patch)
tree581f34bbb8b056e48ced811cca0138be5a5f4cb2 /src
parent3e52541ef51b1004357fbcd4bf863fb955ab83e9 (diff)
dbus-execute: don't publish control_group_persistent on DBus for now
Since the addition of ControlGroupPersistent, systemd is trivially killed by "systemctl status any.service". bus_property_append_bool must not be used for a tri-state int. Also, should it really "b", or do we want the tri-state nature to be seen? For now just comment out the buggy DBus property.
Diffstat (limited to 'src')
-rw-r--r--src/dbus-execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dbus-execute.c b/src/dbus-execute.c
index 925cbb5123..db7cc2f1da 100644
--- a/src/dbus-execute.c
+++ b/src/dbus-execute.c
@@ -416,6 +416,6 @@ const BusProperty bus_exec_context_properties[] = {
{ "KillSignal", bus_property_append_int, "i", offsetof(ExecContext, kill_signal) },
{ "UtmpIdentifier", bus_property_append_string, "s", offsetof(ExecContext, utmp_id), true },
{ "ControlGroupModify", bus_property_append_bool, "b", offsetof(ExecContext, control_group_modify) },
- { "ControlGroupModify", bus_property_append_bool, "b", offsetof(ExecContext, control_group_persistent) },
+/* FIXME{ "ControlGroupPersistent", bus_property_append_bool, "b", offsetof(ExecContext, control_group_persistent) },*/
{ NULL, }
};