summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-31socket: fix setsockopt call. SOL_SOCKET changed to SOL_TCP.Robin Hack
2015-08-31Merge pull request #1083 from filbranden/configparse1Lennart Poettering
A few more tweaks to extract_first_word
2015-08-31Merge pull request #1088 from filbranden/perltest2Daniel Mack
test: udev - Signal that test was skipped when running as non-root
2015-08-31Merge pull request #1084 from crrodriguez/masterDaniel Mack
misc bugfixes
2015-08-31Merge pull request #1087 from whot/hwdb-updatesDaniel Mack
hwdb: Add trackpoint sensitivity setting for Thinkpad X230
2015-08-30test: udev - Signal that test was skipped when running as non-rootFilipe Brandenburger
It is more accurate to report that the test was skipped rather than succeeded if we did not get to run it because it requires root. Tested by running `make check` and inspecting the log file: $ cat test/udev-test.pl.log Must have root permissions to run properly. SKIP test/udev-test.pl (exit status: 77) The `make check` output also reported: SKIP: test/udev-test.pl
2015-08-31hwdb: move the Performance MX to 1000dpiPeter Hutterer
Original entry may have been skewed by an earlier setting on the device, we have a confirmed 1000dpi for a new device. https://github.com/systemd/systemd/issues/1049
2015-08-31hwdb: Add trackpoint sensitivity setting for Thinkpad X230Peter Hutterer
https://bugs.freedesktop.org/show_bug.cgi?id=91794
2015-08-30extract_first_word: Refactor EXTRACT_DONT_COALESCE_SEPARATORS handlingFilipe Brandenburger
Refactor allocation of the result string to the top, since it is currently done in both branches of the condition. Remove unreachable code checking for EXTRACT_DONT_COALESCE_SEPARATORS when state == SEPARATOR (the only place where SEPARATOR is assigned to state follows a check for EXTRACT_DONT_COALESCE_SEPARATORS that jumps to the end of the function.) Tested by running test-util successfully. Follow up to: 206644aedeb8859801051ac170ec562c6a113a79
2015-08-30extract_first_word: Refactor allocation in empty argument caseFilipe Brandenburger
This covers the case where an argument is an empty string, such as ''. Instead of allocating the empty string in the individual conditions when state == VALUE, just always allocate it at the end of state == START, at which point we know we will have an argument. Tested that test-util keeps passing after the refactor. Follow up to: 14e685c29d5b317b815e3e9f056648027852b07e
2015-08-30sd-bus: Fix incorrect cleanup attribute in bus_match_to_string()Cristian Rodríguez
Must be _cleanup_fclose_ not _cleanup_free_
2015-08-30core: add attribute printf to null_log()Cristian Rodríguez
2015-08-30locale: add printf attribute to log_xkb()Cristian Rodríguez
2015-08-30Merge pull request #1072 from piotrdrag/masterLennart Poettering
po: update Polish translation
2015-08-30Merge pull request #1073 from phomes/masterLennart Poettering
util: make malloc0 ask calloc for one block of size n
2015-08-30Merge pull request #1074 from phomes/networkd-initialize-varLennart Poettering
networkd: initialize tz to null
2015-08-30networkd: initialize tz to nullThomas Hindoe Paaboel Andersen
We may not set it before checking it for null.
2015-08-30util: make malloc0 ask calloc for one block of size nThomas Hindoe Paaboel Andersen
... instead of an array of n individual bytes. Silences a lot of warnings in smatch.
2015-08-29po: update Polish translationPiotr Drąg
2015-08-29nspawn: don't try to extract quotes from option string, glibc doesn't do ↵Lennart Poettering
that either Follow-up regarding #649.
2015-08-29Merge pull request #649 from eyakubovich/nspawn-rbindLennart Poettering
nspawn: add --rbind and --rbind-ro options
2015-08-29Merge pull request #1069 from evverx/networkctl-bash-completionLennart Poettering
shell-completion: bash: add networkctl completion
2015-08-28nspawn: add (no)rbind option to --bind and --bind-roEugene Yakubovich
--bind and --bind-ro perform the bind mount non-recursively. It is sometimes (often?) desirable to do a recursive mount. This patch adds an optional set of bind mount options in the form of: --bind=src-path:dst-path:options options are comma separated and currently only "rbind" and "norbind" are allowed. Default value is "rbind".
2015-08-29Merge pull request #1058 from spasche/hwdb-logitech-miceDavid Herrmann
hwdb: add DPI data for a few Logitech mice
2015-08-29Merge pull request #1071 from phomes/masterDavid Herrmann
hwdb: update the mouse db
2015-08-28hwdb: update entry for logitech RX 250Thomas Hindoe Paaboel Andersen
I tested a RX 250 and measured 1000 DPI. The spec for the mouse agrees: http://www.logitech.com/en-gb/product/rx250-optical-mouse-business This is an optical mouse so it is extra sensitive to what kind of surface it is tested on.
2015-08-28hwdb: add a few more miceThomas Hindoe Paaboel Andersen
2015-08-28shell-completion: bash: add networkctl completionEvgeny Vereshchagin
2015-08-28Merge pull request #1068 from evverx/networkctl-manDaniel Mack
man: networkctl understands --no-legend too
2015-08-28man: networkctl understands --no-legend tooEvgeny Vereshchagin
2015-08-28Merge pull request #1067 from teg/dhcp-serverLennart Poettering
sd-dhcp-server: improve predictability of leases
2015-08-28Merge pull request #1063 from poettering/dbus-interface-from-typeTom Gundersen
cgls/cgtop: a variety of modernizations
2015-08-28sd-dhcp-server: improve predictability of leasesTom Gundersen
Rather than having all clients attempt to get the same leases (starting at the beginning of the pool), make each client star at a random offset into the pool determined by their client id. This greatly increases the chances of a given client receiving the same IP address even though both the client and server have lost any lease information (and distinct server instances handing out the same leases).
2015-08-28Merge pull request #1062 from poettering/cgroups-showDaniel Mack
cgroup-show: unescape cgroups on presentation
2015-08-28Merge pull request #1061 from poettering/pagerDaniel Mack
A few auto-pager improvements
2015-08-28Merge pull request #1060 from poettering/resolved-man-2Daniel Mack
man: Document that resolved requires nss-resolve to work with libc
2015-08-28Merge pull request #1064 from evverx/systemctl-completionLennart Poettering
shell-completion: add `failed` state to --state compwords
2015-08-28shell-completion: add `failed` state to --state compwordsEvgeny Vereshchagin
2015-08-28cgls: modernize cgls in preparation for unified cgroup hierarchy workLennart Poettering
Fix --machine= handling, don't hardcode long-obsolete container cgroup paths Many other clean-ups.
2015-08-28cgtop: major modernizationsLennart Poettering
In preparation of the unified cgroup support, let's clean up cgtop: a) rework time code to be based on "nsec_t" rather than "struct timespec" b) Introduce long option --order= for selecting ordering c) count number of processes only in the main hierarchy, don't bother with the controller hierarchies. We don't allow orthogonal hierarchies in systemd anymore, hence there's no point to check the other hierarchies. d) Deal with non-monotonic cpuacct values (see #749) e) When sorting groups, don't do prefix compare when ordering by number of tasks, since this is not accumulative for all children. f) Actually make --cpu without parameter work g) Don't output control characters when we get them as input. Fixes #749.
2015-08-28core: add unit_dbus_interface_from_type() to unit-name.hLennart Poettering
Let's add a way to get the type-specific D-Bus interface of a unit from either its type or name to src/basic/unit-name.[ch]. That way we can share it with the client side, where it is useful in tools like cgls or machinectl. Also ports over machinectl to make use of this.
2015-08-28cgroup-show: unescape cgroups on presentationLennart Poettering
Let's unescape cgroups on presentation, so that we show literal unit names.
2015-08-28pager: also redirect stderrLennart Poettering
It's really confusing if stdout goes to the pager, but stderr is written directly to the screen. Hence, make sure both stdout and stderr are passed to the pager when doing autopaging.
2015-08-28pager: port fallback pager to use copy_bytes()Lennart Poettering
2015-08-28copy: add splice() based fallbackLennart Poettering
Apparently, sendfile() does not work between fifos and ttys, but splice() does, hence let's optionally fall back to that. This is useful to implement the fallback pager this way.
2015-08-28man: Document that resolved requires nss-resolve to work with libcLennart Poettering
Closes #884.
2015-08-28Merge pull request #1059 from evverx/systemd-run-bash-completionLennart Poettering
shell-completion: update systemd-run bash completion
2015-08-27shell-completion: update systemd-run bash completionEvgeny Vereshchagin
Many new options have been added since the bash completion was last updated.
2015-08-27Merge pull request #1057 from poettering/resolve-drop-res-queryTom Gundersen
sd-resolve: drop res_query() API
2015-08-27Merge pull request #1055 from poettering/dhcp-updatesTom Gundersen
Various networkd and dhcp updates