summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2011-10-12Merge branch 'master' into journalLennart Poettering
2011-10-11util: properly detect what the last capability isLennart Poettering
2011-10-11service: don't try to guess PID for SysV services anymoreLennart Poettering
As it turns out there are quite a number of SysV services too broken to make the guessing work: instead of returning in the parent only after the child is fully initialized they return immediately. The effect is that the guessing in systemd might happen too early, at a time where the final main process doesn't exist yet. By turning this off we won't try to detect the main pid anymore, with the effect that all processes of the service in question are considered equally likely to be the main process.
2011-10-11localed: make sure s-s-k doesn't create any X11 config files anymoreLennart Poettering
2011-10-11localed: shorten generate-kbd-model-mapZbigniew Jędrzejewski-Szmek
Output is identical.
2011-10-11pager: add _noreturn_ to pager_fallback()Zbigniew Jędrzejewski-Szmek
src/pager.c: In function ‘pager_fallback’: src/pager.c:35:13: warning: function might be possible candidate for attribute ‘noreturn’ [-Wmissing-noreturn]
2011-10-11unit: introduce ConditionCapabilityLennart Poettering
2011-10-11logind: fail gracefully if too many sessions are createdLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=744726
2011-10-11timedate: fall back to /etc/sysconfig/clock on Fedora, for compatibility ↵Lennart Poettering
with legacy
2011-10-11units: introduce local-fs-pre.target and remote-fs-pre.targetLennart Poettering
This hook target enables services to order themselves between network.target and remote mounts, which is needed for GFS2 and similar systems.
2011-10-11sd-login.h: correct spelling mistakes in commentsDave Reisner
2011-10-11hostname-setup: Frugalware switched to /etc/hostnameMiklos Vajna
2011-10-11readahead: lower max file size for readaheadPaolo Bonzini
https://bugs.freedesktop.org/show_bug.cgi?id=41336
2011-10-10util: fix close() call on wrong variableThomas Jarosch
Detected by "cppcheck" (actually it detected a file descriptor leak)
2011-10-10tmpfiles: fix file descriptor leakThomas Jarosch
Detected by "cppcheck"
2011-10-09test_virtualization: do not try to compare id in !virt contextKay Sievers
2011-10-08journal: implement parallel traversal in clientLennart Poettering
2011-10-07journal: split user logs into their own journal filesLennart Poettering
2011-10-07journal: replace linked list by hashmap when merging filesLennart Poettering
2011-10-07journal: store XOR combination of entry data object hashes to identify hash ↵Lennart Poettering
lines
2011-10-07journal: add preliminary incomplete implementationLennart Poettering
2011-10-07hashmap: use different version of DJB's hash algorithm that uses shifting ↵Lennart Poettering
instead of multiplication
2011-10-04logind: properly generate session creation response on dbusLennart Poettering
This fixes the various reported issues with dbus message parsing when running su.
2011-09-29systemctl: fix corrupted output of unitsMichal Schmidt
On some systems the list of units in systemctl output came out wrong, all on one line and with missing descriptions. It turns out printf() really attempts to mmap 2G memory when INT_MAX is passed as the field width. On machines with small virtual memory without overcommit the mmap inside printf() failed. Do not use INT_MAX for unlimited width.
2011-09-29localed: handle multiple X11 kbd layoutsLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=41341
2011-09-29systemctl: fix error message when no connection to systemd is availableLennart Poettering
2011-09-29systemctl: fix detection whether the dbus connection is availableLennart Poettering
2011-09-28vconsole: don't parse Fedora's KEYMAP= kernel parameters anymoreLennart Poettering
KEYMAP are use to pass keymap configuration to initrd, but not to the system itself. Since the initrd might get out of date we need to make sure that changes made in userspace override the settings from the cmdline, hence drpo any use of it all for these variables.
2011-09-28localed: add SetX11Keyboard() and SetVConsoleKeyboard() bus callsLennart Poettering
2011-09-27analyze: always draw top kernel, initramfs, userspace barsKay Sievers
Based on Koen Kooi's patch. Renamed initrd to initramfs.
2011-09-27systemctl: better width and alignment of fieldsMichal Schmidt
Provide nicer output by taking advantage of the available columns. Expand UNIT and DESCRIPTION if possible. Economize the space: - never give UNIT more width than it can use. - if there's a shortage of space, give 25 columns to UNIT, even if it would result in overflowing the total columns. The field would not be useful below width 25. - then if possible, assign up to 25 columns to DESCRIPTION. - then split any remaining space evenly between UNIT and DESCRIPTION. Keep the columns aligned even with '--full'.
2011-09-27systemctl: print the legend regardless of stdout type, add --no-legendMichal Schmidt
Print the legend (the column headers and the footer with hints) by default even to non-tty output. People seem to get confused by the difference when they redirect the output. Add a parameter to suppress the printing of the legend. Related-to: https://bugzilla.redhat.com/show_bug.cgi?id=713567
2011-09-27pager: add a trivial internal pagerMichal Schmidt
In the very unlikely scenario where none of the external pagers is available, use an internal implementation to pass stdin to stdout. Don't bother with trying 'cat', because it's no more useful than the internal pager. https://bugzilla.redhat.com/show_bug.cgi?id=713707
2011-09-23service: fix up std output/error before we add dependencies to the bridge socketLennart Poettering
2011-09-23virt: add missing header inclusionLennart Poettering
2011-09-23condition: optionally test against type of virtualization (vm vs. container)Lennart Poettering
2011-09-23util: move virtualization detection into its own files, and extend return codesLennart Poettering
2011-09-23analyze: report startup time in plot mode as wellKoen Kooi
It now prints something like "Startup finished in 1507ms (kernel) + 850ms (userspace) = 2357ms" below the legend.
2011-09-23analyze: always draw 1s marker for scaleKoen Kooi
In situations like this: root@omap4430-panda:~# systemd-analyze Startup finished in 1499ms (kernel) + 916ms (userspace) = 2416ms The svg plot will only have the 0s marker and no subsequent markers for scale. This patch forces the 1s marker to always be drawn.
2011-09-23unit: fix complementing of requirement deps with After deps for targetsMichal 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-23util: don't fail if no id was passed to detect_container()Lennart Poettering
2011-09-23util: detect systemd-nspawn without relying on ns cgroup treeLennart Poettering
2011-09-23nspawn: set env var container=systemd-nspawn, following the scheme lxc ↵Lennart Poettering
introduced
2011-09-23loginctl: fix typoLennart Poettering