summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* build-sys: bump release for v37v37Lennart Poettering2011-10-112-2/+2
|
* service: don't try to guess PID for SysV services anymoreLennart Poettering2011-10-111-0/+1
| | | | | | | | | | | | 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.
* localed: make sure s-s-k doesn't create any X11 config files anymoreLennart Poettering2011-10-111-0/+8
|
* localed: shorten generate-kbd-model-mapZbigniew Jędrzejewski-Szmek2011-10-111-29/+13
| | | | Output is identical.
* pager: add _noreturn_ to pager_fallback()Zbigniew Jędrzejewski-Szmek2011-10-111-1/+1
| | | | | src/pager.c: In function ‘pager_fallback’: src/pager.c:35:13: warning: function might be possible candidate for attribute ‘noreturn’ [-Wmissing-noreturn]
* unit: introduce ConditionCapabilityLennart Poettering2011-10-115-6/+56
|
* units: forgot target unitsLennart Poettering2011-10-112-0/+26
|
* units: increase LimitNOFILE a bitLennart Poettering2011-10-113-2/+8
| | | | | since we need one fd per session (for logind) and one fd per service (for stdout-syslog-bridge) increase the default rlimit a bit.
* logind: fail gracefully if too many sessions are createdLennart Poettering2011-10-112-6/+5
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=744726
* timedate: fall back to /etc/sysconfig/clock on Fedora, for compatibility ↵Lennart Poettering2011-10-112-7/+19
| | | | with legacy
* units: remount root and API FS before all mount units are appliedLennart Poettering2011-10-112-2/+4
| | | | | | | | In order to ensure that bind mounts copy the final mount settings to the new bind mount make the root and API FS mount options are applied before the other file systems are mounted. https://bugzilla.redhat.com/show_bug.cgi?id=718464
* units: introduce local-fs-pre.target and remote-fs-pre.targetLennart Poettering2011-10-114-2/+34
| | | | | | This hook target enables services to order themselves between network.target and remote mounts, which is needed for GFS2 and similar systems.
* l10n: Reword the polish translation a bitZbigniew Jędrzejewski-Szmek2011-10-111-5/+5
| | | | | | | s/siedzenie/stanowisko/: they both translate to seat in English, but 'stanowisko' is a place where you work, while 'siedzenie' is like a chair. s/podłączanie/podłączenie/: we are doing it now, now sometime in the future.
* man: document list-unit-filesRan Benita2011-10-111-0/+7
| | | | It's documented in the --help, but not in the manpage.
* sd-login.h: correct spelling mistakes in commentsDave Reisner2011-10-111-2/+2
|
* hostname-setup: Frugalware switched to /etc/hostnameMiklos Vajna2011-10-111-2/+2
|
* readahead: lower max file size for readaheadPaolo Bonzini2011-10-111-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=41336
* man: .include directive does not include as textual include it includes by ↵Barry Scott2011-10-111-2/+3
| | | | | | | parsing the include file. This means that section headers must be used inside of a .include file otherwise all the lines are ignored.
* man: for ExecStart= provide more details on env var substitution and how ↵Barry Scott2011-10-112-14/+27
| | | | | | | that turns into arguments. For EnvironmentFile= explain that double quotes can be used to protect whitespace.
* update TODOLennart Poettering2011-10-111-0/+7
|
* util: fix close() call on wrong variableThomas Jarosch2011-10-101-3/+6
| | | | Detected by "cppcheck" (actually it detected a file descriptor leak)
* tmpfiles: fix file descriptor leakThomas Jarosch2011-10-101-0/+1
| | | | Detected by "cppcheck"
* update TODOLennart Poettering2011-10-101-0/+6
|
* test_virtualization: do not try to compare id in !virt contextKay Sievers2011-10-091-1/+1
|
* update TODOKay Sievers2011-10-091-0/+2
|
* update TODOLennart Poettering2011-10-071-0/+2
|
* hashmap: use different version of DJB's hash algorithm that uses shifting ↵Lennart Poettering2011-10-071-3/+5
| | | | instead of multiplication
* update TODOLennart Poettering2011-10-071-0/+2
|
* logind: properly generate session creation response on dbusLennart Poettering2011-10-041-0/+4
| | | | | This fixes the various reported issues with dbus message parsing when running su.
* systemctl: fix corrupted output of unitsMichal Schmidt2011-09-291-10/+14
| | | | | | | | | | | 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.
* localed: handle multiple X11 kbd layoutsLennart Poettering2011-09-291-8/+36
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=41341
* systemctl: fix error message when no connection to systemd is availableLennart Poettering2011-09-291-2/+4
|
* systemctl: fix detection whether the dbus connection is availableLennart Poettering2011-09-291-0/+7
|
* build-sys: fix buildLennart Poettering2011-09-291-1/+1
|
* vconsole: don't parse Fedora's KEYMAP= kernel parameters anymoreLennart Poettering2011-09-281-4/+0
| | | | | | | 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.
* localed: add SetX11Keyboard() and SetVConsoleKeyboard() bus callsLennart Poettering2011-09-287-6/+919
|
* analyze: always draw top kernel, initramfs, userspace barsKay Sievers2011-09-271-9/+32
| | | | Based on Koen Kooi's patch. Renamed initrd to initramfs.
* systemctl: better width and alignment of fieldsMichal Schmidt2011-09-271-34/+39
| | | | | | | | | | | | | | 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'.
* systemctl: print the legend regardless of stdout type, add --no-legendMichal Schmidt2011-09-272-2/+18
| | | | | | | | | | 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
* pager: add a trivial internal pagerMichal Schmidt2011-09-271-3/+15
| | | | | | | | | | 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
* build-sys: bump releasev36Lennart Poettering2011-09-232-2/+2
|
* readahead: opt out of bridge logging for readahead in order not to delay ↵Lennart Poettering2011-09-232-0/+2
| | | | things unnecessarily
* service: fix up std output/error before we add dependencies to the bridge socketLennart Poettering2011-09-231-2/+2
|
* virt: add missing header inclusionLennart Poettering2011-09-235-0/+5
|
* condition: optionally test against type of virtualization (vm vs. container)Lennart Poettering2011-09-232-9/+26
|
* util: move virtualization detection into its own files, and extend return codesLennart Poettering2011-09-2312-275/+362
|
* analyze: report startup time in plot mode as wellKoen Kooi2011-09-231-0/+12
| | | | It now prints something like "Startup finished in 1507ms (kernel) + 850ms (userspace) = 2357ms" below the legend.
* analyze: always draw 1s marker for scaleKoen Kooi2011-09-231-2/+2
| | | | | | | | | 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.
* unit: fix complementing of requirement deps with After deps for targetsMichal Schmidt2011-09-231-1/+1
| | | | | | | | | | '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.
* util: don't fail if no id was passed to detect_container()Lennart Poettering2011-09-231-3/+9
|