Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-22 | networkd: ndisc - split out from dhcp6 code | Tom Gundersen | |
2015-10-22 | networkd: ndisc - make logging messages uniform | Tom Gundersen | |
Refer to Router Discovery rather than ICMPv6. | |||
2015-10-22 | sd-ndisc: rename icmp6 to ndisc throughout the code | Tom Gundersen | |
2015-10-22 | libsystemd-network: split icm6-util.[ch] out of dhcp6 code | Tom Gundersen | |
2015-10-22 | networkd: rename icmp6 to ndisc | Tom Gundersen | |
2015-10-22 | sd-ndisc: rename API from sd-icmp6-nd | Tom Gundersen | |
2015-10-22 | sd-icmp6-nd: rename files to sd-ndisc | Tom Gundersen | |
The actual code rename will follow. The reason for the change of name is to make it simpler and more uniform with how we name other libraries (we don't include the underlying protocol). The new name also matches the naming in the kernel (which is particularly relevent here as we expect to let the kernel do some parts of the protocol and we do others). | |||
2015-10-22 | Merge pull request #1644 from reverendhomer/patch-1 | Tom Gundersen | |
networkd-manager: fix swapped arguments | |||
2015-10-22 | networkd-manager: fix swapped arguments | reverendhomer | |
fixes Coverity #1328493 | |||
2015-10-22 | util: allow unbalanced double quote in EXTRACT_QUOTES|EXTRACT_RELAX mode | Evgeny Vereshchagin | |
extract_first_word understands "\'string" but doesn't understand "\"string" fixed this inconsistency. | |||
2015-10-21 | core dbus: Check that flush works with memstream | Nicolas Cornu | |
2015-10-21 | core: fix namespace parsing | Evgeny Vereshchagin | |
ReadOnlyDirectories=-/ works fine | |||
2015-10-21 | Merge pull request #1623 from evverx/run-rw-ro-ia-dirs | Lennart Poettering | |
systemd-run can launch units with ReadWriteDirectories, ReadOnlyDirectories, InaccessibleDirectories | |||
2015-10-21 | networkd: manager/link - only serialize once per event-loop iteration | Tom Gundersen | |
Every time the state is written out we may trigger third-party apps, so let's be a bit more careful about writing this out unnecessarily. | |||
2015-10-21 | networkd: link - serialize addresses | Tom Gundersen | |
2015-10-21 | networkd: route - add hash_ops | Tom Gundersen | |
2015-10-21 | networkd: route - simplify route_new() | Tom Gundersen | |
2015-10-21 | networkd: address - distinguish between addresses added by us and by others | Tom Gundersen | |
We only keep the addresses that we added ourselves in link->addresses, and introduce a new set link->addresses_foreign to keep addresses of unknown origin. Only functional change is that "foreign" addresses no longer prevent a link from entering "configured" state. | |||
2015-10-21 | networkd: address - rework firewall rules lifetime | Tom Gundersen | |
Establish the firewall rule before creating the address, and do not create the address if the firewall rule could not be created. Also, only drop the firewall rule once the address has been removed from the kernel. | |||
2015-10-21 | networkd: address - merge _change() into _configure() | Tom Gundersen | |
These functions are almost entirely the same, so avoid duplication. | |||
2015-10-21 | networkd: address - factor out address_update() | Tom Gundersen | |
Call back into link_check_ready() whenever an address state change may have made a link ready. | |||
2015-10-21 | networkd: link - only consider configured when all addresses are ready | Tom Gundersen | |
We were considering a link configured whilst its IPv6 addresses were still tentative. Fixes issue #650. | |||
2015-10-20 | run: can launch units with ReadWriteDirectories, ReadOnlyDirectories, ↵ | Evgeny Vereshchagin | |
InaccessibleDirectories | |||
2015-10-20 | dbus-execute: remove unused variable | Thomas Hindoe Paaboel Andersen | |
from ceb728cf | |||
2015-10-20 | Merge pull request #1616 from evverx/run-fix-environment-parsing | Lennart Poettering | |
run: fix Environment parsing | |||
2015-10-20 | Merge pull request #1538 from ssahani/ipv62 | Tom Gundersen | |
networkd: add support to configure IPv6 DAD | |||
2015-10-20 | run: fix Environment parsing | Evgeny Vereshchagin | |
* `Environment=` resets previous assignments * `Environment='a=1 b=2'` sets `a` to `1` and `b` to `2` * `Environment='"a=1 2" b=2"'` sets `a` to `1 2` and `b` to `2` | |||
2015-10-20 | Merge pull request #1619 from iaguis/nspawn-sysfs-netns-3 | Lennart Poettering | |
nspawn: skip /sys-as-tmpfs if we don't use private-network | |||
2015-10-20 | nspawn: skip /sys-as-tmpfs if we don't use private-network | Iago López Galeiras | |
Since v3.11/7dc5dbc ("sysfs: Restrict mounting sysfs"), the kernel doesn't allow mounting sysfs if you don't have CAP_SYS_ADMIN rights over the network namespace. So the mounting /sys as a tmpfs code introduced in d8fc6a000fe21b0c1ba27fbfed8b42d00b349a4b doesn't work with user namespaces if we don't use private-net. The reason is that we mount sysfs inside the container and we're in the network namespace of the host but we don't have CAP_SYS_ADMIN over that namespace. To fix that, we mount /sys as a sysfs (instead of tmpfs) if we don't use private network and ignore the /sys-as-a-tmpfs code if we find that /sys is already mounted as sysfs. Fixes #1555 | |||
2015-10-19 | dbus-execute: some cleanups when parsing EnvironmentFiles= for transient units | Lennart Poettering | |
2015-10-19 | strv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_ | Zbigniew Jędrzejewski-Szmek | |
2015-10-19 | tree-wide: whenever we deal with passwords, erase them from memory after use | Lennart Poettering | |
A bit snake-oilish, but can't hurt. | |||
2015-10-19 | core: actually set pids_max field after parsing it | Lennart Poettering | |
Fixes one of the issues pointed out in #1522. | |||
2015-10-19 | journald: make sure r is always initialized | Lennart Poettering | |
2015-10-19 | journal: fix bad memory freeing | Lennart Poettering | |
2015-10-19 | tree-wide: add more void casts for various syscall invocations | Lennart Poettering | |
2015-10-19 | core: fix type of NetClass dbus property | Lennart Poettering | |
it's exposed as uint32_t and it is internally an uint32_t, hence no need to treat it as an unsigned. | |||
2015-10-19 | Merge pull request #1614 from alkino/master | Lennart Poettering | |
Hook more properties for transient units | |||
2015-10-19 | Hook more properties for transient units | Nicolas Cornu | |
systemd-run can now launch units with EnvironmentFile set. | |||
2015-10-19 | tree-wide: remove unused functions | Thomas Hindoe Paaboel Andersen | |
2015-10-19 | Merge pull request #1598 from evverx/run-oomscoreadjust | Lennart Poettering | |
systemd-run can launch units with OOMScoreAdjust | |||
2015-10-18 | Merge pull request #1595 from poettering/proxy-fixes | David Herrmann | |
bus proxy fixes, and more | |||
2015-10-17 | run: can launch units with OOMScoreAdjust | Evgeny Vereshchagin | |
2015-10-17 | util: add func for checking OOMScoreAdjust | Evgeny Vereshchagin | |
2015-10-17 | unit: allocate bus name match string on the stack | Lennart Poettering | |
Let's use strjoina() rather than strjoin() for construct dbus match strings. Also, while we are at it, fix parameter ordering, so that our functions always put the object first, like it is customary for OO-like programming. | |||
2015-10-17 | sd-bus: fix error handling of pthread API calls | Lennart Poettering | |
pthread APIs (unlike the rest of libc) return their errors as positive error codes directly from the functions, rather than using errno. Let's make sure we always handle things that way. | |||
2015-10-17 | bus-proxy: don't close local bus fds twice | Lennart Poettering | |
Clear up how we pass fd owner ship to proxy and bus objects. Document that ownership is passed of the fds in question even in case of failing constructors, and that callers should forget about fds pass into the proxy object. The alternative would be to duplicate the fds, but given that fds are a relatively scarce and heavy resource let's better avoid that. Fixes #1591. | |||
2015-10-16 | Merge pull request #1582 from evverx/dump-runtime-dir-mode | Ronny Chevalier | |
core: dump RuntimeDirectories and RuntimeDirectoryMode too | |||
2015-10-16 | core: dump RuntimeDirectories and RuntimeDirectoryMode too | Evgeny Vereshchagin | |
2015-10-16 | networkd: add support for configure IPv6 DAD | Susant Sahani | |
Configures Ipv6 Duplicate Address Detection. 10 |