summaryrefslogtreecommitdiff
path: root/TODO
Commit message (Collapse)AuthorAge
* machined: fix bus path unescapingLennart Poettering2013-07-02
|
* libsystemd-logind: fix detection of session/user/machine of a PIDLennart Poettering2013-07-02
|
* logind: port over to use scopes+slices for all cgroup stuffLennart Poettering2013-07-02
| | | | | | | | | In order to prepare things for the single-writer cgroup scheme, let's make logind use systemd's own primitives for cgroup management. Every login user now gets his own private slice unit, in which his sessions live in a scope unit each. Also, add user@$UID.service to the same slice, and implicitly start it on first login.
* core: parse Slice= from the unit type specific unit file sectionLennart Poettering2013-07-01
| | | | | Since not all unit types know Slice= it belongs in the unit type specific unit file section.
* core: add new "scope" unit type for making a unit of pre-existing processesLennart Poettering2013-07-01
| | | | | | | | | | | | | | | | | "Scope" units are very much like service units, however with the difference that they are created from pre-existing processes, rather than processes that systemd itself forks off. This means they are generated programmatically via the bus API as transient units rather than from static configuration read from disk. Also, they do not provide execution-time parameters, as at the time systemd adds the processes to the scope unit they already exist and the parameters cannot be applied anymore. The primary benefit of this new unit type is to create arbitrary cgroups for worker-processes forked off an existing service. This commit also adds a a new mode to "systemd-run" to run the specified processes in a scope rather then a transient service.
* main: fix loading of default targetLennart Poettering2013-06-28
|
* core: add transient unitsLennart Poettering2013-06-28
| | | | | | | | | | | | | | | | | | Transient units can be created via the bus API. They are configured via the method call parameters rather than on-disk files. They are subject to normal GC. Transient units currently may only be created for services (however, we will extend this), and currently only ExecStart= and the cgroup parameters can be configured (also to be extended). Transient units require a unique name, that previously had no configuration file on disk. A tool systemd-run is added that makes use of this functionality to run arbitrary command lines as transient services: $ systemd-run /bin/ping www.heise.de Will cause systemd to create a new transient service and run ping in it.
* unit: make sure the dropins we write are high-priorityLennart Poettering2013-06-28
|
* dbus: make DeviceAllow=/DevicePolicy= writableLennart Poettering2013-06-27
|
* dbus: make more cgroup attributes runtime settableLennart Poettering2013-06-27
|
* dbus: add infrastructure for changing multiple properties at once on units ↵Lennart Poettering2013-06-27
| | | | | | | | | | | | | | | | and hook some cgroup attributes up to it This introduces two bus calls to make runtime changes to selected bus properties, optionally with persistence. This currently hooks this up only for three cgroup atributes, but this brings the infrastructure to add more changable attributes. This allows setting multiple attributes at once, and takes an array rather than a dictionary of properties, in order to implement simple resetting of lists using the same approach as when they are sourced from unit files. This means, that list properties are appended to by this call, unless they are first reset via assigning the empty list.
* core: general cgroup reworkLennart Poettering2013-06-27
| | | | | | | | | | | | | | | | Replace the very generic cgroup hookup with a much simpler one. With this change only the high-level cgroup settings remain, the ability to set arbitrary cgroup attributes is removed, so is support for adding units to arbitrary cgroup controllers or setting arbitrary paths for them (especially paths that are different for the various controllers). This also introduces a new -.slice root slice, that is the parent of system.slice and friends. This enables easy admin configuration of root-level cgrouo properties. This replaces DeviceDeny= by DevicePolicy=, and implicitly adds in /dev/null, /dev/zero and friends if DeviceAllow= is used (unless this is turned off by DevicePolicy=).
* update TODOLennart Poettering2013-06-21
|
* update TODOLennart Poettering2013-06-20
|
* sd-login: update machine enumeration/notifications APIs for new ↵Lennart Poettering2013-06-20
| | | | /run/systemd/machines/
* logind: add infrastructure to keep track of machines, and move to slicesLennart Poettering2013-06-20
| | | | | | | | | | | | | | | | | | | | - This changes all logind cgroup objects to use slice objects rather than fixed croup locations. - logind can now collect minimal information about running VMs/containers. As fixed cgroup locations can no longer be used we need an entity that keeps track of machine cgroups in whatever slice they might be located. Since logind already keeps track of users, sessions and seats this is a trivial addition. - nspawn will now register with logind and pass various bits of metadata along. A new option "--slice=" has been added to place the container in a specific slice. - loginctl gained commands to list, introspect and terminate machines. - user.slice and machine.slice will now be pulled in by logind.service, since only logind.service requires this slice.
* update TODOLennart Poettering2013-06-18
|
* journalctl: properly print headers of empty journalsZbigniew Jędrzejewski-Szmek2013-06-18
|
* core: add new .slice unit type for partitioning systemsLennart Poettering2013-06-17
| | | | | | | | | | | | In order to prepare for the kernel cgroup rework, let's introduce a new unit type to systemd, the "slice". Slices can be arranged in a tree and are useful to partition resources freely and hierarchally by the user. Each service unit can now be assigned to one of these slices, and later on login users and machines may too. Slices translate pretty directly to the cgroup hierarchy, and the various objects can be assigned to any of the slices in the tree.
* update TODOLennart Poettering2013-06-11
|
* journal: remember last direction of search and keep offset cacheZbigniew Jędrzejewski-Szmek2013-06-10
| | | | | The fields in JournalFile are moved around to avoid wasting 7 bytes because of alignment.
* tests: add test for empty journal filesZbigniew Jędrzejewski-Szmek2013-06-10
| | | | The headers are currently not printed properly: some "(null)"s appear.
* update TODOLennart Poettering2013-06-06
|
* systemctl: limit logs in status to current bootZbigniew Jędrzejewski-Szmek2013-06-04
| | | | | | | Also reworded a few debug messages for brevity, and added a log statement which prints out the filter at debug level: Journal filter: (((UNIT=sys-module-configfs.device AND _PID=1) OR (COREDUMP_UNIT=sys-module-configfs.device AND MESSAGE_ID=fc2e22bc6ee647b6b90729ab34a250b1) OR _SYSTEMD_UNIT=sys-module-configfs.device) AND _BOOT_ID=4e3c518ab0474c12ac8de7896fe6b154)
* systemctl: add command set-log-levelVáclav Pavlín2013-05-30
| | | | Command changes current log level
* core: read "debug" from kernel commandline and set log levelLukas Nykryn2013-05-30
|
* bus: add a more comprehensive test for the bloom filter logicLennart Poettering2013-05-20
|
* bus: calculate bloom filter for matchLennart Poettering2013-05-20
| | | | Yay! Filtering using kernel bloom filter matches works now! Yippieh!
* bus: add APIs for negotiating what is attached to messagesLennart Poettering2013-05-17
|
* bus: add minimal locking around the memfd cacheLennart Poettering2013-05-17
| | | | | | | We want to allow clients to process an sd_bus_message on a different thread than it was received on. Since unreffing a bus message might readd some of its memfds to the memfd cache add some minimal locking around the cache.
* bus: return ECHILD as soon as people try to reuse a bus connection across a ↵Lennart Poettering2013-05-17
| | | | fork()
* systemd-delta: add support for drop-in snippetsLukas Nykryn2013-05-16
|
* bus: make bus ref counting atomicLennart Poettering2013-05-16
| | | | | This is preparation to allow sd_bus_message obejcts to be processed in a different thread from their originating sd_bus object.
* bus: synthesize timeout message errors instead of returning error codesLennart Poettering2013-05-16
|
* update TODOLennart Poettering2013-05-15
|
* journalctl: add -k/--dmesgZbigniew Jędrzejewski-Szmek2013-05-14
|
* update TODOLennart Poettering2013-05-14
|
* TODO: add "debug" kernel cmdline switchKay Sievers2013-05-13
|
* Add support for ConditionSecurity=imaAuke Kok2013-05-11
| | | | | | | | | | Just as with SMACK, we don't really know if a policy has been loaded or not, as the policy interface is write-only. Assume therefore that if ima is present in securityfs that it is enabled. Update the man page to reflect that "ima" is a valid option now as well.
* bus: extend memfd testLennart Poettering2013-05-10
|
* update TODOLennart Poettering2013-05-07
|
* update TODOLennart Poettering2013-05-07
|
* systemd-sleep: add support for freeze and standbyZbigniew Jędrzejewski-Szmek2013-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | A new config file /etc/systemd/sleep.conf is added. It is parsed by systemd-sleep and logind. The strings written to /sys/power/disk and /sys/power/state can be configured. This allows people to use different modes of suspend on systems with broken or special hardware. Configuration is shared between systemd-sleep and logind to enable logind to answer the question "can the system be put to sleep" as correctly as possible without actually invoking the action. If the user configured systemd-sleep to only use 'freeze', but current kernel does not support it, logind will properly report that the system cannot be put to sleep. https://bugs.freedesktop.org/show_bug.cgi?id=57793 https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=7e73c5ae6e7991a6c01f6d096ff8afaef4458c36 http://lists.freedesktop.org/archives/systemd-devel/2013-February/009238.html SYSTEM_CONFIG_FILE and USER_CONFIG_FILE defines were removed since they were used in only a few places and with the addition of /etc/systemd/sleep.conf it becomes easier to just append the name of each file to the dir name.
* update TODOLennart Poettering2013-05-06
|
* TODO: updateKay Sievers2013-05-06
|
* Spelling fixesVille Skyttä2013-05-03
|
* update TODOLennart Poettering2013-05-03
|
* update TODOLennart Poettering2013-05-03
|
* man: link to socket activation blog entriesZbigniew Jędrzejewski-Szmek2013-05-02
|
* Add help option to bootchart man pageNathaniel Chen2013-05-02
| | | | | | | | Bootchart has a help option. For the sake of consistency, this patch adds it to the man page. Also, the TODO is updated. Bootcharts were added to the journal in commit c4d58b0.