summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sysctl: add some hints how to override settingsZbigniew Jędrzejewski-Szmek2015-02-261-1/+8
| | | | | | | 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
* sysctl: downgrade message about sysctl overrides to debugZbigniew Jędrzejewski-Szmek2015-02-261-1/+1
| | | | | Printing it at info level was tedious. We don't do that for any other overrides.
* sd-rtnl: types - fix check for unsupported typeTom Gundersen2015-02-261-2/+1
| | | | Spotted by Thomas H.P. Andersen <phomes@gmail.com>
* sd-rtnl: types - don't assert_return in private APITom Gundersen2015-02-261-7/+4
|
* boot: efi - remove custom splash supportKay Sievers2015-02-263-66/+5
|
* boot: efi - split graphics and splash handlingKay Sievers2015-02-267-301/+350
|
* boot: efi - support embedded splash imageKay Sievers2015-02-265-18/+24
|
* core: emit changes for NFailedUnits propertyLucas De Marchi2015-02-265-6/+41
| | | | | | | 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.
* Update TODOZbigniew Jędrzejewski-Szmek2015-02-261-0/+3
|
* unit: When stopping due to BindsTo=, log which unit caused itColin Walters2015-02-261-1/+3
| | | | | | | | | | | 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.
* timedated: when performing "SetTime" compensate for program lagShawn Landden2015-02-262-2/+10
| | | | (David: fix up compile-failure and simplify code a bit)
* build-sys: efi - move cflag from x86_64 to common sectionKay Sievers2015-02-261-2/+2
|
* boot: efi - print generic error message if we fail to execute an imageKay Sievers2015-02-261-8/+2
|
* boot: efi - remove default boot splash handlingKay Sievers2015-02-264-114/+44
|
* update TODOLennart Poettering2015-02-261-0/+4
|
* machined: if /var/lib/machines is backed by a loop file, resize it on ↵Lennart Poettering2015-02-263-7/+102
| | | | | | | | | "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.
* bootctl: check that partition uuid is validThomas Hindoe Paaboel Andersen2015-02-251-1/+7
| | | | | | It probably is but check anyway to make coverity happy. CID#1271354
* unit: use weaker dependencies between mount and device units in --user modeLennart Poettering2015-02-251-1/+1
| | | | | | | | 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.
* nspawn: make kill signal to use for PID 1 configurableLennart Poettering2015-02-252-2/+31
|
* machined,machinectl: add calls for changing container/VM quotasLennart Poettering2015-02-2510-6/+226
|
* journal: make skipping of exhausted journal files effective againMichal Schmidt2015-02-253-12/+17
| | | | | | | | | | | | | | | | | | | | 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.
* hwdb: Update database of Bluetooth company identifiersMarcel Holtmann2015-02-251-0/+42
|
* po: update Polish translationPiotr Drąg2015-02-251-12/+73
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=89230
* po: update Italian translationDaniele Medri2015-02-241-49/+109
|
* po: simplify one sentenceZbigniew Jędrzejewski-Szmek2015-02-242-2/+2
|
* po: fix typo in French translationZbigniew Jędrzejewski-Szmek2015-02-241-1/+1
| | | | Was already fixed elsewhere in 6be9b3606872037d1d48a81fbe045af8b64cea85.
* systemd: add getrandom syscall numbers for MIPSAaro Koskinen2015-02-241-0/+10
| | | | | | Add getrandom syscall numbers for MIPS. Based on Linux 3.17 kernel (commit 42944521af97a3b25516f15f3149aec3779656dc, "MIPS: Wire up new syscalls getrandom and memfd_create").
* bootchart: svg: fix checking of list endAaro Koskinen2015-02-241-1/+1
| | | | If we have less samples than expected, systemd-bootchart will crash.
* build-sys: fail if gnuefi files are not foundZbigniew Jędrzejewski-Szmek2015-02-241-19/+18
| | | | | | | | | 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.
* bootctl: fix mem leaksThomas Hindoe Paaboel Andersen2015-02-251-9/+5
| | | | CID#1271347/1271348
* machined: fix check if host directory could be openedThomas Hindoe Paaboel Andersen2015-02-241-1/+1
| | | | CID#1271351
* acl-util: avoid freeing uninitialized pointerThomas Hindoe Paaboel Andersen2015-02-241-2/+2
| | | | CID#1271344/1271345
* units: add missing unit fileLennart Poettering2015-02-241-0/+16
|
* importd: enable btrfs quota in /var/lib/machines, if necessaryLennart Poettering2015-02-243-0/+35
|
* machined/machinectl: when "machinectl image-status" is used without ↵Lennart Poettering2015-02-242-6/+153
| | | | arguments show statistics about pool
* shared: fix wrong assertion in barrier_set_role()Cristian Rodríguez2015-02-241-1/+1
| | | | | | | | assert(b->pipe[0] >= 0 && b->pipe[0] >= 0); Test the same condition twice, pretty sure we mean assert(b->pipe[0] >= 0 && b->pipe[1] >= 0);
* build: make sure to test for -Wflag instead of -Wno-flagDavid Herrmann2015-02-241-2/+3
| | | | | | | | gcc does not support testing for negated warnings. See here for details: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63499 This patch changes CC_CHECK_FLAG_APPEND to always test for the non-negated warnings.
* machined: actually open up methods to unprivileged clients on dbus1Lennart Poettering2015-02-241-0/+72
| | | | | | | | Many of machined's operations are now opened up to unprivileged clients via PolicyKit. Open up the dbus policy so that we can actually make these calls. kdbus doesn't reuqire this, hence this wasn't noticed before.
* importd: create a loopback btrfs file system for /var/lib/machines, if necessaryLennart Poettering2015-02-243-8/+243
| | | | | | | | | | | | | | | | | When manipulating container and VM images we need efficient and atomic directory snapshots and file copies, as well as disk quota. btrfs provides this, legacy file systems do not. Hence, implicitly create a loopback file system in /var/lib/machines.raw and mount it to /var/lib/machines, if that directory is not on btrfs anyway. This is done implicitly and transparently the first time the user invokes "machinectl import-xyz". This allows us to take benefit of btrfs features for container management without actually having the rest of the system use btrfs. The loopback is sized 500M initially. Patches to grow it dynamically are to follow.
* id128: add new sd_id128_is_null() callLennart Poettering2015-02-241-0/+4
|
* import: print nice warning if we need btrfs but /var/lib/machines is not btrfsLennart Poettering2015-02-241-1/+28
|
* test-hashmap: fix gcc5 warningDaniel Mack2015-02-241-1/+1
| | | | | | | | gcc5 spits out a warning about test-hashmap.c: CC src/test/test-hashmap.o src/test/test-hashmap.c: In function ‘test_string_compare_func’: src/test/test-hashmap.c:76:79: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
* shared/unit-name: fix gcc5 warningDaniel Mack2015-02-241-1/+1
| | | | | | | | | | Fix the following gcc5 warning: CC src/shared/libsystemd_shared_la-unit-name.lo src/shared/unit-name.c: In function 'unit_name_is_valid': src/shared/unit-name.c:102:34: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!template_ok == TEMPLATE_VALID && at+1 == e) ^
* systemctl: bump NOFILE only for systemctl_mainZbigniew Jędrzejewski-Szmek2015-02-241-5/+5
| | | | | | It is not necessary when running as telinit, etc. https://bugzilla.redhat.com/show_bug.cgi?id=1184712
* build: add -Wno-format-signednessDavid Herrmann2015-02-241-0/+1
| | | | | | | | | | | | | | | gcc5 introduced this option (gcc4 silently ignores it, which is fine). Given that gcc5 thinks 'unsigned char'/'unsigned short' is promoted to 'int' for var-args, stuff like this spits out warnings: uint8_t x; printf("%" PRIu8", x); gcc5 promots 'x' to 'int', instead of 'unsigned int' and thus gets a signedness-warnings as it expects an 'unsigned int'. glibc states otherwise: unsigneds are always promoted to 'unsigned int'. Until gcc and glibc figure this out, lets just ignore that warning (which is totally useless in its current form).
* bootchart: fix default init pathMartin Pitt2015-02-242-1/+2
| | | | | | | | Commit 6e1bf7ab99 used the wrong directory; we need rootlibexecdir, not rootlibdir, as the latter is something like /lib/x86_64-linux-gnu/ on multi-arch systems. https://launchpad.net/bugs/1423867
* sd-bus: test-bus-kernel-benchmark: don't rely on fixed unique namesDaniel Mack2015-02-241-16/+25
| | | | | | | The kernel part of kdbus does not allow userspace to make any assumption on which unique address the first user on the bus will get. Instead, use sd_bus_get_unique_name() to get the server's address.
* test-time: test "infinity" parsing in nanosecondsDaniel Mack2015-02-241-0/+6
|
* shared/time-util: fix gcc5 warningDaniel Mack2015-02-241-1/+1
| | | | | | | | CC src/shared/libsystemd_shared_la-time-util.lo src/shared/time-util.c: In function 'parse_nsec': src/shared/time-util.c:789:25: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] if (!*s != 0) ^
* sd-bus: sync kdbus.hDaniel Mack2015-02-243-18/+7
| | | | | | | | | | Follow two small changes in the kdbus API: * Flags are now returned in cmd->return_flags by KDBUS_CMD_NAME_ACQUIRE * struct kdbus_item_list has been dropped. The information stored in this struct was redundant since awhile already, as all commands report their returned slice size anyway.