summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2015-08-27hwdb: add DPI data for a few Logitech miceSylvain Pasche
2015-08-27update TODOLennart Poettering
2015-08-27sd-resolve: drop res_query() APILennart Poettering
Querying low-level DNS RRs should be done via resolved now, not via glibc's awful res_query() API anymore. Let's not introduce an async wrapper for it hence.
2015-08-27networkd: s/now/knowLennart Poettering
2015-08-27dhcp: say domain name, when we mean domain nameLennart Poettering
2015-08-27network: get rid of more RefCnt usageLennart Poettering
A follow-up to 3733eec3e292e4ddb4cba5eb8d3bd8cbee7102d8
2015-08-27dhcp: fix n_ref typeLennart Poettering
Fixes fallout from 3733eec3e292e4ddb4cba5eb8d3bd8cbee7102d8.
2015-08-27tree-wide: we place the opening bracket on the same line as the function nameLennart Poettering
Let's do this everywhere the same way.
2015-08-27networkd: make sure we remove udev fd from epoll *before* closing itLennart Poettering
Otherwise we'll try to remove an invalid fd from epoll all the time.
2015-08-27man: document the new DHCP settings added in the past commitsLennart Poettering
2015-08-27NEWS: updatesystemd/v225David Herrmann
Add 'machinectl shell' to NEWS and also update date and contributors lists.
2015-08-27networkd: emit DNS/NTP/Timezone info via DHCP server by defaultLennart Poettering
If we have the data, emit it by default.