summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-03-02core: expose consumed CPU time per unitLennart Poettering
This adds support for showing the accumulated consumed CPU time per-unit in the "systemctl status" output. The property is also readable via the bus.
2015-03-02sd-bus: sync kdbus.h (ABI break)Daniel Mack
After some reconsideration, we decided to move the binary protocol back to 64-bit wide UIDs and GIDs. After all, it should be possible to redefine [gu]id_t to uint64_t and things should continue to work. As we want to avoid such data types in kdbus.h, let's move back to 64-bit values and be safe. In sd-bus, we have to do a translation between uint64_t and gid_t now for supplementary gids. Some inline comments have also been updated in kdbus upstream.
2015-03-01boot: efi - ignore .conf snippets starting with "auto-"Kay Sievers
2015-03-01boot: efi - remove a couple of Loader* variablesKay Sievers
2015-03-01core: downgrade unit type not supported messageUmut Tezduyar Lindskog
Otherwise every daemon reload prints out warnings like: systemd[1]: Unit type .busname is not supported on this system. systemd[1]: Unit type .swap is not supported on this system.
2015-03-01shared: AFS is also a network filesystemCristian Rodríguez
2015-03-01machined: use x-machine-unix prefix for the container bus on dbus1Benjamin Franzke
This fixes "machinectl login" on systems configured with --disable-kdbus. The error was: machinectl login foo Failed to get machine PTY: Input/output error
2015-02-28core: fix return value on OOMThomas Hindoe Paaboel Andersen
2015-02-28update TODOLennart Poettering
2015-02-28core: rework device state logicLennart Poettering
This change introduces a new state "tentative" for device units. Device units are considered "plugged" when udev announced them, "dead" when they are not available in the kernel, and "tentative" when they are referenced in /proc/self/mountinfo or /proc/swaps but not (yet) announced via udev. This should fix a race when device nodes (like loop devices) are created and immediately mounted. Previously, systemd might end up seeing the mount unit before the device, and would thus pull down the mount because its BindTo dependency on the device would not be fulfilled.
2015-02-27bootctl: avoid NULL pointer dereferenceZbigniew Jędrzejewski-Szmek
2015-02-27build-sys: use -Wno-missing-field-initializers for efi stuffZbigniew Jędrzejewski-Szmek
2015-02-27man: correct description of systemd-user-sessionsZbigniew Jędrzejewski-Szmek
That part of functionality was removed in 7fb3ee51c1b377.
2015-02-27build-sys: make systemd-user-sessions conditional on PAM againZbigniew Jędrzejewski-Szmek
This undoes a part of previous commit: s-u-s is dependent on HAVE_PAM again, but not on HAVE_LOGIND.
2015-02-27user-sessions: move into own subdir and build independently of logindIvan Shapovalov
Suggested by Zbyszek on IRC. [zj: /run/nologin is used with PAM. systemd-user-session is independent of logind.]
2015-02-27shared/condition: fix gcc5 warningDaniel Mack
Fixes the warning below. src/shared/condition.c: In function ‘condition_new’: src/shared/condition.c:47:27: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] assert(!parameter == (type == CONDITION_NULL)); ^ src/shared/macro.h:42:44: note: in definition of macro ‘_unlikely_’ #define _unlikely_(x) (__builtin_expect(!!(x),0)) ^ src/shared/macro.h:226:22: note: in expansion of macro ‘assert_se’ #define assert(expr) assert_se(expr) ^ src/shared/condition.c:47:9: note: in expansion of macro ‘assert’ assert(!parameter == (type == CONDITION_NULL)); ^
2015-02-27networkd: add support for Uplink Failure DetectionAlin Rauta
Introduce BindCarrier= to indicate the set of links that determine if the current link should be brought UP or DOWN. [tomegun: add a bit to commit message]
2015-02-27boot: efi - fix missing includeMarcel Holtmann
src/boot/efi/splash.c:312:9: warning: implicit declaration of function ‘graphics_mode’ [-Wimplicit-function-declaration] err = graphics_mode(TRUE); ^
2015-02-27hwdb: add sdio identifiers for Broadcom WLAN cardsArend van Spriel
This patch adds the sdio identifiers known to be supported by the brcmfmac open-source driver.
2015-02-26sysctl: add some hints how to override settingsZbigniew Jędrzejewski-Szmek
Also a link to decent documentation for sysrq keys. It is surprising hard to find. https://lists.fedoraproject.org/pipermail/devel/2015-February/208412.html
2015-02-26sysctl: downgrade message about sysctl overrides to debugZbigniew Jędrzejewski-Szmek
Printing it at info level was tedious. We don't do that for any other overrides.
2015-02-26sd-rtnl: types - fix check for unsupported typeTom Gundersen
Spotted by Thomas H.P. Andersen <phomes@gmail.com>
2015-02-26sd-rtnl: types - don't assert_return in private APITom Gundersen
2015-02-26boot: efi - remove custom splash supportKay Sievers
2015-02-26boot: efi - split graphics and splash handlingKay Sievers
2015-02-26boot: efi - support embedded splash imageKay Sievers
2015-02-26core: emit changes for NFailedUnits propertyLucas De Marchi
By notifying the clients when this property is changed it's possible to allow "system health monitor" tools to get transitions like running<->degraded. This is an alternative to send changes on the SystemState property since the latter is more difficult to derive.
2015-02-26Update TODOZbigniew Jędrzejewski-Szmek
2015-02-26unit: When stopping due to BindsTo=, log which unit caused itColin Walters
I'm trying to track down a relatively recent change in systemd which broke OSTree; see https://bugzilla.gnome.org/show_bug.cgi?id=743891 Systemd started to stop sysroot.mount, and this patch should help me debug why at least. While we're here, "break" on the first unit we find that will deactivate, as there's no point in further iteration.
2015-02-26timedated: when performing "SetTime" compensate for program lagShawn Landden
(David: fix up compile-failure and simplify code a bit)
2015-02-26build-sys: efi - move cflag from x86_64 to common sectionKay Sievers
2015-02-26boot: efi - print generic error message if we fail to execute an imageKay Sievers
2015-02-26boot: efi - remove default boot splash handlingKay Sievers
2015-02-26update TODOLennart Poettering
2015-02-26machined: if /var/lib/machines is backed by a loop file, resize it on ↵Lennart Poettering
"machinectl set-limit" When the pool size limit is altered with "machinectl set-limit", then not only set the subvolume quota of the /var/lib/machine subvolume, but also resize the backing loop file and the btrfs file system on it dynamically.
2015-02-25bootctl: check that partition uuid is validThomas Hindoe Paaboel Andersen
It probably is but check anyway to make coverity happy. CID#1271354
2015-02-25unit: use weaker dependencies between mount and device units in --user modeLennart Poettering
When running in user mode unmounting of mount units when a device vanishes is unlikely to work, and even if it would work is already done by PID 1 anyway. HEnce, when creating implicit dependencies between mount units and their backing devices, created a Wants= type dependency in --user mode, but leave a BindsTo= dependency in --system mode.
2015-02-25nspawn: make kill signal to use for PID 1 configurableLennart Poettering
2015-02-25machined,machinectl: add calls for changing container/VM quotasLennart Poettering
2015-02-25journal: make skipping of exhausted journal files effective againMichal Schmidt
Commit 668c965af "journal: skipping of exhausted journal files is bad if direction changed" fixed a correctness issue, but it also significantly limited the cases where the optimization that skips exhausted journal files could apply. As a result, some journalctl queries are much slower in v219 than in v218. (e.g. queries where a "--since" cutoff should have quickly eliminated older journal files from consideration, but didn't.) If already in the initial iteration find_location_with_matches() finds no entry, the journal file's location is not updated. This is fine, except that: - We must update at least f->last_direction. The optimization relies on it. Let's separate that from journal_file_save_location() and update it immediately after the direction checks. - The optimization was conditional on "f->current_offset > 0", but it would always be 0 in this scenario. This check is unnecessary for the optimization.
2015-02-25hwdb: Update database of Bluetooth company identifiersMarcel Holtmann
2015-02-25po: update Polish translationPiotr Drąg
https://bugs.freedesktop.org/show_bug.cgi?id=89230
2015-02-24po: update Italian translationDaniele Medri
2015-02-24po: simplify one sentenceZbigniew Jędrzejewski-Szmek
2015-02-24po: fix typo in French translationZbigniew Jędrzejewski-Szmek
Was already fixed elsewhere in 6be9b3606872037d1d48a81fbe045af8b64cea85.
2015-02-24systemd: add getrandom syscall numbers for MIPSAaro Koskinen
Add getrandom syscall numbers for MIPS. Based on Linux 3.17 kernel (commit 42944521af97a3b25516f15f3149aec3779656dc, "MIPS: Wire up new syscalls getrandom and memfd_create").
2015-02-24bootchart: svg: fix checking of list endAaro Koskinen
If we have less samples than expected, systemd-bootchart will crash.
2015-02-24build-sys: fail if gnuefi files are not foundZbigniew Jędrzejewski-Szmek
The build would fail later anyway, so it is better to bail out early. Also check for the second bios file only if the first one was not found. I'm not sure which one is preferred. If the other one, the order should be flipped.
2015-02-25bootctl: fix mem leaksThomas Hindoe Paaboel Andersen
CID#1271347/1271348
2015-02-24machined: fix check if host directory could be openedThomas Hindoe Paaboel Andersen
CID#1271351