[systemd-commits] 3 commits - TODO src/core
Lennart Poettering
lennart at kemper.freedesktop.org
Thu Sep 26 18:02:27 PDT 2013
TODO | 22 +---------------------
src/core/dbus-execute.h | 2 +-
src/core/dbus-swap.c | 1 +
3 files changed, 3 insertions(+), 22 deletions(-)
New commits:
commit 278d4bcfe981d058380cf388e5ac09d761438820
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Sep 27 02:59:50 2013 +0200
Update TODO
diff --git a/TODO b/TODO
index 4745321..25b7587 100644
--- a/TODO
+++ b/TODO
@@ -48,11 +48,9 @@ CGroup Rework Completion:
* handle jointly mounted controllers correctly
-* make BlockIODeviceWeight=, BlockIODeviceBandwidth= runtime settable
-
* introduce high-level settings for RT budget, swappiness
-* wiki: document new bus APIs of PID 1 (transient units, Reloading signal)
+* wiki: guidelines how to make use of new cgroup apis
Features:
@@ -63,15 +61,8 @@ Features:
* When using "systemd status" on a slice unit also show all messages
matching _SYSTEMD_SLICE= not just _SYSTEMD_UNIT=
-* always set memory.user_hierarchy for all cgroups we create
-
* After coming back from hibernation reset hibernation swap partition
-* mounts: do not test each mount unit against each other mount unit to
- determine prefixes. Instead generated list of all prefixes and
- interate through that to bring down complexity from O(n^2) to O(n)
- when loading units
-
* If we try to find a unit via a dangling symlink generate a clean
error. Currently we just ignore it and read the unit from the search
path anyway.
@@ -231,8 +222,6 @@ Features:
* logind: add Suspend() bus calls which take timestamps to fix double suspend issues when somebody hits suspend and closes laptop quickly.
-* we need dynamic units
-
* cgtop: make cgtop useful in a container
* test/:
@@ -348,7 +337,6 @@ Features:
- logind: wakelock/opportunistic suspend support
- Add pretty name for seats in logind
- logind: allow showing logout dialog from system?
- - logind: spawn user at ..service on login
- logind: non-local X11 server handling
- logind: add equivalent to sd_pid_get_owner_uid() to the D-Bus API
- pam: when leaving a session explicitly exclude the ReleaseSession() caller process from the killing spree
@@ -357,8 +345,6 @@ Features:
* exec: when deinitializating a tty device fix the perms and group, too, not only when initializing. Set access mode/gid to 0620/tty.
-* DeviceAllow/DeviceDeny: disallow everything by default, but whitelist /dev/zero, /dev/null and friends
-
* service: watchdog logic: for testing purposes allow ping, but do not require pong
* journal:
@@ -533,8 +519,6 @@ Features:
* Query Paul Moore about relabelling socket fds while they are open
-* system.conf should have controls for cgroups
-
* allow writing multiple conditions in unit files on one line
* explore multiple service instances per listening socket idea
@@ -625,10 +609,6 @@ Features:
* support crash reporting operation modes (https://live.gnome.org/GnomeOS/Design/Whiteboards/ProblemReporting)
-* clean up session cgroups that remain after logout (think sshd), but eventually run empty
-
-* when an instanced service exits, remove its parent cgroup too if possible.
-
* default to actual 32bit PIDs, via /proc/sys/kernel/pid_max
* be able to specify a forced restart of service A where service B depends on, in case B
commit d43de69002fdfbee351f655065e4fc2914b9fcd3
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Sep 27 02:02:21 2013 +0200
swap: properly expose timeout property on the bus
diff --git a/src/core/dbus-swap.c b/src/core/dbus-swap.c
index 86fcf16..06edfdc 100644
--- a/src/core/dbus-swap.c
+++ b/src/core/dbus-swap.c
@@ -95,6 +95,7 @@ static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_swap_append_swap_result, swap_result,
static const BusProperty bus_swap_properties[] = {
{ "What", bus_property_append_string, "s", offsetof(Swap, what), true },
{ "Priority", bus_swap_append_priority, "i", 0 },
+ { "TimeoutUSec",bus_property_append_usec, "t", offsetof(Swap, timeout_usec)},
BUS_EXEC_COMMAND_PROPERTY("ExecActivate", offsetof(Swap, exec_command[SWAP_EXEC_ACTIVATE]), false),
BUS_EXEC_COMMAND_PROPERTY("ExecDeactivate", offsetof(Swap, exec_command[SWAP_EXEC_DEACTIVATE]), false),
{ "ControlPID", bus_property_append_pid, "u", offsetof(Swap, control_pid) },
commit a38d1d28d1b506b4dd36f952cad7013b0f627798
Author: Lennart Poettering <lennart at poettering.net>
Date: Fri Sep 27 00:35:36 2013 +0200
dbus: fix introspection for TimerSlackNSec
diff --git a/src/core/dbus-execute.h b/src/core/dbus-execute.h
index 5a6a559..79bf308 100644
--- a/src/core/dbus-execute.h
+++ b/src/core/dbus-execute.h
@@ -63,7 +63,7 @@
" <property name=\"CPUSchedulingPolicy\" type=\"i\" access=\"read\"/>\n" \
" <property name=\"CPUSchedulingPriority\" type=\"i\" access=\"read\"/>\n" \
" <property name=\"CPUAffinity\" type=\"ay\" access=\"read\"/>\n" \
- " <property name=\"TimerSlackNS\" type=\"t\" access=\"read\"/>\n" \
+ " <property name=\"TimerSlackNSec\" type=\"t\" access=\"read\"/>\n" \
" <property name=\"CPUSchedulingResetOnFork\" type=\"b\" access=\"read\"/>\n" \
" <property name=\"NonBlocking\" type=\"b\" access=\"read\"/>\n" \
" <property name=\"StandardInput\" type=\"s\" access=\"read\"/>\n" \
More information about the systemd-commits
mailing list