Age | Commit message (Collapse) | Author |
|
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.
|
|
However, allow them to be counted in by specifying -k
|
|
|
|
|
|
This way the output is restricted to cgroups from a container when run
in one.
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
socket: fix setsockopt call. SOL_SOCKET changed to SOL_TCP.
|
|
|
|
A few more tweaks to extract_first_word
|
|
test: udev - Signal that test was skipped when running as non-root
|
|
misc bugfixes
|
|
hwdb: Add trackpoint sensitivity setting for Thinkpad X230
|
|
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
|
|
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
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=91794
|
|
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
|
|
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
|
|
Must be _cleanup_fclose_ not _cleanup_free_
|
|
|
|
|
|
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
|