summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-31sd-event: improve debug message when we fail to remove and fd from an epollLennart Poettering
Let's help users to debug issues with epoll fd removal by printing the name of the event source.
2015-08-31cgls: pretty print root cgroup pathLennart Poettering
Make sure show it as "/" rather than empty string.
2015-08-31manager: remove ask-password fd from sd_event before closing itLennart Poettering
Otherwise we might attempt to remove a non-existing fd from epoll.
2015-08-31man: document relationship between keys and switches of cgtopLennart Poettering
2015-08-31cgtop: allow toggling of --recursive= and -k at runtimeLennart Poettering
2015-08-31cgtop: recursively count cgroup member tasksLennart Poettering
When showing the number of tasks in a cgroup, recursively count tasks in child cgroups and include them in the number. This ensures that the number of tasks is cummulative the same way as memory, cpu and IO resources are. Old behaviour can be restored by passing the new --recursive=no switch.
2015-08-31cgtop: ignore kernel threads when counting tasksLennart Poettering
However, allow them to be counted in by specifying -k
2015-08-31cgls: print the expressive error message we haveLennart Poettering
2015-08-31process-util: trivial optimizationLennart Poettering
2015-08-31cgtop: show resource usage relative to cgroup root onlyLennart Poettering
This way the output is restricted to cgroups from a container when run in one.
2015-08-31unit: minor simplificationLennart Poettering
2015-08-31util: treat 'C' and 'POSIX' locale identicalLennart Poettering
2015-08-31pager: set $LESSCHARSET when we output UTF8 charsLennart Poettering
This way we can be sure that less has the same idea of the terminal as we do. This solves issues in systems that have locale uninitalized, where systemd would output UTF-8 but less wouldn't allow it and show them as control characters.
2015-08-31unit: unify how we assing slices to unitsLennart Poettering
This adds a new call unit_set_slice(), and simplifies unit_add_default_slice(). THis should make our code a bit more robust and simpler.
2015-08-31unit: add new macros to test for unit contextsLennart Poettering
2015-08-31core: use DUAL_TIMESTAMP_NULL where we canLennart Poettering
2015-08-31core: don't generate stub unit file for transient unitsLennart Poettering
We store the properties for transient units in drop-ins anyway, and units don't have to have fragment files, hence don't bother with them, and don't create them.
2015-08-31build-sys: add missing Makefile symlinkLennart Poettering
2015-08-31update TODOLennart Poettering
2015-08-31Merge pull request #1091 from marmolak/masterDaniel Mack
socket: fix setsockopt call. SOL_SOCKET changed to SOL_TCP.
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