mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-02 17:50:08 +03:00
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.
This commit is contained in:
@@ -416,6 +416,6 @@ const BusProperty bus_exec_context_properties[] = {
|
|||||||
{ "KillSignal", bus_property_append_int, "i", offsetof(ExecContext, kill_signal) },
|
{ "KillSignal", bus_property_append_int, "i", offsetof(ExecContext, kill_signal) },
|
||||||
{ "UtmpIdentifier", bus_property_append_string, "s", offsetof(ExecContext, utmp_id), true },
|
{ "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_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, }
|
{ NULL, }
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user