Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-12 | networkctl: show interface names next to IP addresses if we dump adresses ↵ | Lennart Poettering | |
from all interfaces | |||
2014-12-12 | networkctl: also show gateway address when "networkctl status" without ↵ | Lennart Poettering | |
further arguments is passed | |||
2014-12-12 | networkctl: show MAC address OUI vendor next to MAC addresses | Lennart Poettering | |
2014-12-12 | test-cap-list: always check libcap comes to the same names as we do, for the ↵ | Lennart Poettering | |
names it knows | |||
2014-12-12 | cap-list: return lower-case capability names, similar to libcap's ↵ | Lennart Poettering | |
cap_to_name(), for compat reasons | |||
2014-12-12 | nspawn: when booting in ephemeral mode, append random token to machine name | Lennart Poettering | |
Also, when booting up an ephemeral container of / use the system hostname as default machine name. This way specifiyng -M is unnecessary when booting up an ephemeral container, while allowing any number of ephemeral containers to run from the same tree. | |||
2014-12-12 | nspawn: allow spawning ephemeral nspawn containers based on the root file ↵ | Lennart Poettering | |
system of the OS This works now: # systemd-nspawn -xb -D / -M foobar Which boots up an ephemeral container, based on the host's root file system. Or in other words: you can now run the very same host OS you booted your system with also in a container, on top of it, without having it interfere. Great for testing whether the init system you are hacking on still boots without reboot the system! | |||
2014-12-12 | nspawn: don't link journals in ephemeral mode | Lennart Poettering | |
2014-12-12 | nspawn: properly unset arg_link_journal_try, when --link-journal= is specified | Lennart Poettering | |
2014-12-12 | copy: use btrfs reflinking only whe we know we copy full files | Lennart Poettering | |
2014-12-12 | bus: send attach flags on BUS_MAKE | David Herrmann | |
Make sure to set send-attach-flags on BUS_MAKE. These control which information is revealed about the bus-owner. | |||
2014-12-12 | bus: fix assert() on HELLO error-path | David Herrmann | |
Make sure we don't call into any bus_kernel_*() functions before b->is_kernel is set to true. Hard-code the CMD_FREE just like the other helpers do. | |||
2014-12-12 | nspawn: beef up nspawn with some btrfs magic | Lennart Poettering | |
This adds --template= to duplicate an OS tree as btrfs snpashot and run it This also adds --ephemeral or -x to create a snapshot of an OS tree and boot that, removing it after exit. | |||
2014-12-12 | copy: teach copy_bytes() btrfs reflink magic | Lennart Poettering | |
2014-12-12 | gpt-auto-generator: make use of new btrfs-util.h APIs | Lennart Poettering | |
2014-12-12 | shared: add new btrfs-util.[ch] helpers for doing common btrfs operation | Lennart Poettering | |
2014-12-12 | shared: missing.h should include btrfs.h, before redefining some of its ↵ | Lennart Poettering | |
definitions | |||
2014-12-12 | util: minor simplification for loop_write() and loop_read() | Lennart Poettering | |
2014-12-12 | nspawn: properly validate machine names | Lennart Poettering | |
2014-12-12 | seccomp-util.h: make sure seccomp-util.h can be included alone | Lennart Poettering | |
2014-12-12 | path-util: no need to check whether p is absolute twice | Lennart Poettering | |
2014-12-12 | udev-builtin-btrfs: properly initialize ioctl struct to zeroes | Lennart Poettering | |
2014-12-12 | util: document why we have alloca_align() | Lennart Poettering | |
2014-12-12 | util: when using basename() for creating temporary files, verify the ↵ | Lennart Poettering | |
resulting name is actually valid Also, rename filename_is_safe() to filename_is_valid(), since it actually does a full validation for what the kernel will accept as file name, it's not just a heuristic. | |||
2014-12-12 | journal: fix dangling 'else' ambiguity | David Herrmann | |
Rework the sd-journal iterators to avoid dangling 'else' ambiguity. For a detailed explanation, see: commit bff686e2a981ccd0888cdf1981977d24320f1770 Author: David Herrmann <dh.herrmann@gmail.com> Date: Fri Dec 12 09:43:54 2014 +0100 hwdb: fix dangling 'else' ambuguity | |||
2014-12-12 | hwdb: fix dangling 'else' ambuguity | David Herrmann | |
Imagine the following use of hwdb: if (condition_A) SD_HWDB_FOREACH_PROPERTY(hwdb, modalias, key, value) operation_A(key, value); else log_error("..."); This should work just fine, but but definitely does not what you would expect. Due to how SD_HWDB_FOREACH_PROPERTY is defined, the dangling 'else' is linked to the hidden 'if' statement in the macro instead of the outer 'if (condition_A)'. This is unexpected and really annoying to debug. Fix this by never leaving un-finished if-statements in SD_HWDB_FOREACH_PROPERTY(). We simply inverse the if() statement and explicitly add an 'else'-branch. This way, the statement is closed and all ambuguities are resolved. | |||
2014-12-12 | hwdb: FOREACH_HWDB_PROPERTY -> SD_HWDB_FOREACH_PROPERTY | David Herrmann | |
Lets not pollute the global namespace. Prefix all our exported names and macros with SD_HWDB_*. | |||
2014-12-11 | use correct format types | Thomas Hindoe Paaboel Andersen | |
2014-12-11 | test-condition: add more test cases | Ronny Chevalier | |
2014-12-11 | test-strv: add test for strv_equal | Ronny Chevalier | |
2014-12-11 | test-execute: add tests for UMask directive | Ronny Chevalier | |
2014-12-11 | test-unit-name: add tests for %f | Ronny Chevalier | |
2014-12-11 | bus: sync with kdbus.git | David Herrmann | |
Changes: * bloom parameters are returned in an offset via HELLO * FREE now takes items just like any other ioctl | |||
2014-12-11 | tree-wide: use our memset() macros instead of memset() itself | Lennart Poettering | |
2014-12-11 | treewide: correct spacing near eol in code comments | Torstein Husebø | |
2014-12-11 | core: correct spacing near eol in code comments | Torstein Husebø | |
2014-12-11 | shared: correct spacing near eol in code comments | Torstein Husebø | |
2014-12-11 | journald: correct spacing near eol code comments | Torstein Husebø | |
2014-12-11 | sd-bus: correct spacing near eol in code comments | Torstein Husebø | |
2014-12-11 | networkd/resolved: correct spacing near eol in code comments | Torstein Husebø | |
2014-12-11 | sd-dhcp-client: log if we fail to set up lease timers | Tom Gundersen | |
2014-12-11 | libudev: make libudev-hwdb a wrapper around sd-hwdb | Tom Gundersen | |
2014-12-11 | libsystemd: add sd-hwdb library | Tom Gundersen | |
This is libudev-hwdb, but decoupled from libudev and in the libsystemd style. The core code is unchanged, apart from the following minor changes: - hwdb.bin located in /**/systemd/hwdb/ take preference over the ones located in /**/udev/ - properties are stored internally in an OrderedHashmap, rather than a linked list. - a new API call allows individual properties to be queried directly, rather than iterating over them all - the iteration over properties have been moved inside the library, rather than exposing a list directly - the unused 'flags' parameter was dropped | |||
2014-12-11 | bus: sync with kdbus.git | David Herrmann | |
Sync up with recent kdbus changed: * several ioctls gained .size and .items members (but still unused) * CMD_SEND gained its own ioctl structure * several members of kdbus_msg were dropped as they were only used during SEND, not during RECV etc. * CMD_RECV and CMD_SEND now share a kdbus_reply member which contains the offset and size of the returned message. | |||
2014-12-11 | bus: zero cmd_free before passing to ioctl | David Herrmann | |
Make sure the whole cmd_free object is zeroed before passing it into the kernel. This makes valgrind happy and makes us future proof. | |||
2014-12-11 | bus: fix memfd-cache regarding memfd offsets | David Herrmann | |
We must restore part->mmap_begin when poping memfds from the memfd-cache. We rely on the memfds to be unsealed, so we can be sure that we own the whole FD. Therefore, simply set part->mmap_begin to the same as part->data. This fixes test-bus-kernel-benchmark. | |||
2014-12-11 | localectl,man: make it obvious that set-*-keymaps sets both keymaps | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=85411 | |||
2014-12-10 | scope: make attachment of initial PIDs a bit more robust | Lennart Poettering | |
2014-12-10 | core: don't migrate PIDs for units that may contain subcgroups, do this only ↵ | Lennart Poettering | |
for leaf units Otherwise a slice or delegation unit might move PIDs around ignoring the fact that it is attached to a subcgroup. | |||
2014-12-10 | core: properly pass unit file state to clients via the bus | Lennart Poettering | |