Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-29 | machinectl: add "enable" and "disable" verbs for enabling/disabling ↵ | Lennart Poettering | |
systemd-nspawn for containers This is basically just a shortcut for "systemctl enable systemd-nspawn@<foobar>.service", but does escaping. | |||
2014-12-29 | machinectl: add new "start" verb to start a container as a service in nspawn | Lennart Poettering | |
2014-12-29 | bus-proxy: fix sd_bus_reply_*() usage | David Herrmann | |
We *must* not use sd_bus_reply_*() as it does not set the sender field correctly. Use the synthetic_reply_*() helpers instead! | |||
2014-12-29 | capability: use /proc/sys/kernel/cap_last_cap | David Herrmann | |
This file was introduced with linux-3.2, use it instead of probing for it via prctl(PR_CAPBSET_READ). For now, keep the old code for backwards compat. We can drop it once 3.2 is our lowest requirement. The test-cap-list code is extended to verify cap_last_cap() is the same as we'd get via prctl probing and /proc. | |||
2014-12-29 | core: loopback - correctly fail the loopback_check if somehow the rtnl calls ↵ | Tom Gundersen | |
fail | |||
2014-12-29 | bus: fix typo | David Herrmann | |
Drop spurious 'we'. | |||
2014-12-29 | rtnl: recv_message - don't enforce sender uid | Tom Gundersen | |
All we care about is that the kernel (pid==0) sent the message. Verifying the sender uid seems to break when using userns. Reported by Stéphane Graber. | |||
2014-12-29 | test: loopback - parse logging env var | Tom Gundersen | |
2014-12-29 | sd-rtnl: rtnl_call - don't dispatch wqueue after timeout has passed | Tom Gundersen | |
Only a minor change as the timeout would be hit soon thereafetr at the next loop. | |||
2014-12-29 | sd-rtnl: rtnl_poll - fix typo | Tom Gundersen | |
This caused rtnl_poll to always return true immediately in sd_rtnl_call(). | |||
2014-12-29 | sd-rtnl: recv_message - drop message when peeking fails | Tom Gundersen | |
Read the message form the socket or we will loop trying to read the same message repeatedly. | |||
2014-12-29 | sd-rtnl: recv_message - don't fail on interrupt | Tom Gundersen | |
We should just try again instead. | |||
2014-12-29 | sd-rtnl: recv_message - log when dropping message | Tom Gundersen | |
We drop messages received from the wrong uid/pid, log this at debug level. | |||
2014-12-28 | core: loopback - simplify check_loopback() | Tom Gundersen | |
We no longer configure the addresses on the loopback interface, but simply bring it up and let the kernel do the rest. Also change the check to only check if the interface is up, rather than checking for the IPv4 loopback address. | |||
2014-12-28 | machined: Fix MarkReadOnly method's name on bus | Sylvain Plantefève | |
2014-12-28 | libsystemd: Fix minor typo in comment | Sylvain Plantefève | |
2014-12-28 | machined: don't look for images on each property get, but cache the image ↵ | Lennart Poettering | |
object inbetween | |||
2014-12-28 | util: treat -1 as special size in format_bytes() | Lennart Poettering | |
2014-12-28 | machined: add support for reporting image size via btrfs quota | Lennart Poettering | |
2014-12-28 | tmpfiles: add new line type 'v' for creating btrfs subvolumes | Lennart Poettering | |
2014-12-28 | machinectl/machined: implement "rename", "clone", "read-only" verbs for ↵ | Lennart Poettering | |
machine images | |||
2014-12-28 | machined: add "machinectl remove" for removing images | Lennart Poettering | |
2014-12-28 | nspawn: use the same image discovery logic in nspawn as in machined | Lennart Poettering | |
2014-12-28 | machined: Move image discovery logic into src/shared, so that we can make ↵ | Lennart Poettering | |
use of it from nspawn | |||
2014-12-27 | Fix check_loopback() | Stéphane Graber | |
Add missing htonl() so that check_loopback() actually tests for 127.0.0.1 instead of 1.0.0.127 on little-endian machines. | |||
2014-12-26 | loginctl: reindent --help text | Lennart Poettering | |
2014-12-26 | loginctl: add more --help sections | Lennart Poettering | |
2014-12-26 | machinectl: add status commands | Lennart Poettering | |
2014-12-26 | machined: fix search patch magic for '.host' image | Lennart Poettering | |
2014-12-26 | machined: make image read-only check indepenednt on own privs | Lennart Poettering | |
2014-12-26 | machinectl: mark read-only images when listing in red | Lennart Poettering | |
2014-12-26 | import: make image root directory configurable, instead of hardcoding ↵ | Lennart Poettering | |
/var/lib/container | |||
2014-12-26 | machined: when discovering images, implicitly add ".host" as pseudo image ↵ | Lennart Poettering | |
referring to the host's own directory tree | |||
2014-12-26 | machined: fix image search path iteration | Lennart Poettering | |
2014-12-26 | machined: let's also check machine directories in /usr and /usr/local | Lennart Poettering | |
2014-12-26 | import: properly remove pre-existing images if --force is used | Lennart Poettering | |
2014-12-26 | import: beef up gpt importer to optionally make writable copy of read-only ↵ | Lennart Poettering | |
vendor image | |||
2014-12-26 | import: minor improvements to dkr importer | Lennart Poettering | |
2014-12-26 | util: always override crtime xattr | Lennart Poettering | |
2014-12-26 | machinectl: left-align times | Lennart Poettering | |
2014-12-26 | copy: try top copy atime/time/xattrs when copying files | Lennart Poettering | |
2014-12-26 | test: improve btrfs test case | Lennart Poettering | |
2014-12-26 | machined: be more thorough when checking whether an image is writable or not | Lennart Poettering | |
2014-12-26 | journald: always allocate space for object fields | Zbigniew Jędrzejewski-Szmek | |
If OBJECT_PID= came as the last field, we would not reallocate the iovec to bigger size, and fail the assertion later on in dispatch_message_real(). | |||
2014-12-26 | journald: fix off by one in native transport | Zbigniew Jędrzejewski-Szmek | |
https://bugzilla.redhat.com/show_bug.cgi?id=1177184 | |||
2014-12-25 | test: wait for cloned thread to exit | Filipe Brandenburger | |
In test_raw_clone, make sure the cloned thread calls _exit() and in the parent thread call waitpid(..., __WCLONE) to wait for the child thread to terminate, otherwise there is a race condition where the child thread will log to the console after the test process has already exited and the assertion from the child thread might not be enforced. The absence of this patch might also create problems for other tests that would be added after this one, since potentially both parent and child would run those tests as the child would continue running. Tested by confirming that the logs from the child are printed before the test terminates and that a false assertion in the child aborts the test with a core dump. [zj: also add check for the return value.] | |||
2014-12-25 | test: only use assert_se in test_raw_clone | Filipe Brandenburger | |
The asserts used in the tests should never be allowed to be optimized away. | |||
2014-12-25 | run: uninitialized variable | Zbigniew Jędrzejewski-Szmek | |
2014-12-25 | ata_id: remove temp variable to kill warning | Zbigniew Jędrzejewski-Szmek | |
src/udev/ata_id/ata_id.c:503:24: warning: assignment from incompatible pointer type identify_words = &identify.wyde; ^ | |||
2014-12-25 | ata_id: modernize | Zbigniew Jędrzejewski-Szmek | |