summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-11-01README: explain dependency on cgroupsLennart Poettering
2011-11-01update TODOLennart Poettering
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-11util: properly detect what the last capability isLennart Poettering
2011-10-11build-sys: bump release for v37systemd/v37Lennart 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-11units: forgot target unitsLennart Poettering
2011-10-11units: increase LimitNOFILE a bitLennart Poettering
since we need one fd per session (for logind) and one fd per service (for stdout-syslog-bridge) increase the default rlimit a bit.
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: remount root and API FS before all mount units are appliedLennart Poettering
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
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-11l10n: Reword the polish translation a bitZbigniew Jędrzejewski-Szmek
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.
2011-10-11man: document list-unit-filesRan Benita
It's documented in the --help, but not in the manpage.
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-11man: .include directive does not include as textual include it includes by ↵Barry Scott
parsing the include file. This means that section headers must be used inside of a .include file otherwise all the lines are ignored.
2011-10-11man: for ExecStart= provide more details on env var substitution and how ↵Barry Scott
that turns into arguments. For EnvironmentFile= explain that double quotes can be used to protect whitespace.
2011-10-11update TODOLennart Poettering
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-10update TODOLennart Poettering
2011-10-09test_virtualization: do not try to compare id in !virt contextKay Sievers
2011-10-09update TODOKay Sievers
2011-10-07update TODOLennart Poettering
2011-10-07hashmap: use different version of DJB's hash algorithm that uses shifting ↵Lennart Poettering
instead of multiplication
2011-10-07update TODOLennart Poettering
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-29build-sys: fix buildLennart 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