Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-16 | unit: reduce heap usage for unit objects | Michal Schmidt | |
The storage of the unit objects on the heap is currently not very efficient. For every unit object we allocate a chunk of memory as large as the biggest unit type, although there are significant differences in the units' real requirements. pahole shows the following sizes of structs: 488 Target 496 Snapshot 512 Device 528 Path 560 Timer 576 Automount 1080 Socket 1160 Swap 1168 Service 1280 Mount Usually there aren't many targets or snapshots in the system, but Device is one of the most common unit types and for every one we waste 1280 - 512 = 768 bytes. Fix it by allocating only the right amount for the given unit type. On my machine (x86_64, with 39 LVM volumes) this decreases systemd's USS (unique set size) by more than 300 KB. | |||
2012-01-12 | core: switch all log targets to go directly to the journal, instead via syslog | Lennart Poettering | |
2012-01-11 | unit: implement new PropagateReloadTo=/PropagateReloadFrom= operations | Lennart Poettering | |
2012-01-06 | unit: properly update references to units which are merged | Lennart Poettering | |
When we merge units that some kind of object points to, those pointers might become invalidated, and needs to be updated. Introduce a UnitRef struct which links up all the unit references, to ensure corrected references. At the same time, drop configured_sockets in the Service object, and replace it by proper UNIT_TRIGGERS resp. UNIT_TRIGGERED_BY dependencies, which allow us to simplify a lot of code. | |||
2012-01-06 | journal: introduce log target 'journal' for executed processes | Lennart Poettering | |
2012-01-05 | execute: talk directly to the journald, instead to the stdout-syslog-bridge | Lennart Poettering | |
2012-01-05 | util: never ellipsize welcome message | Lennart Poettering | |
2012-01-05 | util: when printing status updates during boot, take terminal width into account | Lennart Poettering | |
2011-12-09 | unit: check for unneeded dependencies even when unit stop was expected | Michal Schmidt | |
systemd did not stop units marked as "StopWhenUnneeded=yes" when the requiring unit was stopped on user's request. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=704197 | |||
2011-12-09 | unit: fix false positive in check for unneeded unit | Michal Schmidt | |
A freshly started unit A was immediately considered unneeded just because unit B, which Requires A, was starting later in the transaction. Fix it by looking not only at the state of B, but also at its pending job. Also fix a copied&pasted comment. | |||
2011-12-06 | unit: garbage collect units with load error | Michal Schmidt | |
Units that failed to load were never cleaned up. It was possible to reach the 128K limit of units by attempting to load a bunch of nonsense. Bug observed by Reartes Guillermo in https://bugzilla.redhat.com/show_bug.cgi?id=680122 | |||
2011-11-14 | Fix same expression on both sides of '&&' | Thomas Jarosch | |
The code should probably look like the statements above it. Please verify, I just detected it using cppcheck. Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com> | |||
2011-11-11 | job: colored status messages on boot | Michal Schmidt | |
The lack or green/red status marks on boot has been described by some users as "critical", "dramatic", "dealbreaker", "showstopper". Seriously. | |||
2011-09-23 | unit: fix complementing of requirement deps with After deps for targets | Michal Schmidt | |
'man systemd.target' says: Unless DefaultDependencies= is set to false, target units will implicitly complement all configured dependencies of type Wants=, Requires=, RequiresOverridable= with dependencies of type After= if the units in question also have DefaultDependencies=true. It did not work because of a forgotten negation. | |||
2011-09-22 | unit: don't recheck conditions when a unit is already starting but ↵ | Lennart Poettering | |
unit_start() is invoked | |||
2011-09-01 | fsck: show progress while fscking at boot | Lennart Poettering | |
2011-08-30 | stdout-bridge: rename logger to stdout-syslog-bridge to make it more descriptive | Lennart Poettering | |
2011-08-21 | cgroup: expose cgroup attributes as unit properties on the bus | Lennart Poettering | |
2011-08-20 | exec: optionally apply cgroup attributes to the cgroups we create | Lennart Poettering | |
2011-08-01 | util: more join() optimizations | Lennart Poettering | |
2011-07-31 | dbus: export unit file state | Lennart Poettering | |
2011-07-06 | manager: merge serialization and desrialization counter into one, and ↵ | Lennart Poettering | |
increase it when reexecuting Instead of having individual counters n_serializing and n_deserializing have a single one n_reloading, which should be sufficient. Set n_reloading when we are about to go down for reexecution to avoid cgroup trimming when we free the units for reexecution. | |||
2011-07-01 | unit: add three new specifiers to use in unit files | Lennart Poettering | |
2011-06-30 | unit: consider all cgroups in the name=systemd hierarchy, even when the user ↵ | Lennart Poettering | |
has specified an explicit path in it | |||
2011-06-21 | service: check whether sysv scripts where changed | Lennart Poettering | |
2011-06-21 | english: s/_per_/_by_/ | Lennart Poettering | |
2011-05-05 | unit: make ignoring in snapshots a per unit property, instead of a per unit ↵ | Lennart Poettering | |
type property | |||
2011-04-28 | unit: fix assert when trying to load unit instances for uninstanciable types | Lennart Poettering | |
http://lists.freedesktop.org/archives/systemd-devel/2011-April/001910.html | |||
2011-04-20 | cgroup: don't accidentaly trim on reload | Lennart Poettering | |
https://bugzilla.redhat.com/show_bug.cgi?id=678555 | |||
2011-04-16 | manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger ↵ | Lennart Poettering | |
around when isolating | |||
2011-04-13 | unit: skip default cgroup setup if we have no hierarchy to work on | Lennart Poettering | |
2011-04-10 | unit: fix dump output | Lennart Poettering | |
2011-04-07 | don't make up buffer sizes, use standard LINE_MAX instead | Lennart Poettering | |
2011-04-07 | unit: disallow configuration of more than one on_failure dependencies if ↵ | Lennart Poettering | |
OnFailureIsolate= is on | |||
2011-04-07 | unit: pull in logger unit only when running in system mode | Lennart Poettering | |
2011-04-07 | unit: introduce OnFailureIsolate= | Lennart Poettering | |
2011-04-06 | job: fix deserialization of jobs: do not ignore ordering | Lennart Poettering | |
2011-03-31 | src: our lord is coverity | Lennart Poettering | |
2011-03-30 | unit: when deserializing do reconnect to dbus/syslog when they show up | Lennart Poettering | |
2011-03-30 | unit: don't override timestamps due to state changes when deserializing | Lennart Poettering | |
2011-03-30 | status: show status messages unconditionally if plymouth is around | Lennart Poettering | |
2011-03-29 | unit: fix parsing of condition-result | Lennart Poettering | |
2011-03-29 | unit: don't complain about failed units when deserializing | Lennart Poettering | |
2011-03-29 | unit: when deserializing jobs, don't pull in dependencies | Lennart Poettering | |
2011-03-18 | syslog: rework syslog detection so that we need no compile-time option what ↵ | Lennart Poettering | |
the name of the syslog implementation is | |||
2011-03-17 | unit: serialize condition test results | Lennart Poettering | |
2011-03-09 | condition: take a timestamp and store last result of conditions | Lennart Poettering | |
2011-03-08 | unit: don't accidently create ordering links to targets when default deps ↵ | Lennart Poettering | |
are off for either target and unit | |||
2011-02-28 | Spelling Corrections | Harald Hoyer | |
Just some lame spelling corrections with no functionality. | |||
2011-02-24 | job: also trigger on-failure dependencies when jobs faile due to ↵ | Lennart Poettering | |
dependencies, timeout |