Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-01 | networkd: tunnel - ensure that enslave callback is always invoked | Tom Gundersen | |
The Link statemachine relies on this, as it would otherwise wait forever. Hook up the tunnels in the same way as the other NetDev's. | |||
2014-07-01 | networkd: link - ignore missing MAC address | Tom Gundersen | |
Currently DHCP/IPv4LL only works on ethernet devices, but no reason not to otherwise manage them. | |||
2014-07-01 | base-filesystem: avoid all searching if the link already exists | Kay Sievers | |
2014-07-01 | base-filesystem: explicitely check existence of the platform's ABI dynamic ↵ | Kay Sievers | |
loader | |||
2014-07-01 | base-filesystem: create /lib64 symlink to libdir /usr directory | Kay Sievers | |
2014-07-01 | networkd: address_acquire use cleanup macro | Susant Sahani | |
use cleanup macro for Address na [tomegun: dropped unneccessary braces] | |||
2014-07-01 | networkd: netdev add one separate line | Susant Sahani | |
2014-07-01 | networkd: link - drop assert from _free() | Tom Gundersen | |
_free() should always succeed, even if object is not fully allocated. | |||
2014-07-01 | sd-dhcp6-client: fix free before use | Tom Gundersen | |
2014-07-01 | networkd: link - improve refcounting | Tom Gundersen | |
We failed to take a ref when waiting for udev synchronization. Fix that and also make unreffing in callbacks simpler throughout by using _cleanup_ macros. Fixes <https://bugs.freedesktop.org/show_bug.cgi?id=80556>. | |||
2014-06-30 | cryptsetup: allow x-systemd.device-timeout | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=54210 | |||
2014-06-30 | fstab-generator: allow x-systemd.device-timeout for swap units | Zbigniew Jędrzejewski-Szmek | |
2014-06-30 | Move x-systemd-device.timeout handling from core to fstab-generator | Zbigniew Jędrzejewski-Szmek | |
Instead of adjusting job timeouts in the core, let fstab-generator write out a dropin snippet with the appropriate JobTimeout. x-systemd-device.timeout option is removed from Options= line in the generated unit. The functions to write dropins are moved from core/unit.c to shared/dropin.c, to make them available outside of core. generator.c is moved to libsystemd-label, because it now uses functions defined in dropin.c, which are in libsystemd-label. | |||
2014-06-30 | pc: no longer expose exec_prefix in .pc file | Lennart Poettering | |
There's little reason to export this, so let's drop it to minimize the file a bit. | |||
2014-06-30 | pc: expose more drop-in dirs in the .pc file | Lennart Poettering | |
2014-06-30 | pc: export $libdir in the .pc file | Lennart Poettering | |
This is useful for code that tries to figure out the primary arch's $libdir on the local system, given that is different on the various Linuxes. | |||
2014-06-30 | nspawn: block open_by_handle_at() and others via seccomp | Lennart Poettering | |
Let's protect ourselves against the recently reported docker security issue. Our man page makes clear that we do not make any security promises anyway, but well, this one is easy to mitigate, so let's do it. While we are at it block a couple of more syscalls that are no good in containers, too. | |||
2014-06-30 | nspawn: let's avoid using goto to wildly for non-cleanup purposes | Lennart Poettering | |
2014-06-30 | nspawn: simplify exit condition check | Lennart Poettering | |
2014-06-30 | nspawn: log a warning on failure from wait_for_terminate() | Luke Shumaker | |
This is at the suggestion of Djalal Harouni on the mailing list, and reflects the behavior of shared/util.c:wait_for_terminate_and_warn(). | |||
2014-06-30 | nspawn: Fix regression with exit status | Luke Shumaker | |
Commit 113cea8 introduced a bug that caused the exit code of systemd-nspawn to not reflect the exit code of the program executed in the container. | |||
2014-06-30 | shared/util.c:wait_for_terminate_and_warn(): Add a comment on the return values | Luke Shumaker | |
2014-06-30 | networkd: dhcp - use same metric for all DHCP-related routes | Tom Gundersen | |
2014-06-30 | util: fix comment | Lennart Poettering | |
2014-06-30 | tests: add missing XDG_RUNTIME_DIR env variable | Ronny Chevalier | |
Otherwise the test fails because specifier_runtime() returns -ENOTSUP when XDG_RUNTIME_DIR is not set. | |||
2014-06-29 | util: refuse considering UID 0xFFFF and 0xFFFFFFFF valid | Lennart Poettering | |
2014-06-29 | network-internal: initialize _cleanup_ variable | Tom Gundersen | |
2014-06-29 | netowrkd:deserialize_dhcp_routes verify strndup ret | Susant Sahani | |
strndup need to be chcked | |||
2014-06-29 | networkd: dhcp - update the lifetime of an existing address | Tom Gundersen | |
The logic otherwise is that we leave anything preconfigured alone, but in the case of DHCP we actually need to update it whenever the lease is renewed. | |||
2014-06-29 | sd-dhcp-client: don't fail hard if UDP socket can not be bound | Tom Gundersen | |
Even if we cannot renew the lease at T1, we will likely succeed at T2, so warn and ignore the failure. This could happen if for whatever reason the received address is not yet configured, or it has been lost. | |||
2014-06-29 | networkd: improve DHCP error logging | Tom Gundersen | |
2014-06-29 | networkd: set static addresses immediately | Tom Gundersen | |
Don't wait for IPv4LL nor DHCP to finish before setting statically configured addresses. | |||
2014-06-29 | Add support for DHCP static route options | Eugene Yakubovich | |
This adds support for DHCP options 33 and 121: Static Route and Classless Static Route. To enable this feature, set UseRoutes=true in .network file. Returned routes are added to the routing table. | |||
2014-06-29 | networkd: merge DHCPv4 and DHCPv6 config | Tom Gundersen | |
If there are v4 or v6 specific options we can keep those in separate sections, but for the common options, we will use only one. Moreovere only use DHCP=[yes/both|no/none|v4|v6] to enable or disable the clients. | |||
2014-06-29 | sd-dhcp-client/networkd: set lifetimes for IPv4 addresses | Patrik Flykt | |
Note that /proc/sys/net/ipv4/ip_dynaddr needs to be non-zero. [tomegun: hook up DHCP renew events to increase the lifetime when necessary] | |||
2014-06-29 | networkd/sd-dhcp-server: only start dhcp server when necessary | Tom Gundersen | |
2014-06-28 | doc: grammatical corrections | Jan Engelhardt | |
2014-06-27 | libudev: queue - watch entire directory to allow the re-use of the watch ↵ | Kay Sievers | |
descriptor | |||
2014-06-27 | journald: make MaxFileSec really default to 1month | Michał Bartoszkiewicz | |
journald.conf(5) states that the default for MaxFileSec is one month, but the code didn't respect that. | |||
2014-06-27 | coredump: simplify compression logic a bit | Lennart Poettering | |
This also make sure we remove the original coredump temporary file if we successfully managed to compress the coredump. | |||
2014-06-27 | coredump: replace Compression= setting by simpler Compress= boolean setting | Lennart Poettering | |
Let's move things closer to journald's configuration settings, which knows Compress= already, as a boolean. This makes things more uniform, but also gives us more freedom to possibly swap out the used compression algorithm one day. | |||
2014-06-27 | coredump: don't expose the compression level as configuration option | Lennart Poettering | |
This sounds overly low-level and implementation-detaily. Let's just use the default level XZ suggests. This gives us more room to possibly swap out the compression algorithm used, as the compression level range will not leak into user configuration. | |||
2014-06-27 | journald: invoking fstatvfs() is now redundant in the vacuuming code | Lennart Poettering | |
2014-06-27 | coredump: don't be annoyed if another coredump hook removes our coredump ↵ | Lennart Poettering | |
while we work on it | |||
2014-06-27 | coredump: fix how the compression level is verified | Lennart Poettering | |
2014-06-27 | coredump: add simple coredump vacuuming | Lennart Poettering | |
When disk space taken up by coredumps grows beyond a configured limit start removing the oldest coredump of the user with the most coredumps, until we get below the limit again. | |||
2014-06-27 | main: uid_to_name() might fail due to OOM, protect against that | Lennart Poettering | |
2014-06-27 | libudev: queue provide file descriptor to watch busy event queue | Kay Sievers | |
2014-06-27 | libudev: fix udev_queue_get_queue_is_empty() logic | Kay Sievers | |
2014-06-27 | coredumpctl: fix potential deref of null pointer | Thomas Hindoe Paaboel Andersen | |