Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-16 | unit: remove union Unit | Michal Schmidt | |
Now that objects of all unit types are allocated the exact amount of memory they need, the Unit union has lost its purpose. Remove it. "Unit" is a more natural name for the base unit class than "Meta", so rename Meta to Unit. Access to members of the base class gets simplified. | |||
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-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. | |||
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-08-20 | exec: optionally apply cgroup attributes to the cgroups we create | Lennart Poettering | |
2011-08-01 | load-fragment: speed up parsing by using a perfect hash table with ↵ | Lennart Poettering | |
configuration settings built by gperf | |||
2011-07-31 | dbus: export unit file state | Lennart Poettering | |
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-16 | manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger ↵ | Lennart Poettering | |
around when isolating | |||
2011-04-07 | unit: introduce OnFailureIsolate= | Lennart Poettering | |
2011-03-17 | def: centralize definition of default timeout in one place | Lennart Poettering | |
2011-03-09 | condition: take a timestamp and store last result of conditions | Lennart Poettering | |
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 | |||
2011-02-24 | unit: increase default timeout to 3min | Lennart Poettering | |
2011-01-20 | service: when reloading a service fails don't fail the entire service but ↵ | Lennart Poettering | |
just the reload job | |||
2010-11-17 | cgroup: by default, duplicate service cgroup in the cpu hierarchy | Lennart Poettering | |
2010-11-15 | units: get rid of no_requires unit flag, and make crypto disks require ↵ | Lennart Poettering | |
cryptsetup service | |||
2010-11-14 | manager: always pull 'following' units into transaction | Lennart Poettering | |
2010-10-29 | unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵ | Lennart Poettering | |
weaker counterpart of Conflicts=, similar to Wants= vs. Requires= | |||
2010-10-29 | unit: replace StopRetroactively= by BindTo= dependencies | Lennart Poettering | |
The property StopRetroactively= needs to be per-dependency, not per-unit, in order to properly express dependencies between .mount units and its .device and fsck .service units. If the .device unit is unplugged the mount should go away, but if the fsck process terminates the .mount should stay. | |||
2010-10-28 | unit: replace recursive_stop by stop_retroactively to simplify things a little | Lennart Poettering | |
2010-10-22 | systemctl: introduce systemctl kill | Lennart Poettering | |
2010-10-13 | unit: add minimal condition checker for unit startup | Lennart Poettering | |
2010-10-08 | unit: rename 'banned' load state to 'masked' | Lennart Poettering | |
2010-10-08 | systemctl: fix 'systemctl enable getty@.service' | Lennart Poettering | |
2010-10-08 | unit: introduce 'banned' load state for units symlinked to /dev/null | Lennart Poettering | |
2010-10-06 | systemctl: require correctly formed unit names when enabling units | Lennart Poettering | |
2010-10-05 | socket: make sockets to pass to a service configurable | Lennart Poettering | |
2010-09-14 | target: add implicit target/unit ordering deps only if both sides have been ↵ | Lennart Poettering | |
fully loaded | |||
2010-09-06 | man: Fix small typo: s/seperate/separate/ | Michael Biebl | |
2010-09-01 | unit: unify some code | Lennart Poettering | |
2010-08-31 | manager: add missing second part of s/maintenance/failed/ | Matthew Miller | |
2010-08-30 | unit: introduce AllowIsolate= switch | Lennart Poettering | |
2010-08-20 | dbus: follow standardized fdo PropertiesChanged signal spec | Lennart Poettering | |
2010-08-17 | emacs: disable tabs in .h files, too | Lennart Poettering | |
2010-08-12 | unit: don't show ENOENT configuration file warnings for units that are not ↵ | Lennart Poettering | |
essential | |||
2010-08-11 | gc: remove a lot of unused code | Lennart Poettering | |
2010-08-11 | pahole: rearrange structs to make them smaller | Lennart Poettering | |
2010-08-11 | utmp: enable systemd-update-utmp by default | Lennart Poettering | |
2010-08-11 | socket: disable GC for pre-allocated per-connection service until it is used | Lennart Poettering | |
2010-08-11 | unit: rename OnlyByDependency= to RefuseManualStart= and introduce ↵ | Lennart Poettering | |
RefuseManualStop= Some unit shall never be start on user request (e.g. shutdown.target) others never be stopped on user request (e.g. auditd.servce), hence offer options for both. | |||
2010-08-09 | manager: when two pending jobs conflict, keep the one that "conflicts", ↵ | Lennart Poettering | |
remove the one that is "conflicted" This gives the writer of units control which unit is kept and which is stopped when two units conflict. | |||
2010-07-21 | unit: deduce following unit value dynamically instead of statically, to ↵ | Lennart Poettering | |
avoid dangling pointers | |||
2010-07-20 | device: do not merge devices | Lennart Poettering | |
Don't try to merge devices that have been created via dependencies when they appear in the system and can be recognized as the same. Instead, simply continue to maintain them independently of each other, however with the same state cycle. Why? Because otherwise we'd have a hard time to seperate the dependencies after the devices are unplugged again and we hence cannot be sure anymore that next time the device is plugged in it will carry the same names. Example: if one depndency refers to dev-sda.device and another one to dev-by-id-xxxyyy.device we only learn at time of plug in of the device that it is actually the same device that was ment. In the moment the device is unplugged again we won't know anymore their relation to each other and the next time the harddisk is plugged it might even appear as dev-by-id-xxxyyy.device and dev-sdb.service. To ensure the dependencies continue to have the meaning they were intended to have let's hence keep the .device objects seperate all the time, even when they are plugged in. This patch also introduces a new Following= property which points from the various .device units of a specific device to the main .device unit for it. This can be used by the client side to figure out the relation of the .device units to each other and even filter units from display. | |||
2010-07-19 | systemctl: introduce reset-maintenance command | Lennart Poettering | |
2010-07-17 | job: timeout every job independently of the unit | Lennart Poettering | |