Age | Commit message (Collapse) | Author |
|
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
|
|
po: update Polish translation
|
|
util: make malloc0 ask calloc for one block of size n
|
|
networkd: initialize tz to null
|
|
We may not set it before checking it for null.
|
|
... instead of an array of n individual bytes.
Silences a lot of warnings in smatch.
|
|
|
|
that either
Follow-up regarding #649.
|
|
nspawn: add --rbind and --rbind-ro options
|
|
shell-completion: bash: add networkctl completion
|
|
--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".
|
|
hwdb: add DPI data for a few Logitech mice
|
|
hwdb: update the mouse db
|
|
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.
|
|
|
|
|
|
man: networkctl understands --no-legend too
|
|
|
|
sd-dhcp-server: improve predictability of leases
|
|
cgls/cgtop: a variety of modernizations
|
|
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).
|
|
cgroup-show: unescape cgroups on presentation
|
|
A few auto-pager improvements
|
|
man: Document that resolved requires nss-resolve to work with libc
|
|
shell-completion: add `failed` state to --state compwords
|
|
|
|
Fix --machine= handling, don't hardcode long-obsolete container
cgroup paths
Many other clean-ups.
|
|
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.
|
|
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.
|
|
Let's unescape cgroups on presentation, so that we show literal unit
names.
|
|
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.
|
|
|
|
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.
|
|
Closes #884.
|
|
shell-completion: update systemd-run bash completion
|
|
Many new options have been added since the bash completion was last
updated.
|
|
sd-resolve: drop res_query() API
|
|
Various networkd and dhcp updates
|
|
|
|
|
|
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.
|
|
|
|
|
|
A follow-up to 3733eec3e292e4ddb4cba5eb8d3bd8cbee7102d8
|
|
Fixes fallout from 3733eec3e292e4ddb4cba5eb8d3bd8cbee7102d8.
|
|
Let's do this everywhere the same way.
|
|
Otherwise we'll try to remove an invalid fd from epoll all the time.
|
|
|
|
Add 'machinectl shell' to NEWS and also update date and contributors
lists.
|
|
If we have the data, emit it by default.
|