summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-12-21journal: properly handle first inline bisect array entryLennart Poettering
2011-12-21journal: add missing compress.[ch]Lennart Poettering
2011-12-21journalctl: add command line parsingLennart Poettering
2011-12-21journalctl: add json, export, short and verbose output modesLennart Poettering
2011-12-21journal: add inline compression support with XZLennart Poettering
2011-12-20journal: fix space reservation limit enforcementLennart Poettering
2011-12-20journal: fix matchesLennart Poettering
2011-12-19journal: implement inotify-based live logging logicLennart Poettering
2011-12-19hashmap: add hashmap_first_key()Lennart Poettering
2011-12-17journald: filter fields send from client starting with underscoreLennart Poettering
2011-12-17journal: introduce mandatory sd_journal_printf() priority parameterLennart Poettering
2011-12-17journal: enforce limits on open journal filesLennart Poettering
2011-12-17journal: add native protocol to journald, and client side API to send ↵Lennart Poettering
journal messages
2011-11-08Merge branch 'master' into journalLennart Poettering
2011-11-08journal: implement multiple field matchesLennart Poettering
2011-11-08macro: fix ALIGN_TO macro definitionLennart Poettering
2011-11-03cgroup: immediately remove all cgroups which run emptyLennart Poettering
Some controllers have scaling problems when many empty cgroups exist. Hence, as soon as we get a notification that a cgroup is empty, delete it. This is also nice to keep the systemd-cgls output short.
2011-11-02Merge remote-tracking branch 'zbigniew/systemadm_changes'Lennart Poettering
2011-11-02bash-completion: rename file since it is no longer for systemctl onlyRan Benita
2011-11-02bash-completion: add completions for systemd-loginctlRan Benita
This script is straightforward and should give proper completions for all of systemd-loginctl's verbs.
2011-11-02bash-completion: update with new verbs and argumentsRan Benita
Adds arguments --root= --runtime --no-legend. Adds verbs link mask unmask reenable list-unit-files. Also uses list-unit-files to make nicer enable and disable completions. Rebased due to changes in systemctl.
2011-11-02Add Mageia supportDexter Morgan
This patch adds support for the Mageia Linux distribution: http://www.mageia.org/ Mageia is a fork of Mandriva although some divergence has already occured and thus inclusion of these changes upstream allow us to (hopefully) migrate more rapidly to the new standard approaches systemd offers. Indeed, we already use the preferred mechanism of OS identification via the /etc/os-release file rather than a distro specific variation. This patch mostly mirrors the patch added previously for Mandriva support. In addition to those original authors, this patch was mostly written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-01cryptsetup-generator: avoid ordering cycle on swapTom Gundersen
Devices with random keys (swap), should not be ordered before local-fs.target, as this creates a cycle with systemd-load-random-seed.service (and also it does not make sense, a swap device is not a local-fs).
2011-11-01mount: order remote mounts after both network.target and remote-fs-pre.targetLennart Poettering
Since remote-fs-pre.target is optional we cannot count on it to order remote mounts after network.target, so let's add that order explicitly in addition to remote-fs-pre.target. https://bugzilla.redhat.com/show_bug.cgi?id=749940
2011-11-01cgroup: always recreate cgroup before we try to apply attributesLennart Poettering
We might have trimmed the cgroup tree previously, hence don't trust our own "realized" flag, always recreate cgroup tree before applying our attributes to make sure this actually works out. https://bugzilla.redhat.com/show_bug.cgi?id=749687
2011-11-01initctl: don't use dbus connection after PID 1 got respawnedLennart Poettering
After reexec PID 1 our bus connection is invalidated. Hence don't try to reuse it, just terminate so that when we are spawned the next time we just get a new one. Spotted by Marti Raudsepp.
2011-11-01condition: Fix file descriptor leak in test_capability()Thomas Jarosch
Detected by cppcheck.
2011-11-01random-seed: convert poolsize from bits to bytesTom Gundersen
The problem was first noted in a bug report against Arch's initscripts. Reported-by: Taylan Ulrich Bayırlı <taylanbayirli@gmail.com> Reported-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-11-01plymouth: fix ply proto endianess issuesLennart Poettering
Plymouth enforces LE even for the local Ply proto, hence we should do the conversion properly for BE arch compat. Tracked down by Harald Hoyer. https://bugzilla.redhat.com/show_bug.cgi?id=744415
2011-10-24systemctl: make list-unit-files output more economicalZbigniew Jędrzejewski-Szmek
The first column is given the width of the widest entry, if possible, otherwise all entries are ellipsized to fit in ($COLUMNS - (width of second column)). [ Added a few fixes, calculate state_cols too, respect '--no-legend', better handling of '--full' -- michich ]
2011-10-19systemctl-completion: always invoke with --no-legendDave Reisner
In the case of completion for the 'restart' verb, passing the invalid unit name (the colums header) causes completion to cease functioning entirely, with the error: Failed to issue method call: Unit name UNIT is not valid. This adds a small wrapper function for systemctl which can have common options added to it.
2011-10-17audit: do not complain if kernel lacks auditJonathan Nieder
When running on a kernel without audit support, systemd currently writes a mysterious-sounding error to its log: systemd[1]: Failed to connect to audit log: Protocol not supported Better to suppress the audit_open() failure message when (and only when) it is due to running on a kernel without audit support, since in this case the admin probably does not mind systemd not writing to the audit log. This way, more serious errors like ENOMEM and EACCES will stand out more.
2011-10-17service: Drop rcN.d runlevels from SysV services that also exist in rcS.dTollef Fog Heen
Services which claim to start in both rcN.d and rcS.d generate loops which for some reason seems to usually end up with dbus not starting and the whole machine being quite unhappy. We now rather assume that if a service can be started in rcS, it should not also start in rcN.d. Fixes Debian bug #637037
2011-10-17manager: fix a crash in isolatingMichal Schmidt
HASHMAP_FOREACH is safe against the removal of the current entry, but not against the removal of other entries. job_finish_and_invalidate() can recursively remove other entries. It triggered an assertion failure: Assertion 'j->installed' failed at src/manager.c:1218, function transaction_apply(). Aborting. Fix the crash by iterating from the beginning when there is a possibility that the iterator could be invalid. It is O(n^2) in the worst case, but that's better than a crash. https://bugzilla.redhat.com/show_bug.cgi?id=717325
2011-10-15journal: automaticall reset location when the set of matches changesLennart Poettering
2011-10-15journal: implement seek to head/tailLennart Poettering
2011-10-15journal: unify code for up and for down traversalLennart Poettering
2011-10-15journal: properly implement matching with multiple matchesLennart Poettering
2011-10-14journal: if two entries match with everything but seqnums, they are still ↵Lennart Poettering
identical
2011-10-14journal: move field index from file into journal objectLennart Poettering
2011-10-14journal: when the same entry is in two files, skip over them in syncLennart Poettering
2011-10-14journal: synchronize seqnum across filesLennart Poettering
2011-10-14journal: fix field retrieval by nameLennart Poettering
2011-10-14journal: implement parallel file traversalLennart Poettering
2011-10-13journal: implementation rotationLennart Poettering
2011-10-12journalctl: find journal files in right pathLennart Poettering
2011-10-12journal: add cgroup path to entriesLennart Poettering
2011-10-12journal: place machin journals in machine specific subdirectoriesLennart Poettering
2011-10-12util: fix buildLennart Poettering
2011-10-12journal: only fallocate() what we really need to avoid slowness on file ↵Lennart Poettering
systems which do not support fallocate natively