Age | Commit message (Collapse) | Author |
|
core: unit deps port to extract_first_word
|
|
test-execute: Fix systemd escaping and shell issues (v2)
|
|
More refactorings in extract_first_word
|
|
core: still make progress when throttling the manager loop
|
|
tests: various fixes
|
|
* remove journal flushing (systemd-journal-flush.service runs journalctl --flush on boot)
* use sh -c and PATH instead of @SYSTEMCTL@ expansion
* remove unnecessary semicolons etc
|
|
|
|
Updated axis ranges/resolutions for Lenovo T510 and Dell Inspiron N5040
|
|
In most cases, systemd requires escaping $ (for systemd variable
substitution) and % (for specifiers) by doubling them. This was somewhat
of an issue in tests like exec-environment*.service where systemd was
doing the substitutions and we were not really checking that those were
available in the actual environment of the command. Fix that.
Expressions such as `exit $(test ...)` are incorrect. They only work
because $(test ...) will produce no output, so the command will become a
bare "exit" which will exit with the status of the latest executed
command which turns out to be the test... The direct approach is simply
calling "test" as the last command, for which the shell will propagate
the exit status.
One situation where this was breaking tests was on `exit $(test ...) &&
$(test ...) && $(test ...)` where the second and third tests were not
really executing, since the first command is actually `exit` so && was
doing nothing there. Fixed it by just using `test ... && test ... &&
test ...` as it was initially intended.
Pass -x to all shell executions for them to produce useful debugging
output to stderr. Consequently, removed most of the explicit `echo`s
that are no longer needed.
Mark all units as Type=oneshot explicitly.
Also made sure all shell variables are properly quoted.
v2: Added an explicit LC_ALL=C to ionice invocations since some locales
(such as French) will add a space before the colon in the output.
Tested by running `sudo ./test-execute` and confirming all tests enabled
on my system (essentially all of them except for the s390 one) passed.
Tweaked the variables or options or expected values and confirmed the
tests do indeed fail when the values are not exactly the expected ones.
v2: Also tested with `LANG=fr_FR.UTF-8 sudo ./test-execute` to confirm
it still works in a different locale.
|
|
networkd: add support to configure IPv6 hop limit
|
|
conf-parser: use extract_first_word
|
|
man/journalctl: mention systemd.time(7) where appropriate
|
|
Todo trimming
|
|
lldp: avoid compiler warnings in lldp_tfl_package_read* functions
|
|
Put it at the top of the file, where it's hard to miss.
Also add the mapping of runlevel → target because since it is now
static.
I'm not adding runlevel(7), because we do not want to make obsolete
stuff even more prominent.
|
|
Also, machinectl status is anything but terse. Remove "terse".
|
|
No point in fixing xz now that lz4 is the default.
|
|
Original bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1182661
|
|
|
|
From https://bugzilla.redhat.com/show_bug.cgi?id=1247958
|
|
|
|
This patch adds support to configure IPV6 hop limit.
For example:
/proc/sys/net/ipv6/conf/wlp3s0/hop_limit
|
|
From https://bugzilla.redhat.com/show_bug.cgi?id=1275070
|
|
|
|
Fixed kernel-command-line links
|
|
networkd: vxlan add option to set FDB entries
|
|
l10n: add a new Korean translation for the catalog
|
|
[v2] treewide: treatment of errno and other cleanups
|
|
|
|
po: update Korean translation
|
|
with small manual cleanups for style.
|
|
rewrites:
log_error_errno(errno, ...);
return -errno;
into:
return log_error_errno(errno, ...);
|
|
Apply to all log_*_errno loglevels.
|
|
test-udev: small fixes
|
|
doc: typo and ortho fixes
|
|
core/timer: in containers OnBootSec should count from container startup
|
|
core: support IEC suffixes for RLIMIT stuff
|
|
nspawn: support custom container service name
|
|
|
|
We were hardcoding "systemd-nspawn" as the value of the $container env
variable and "nspawn" as the service string in machined registration.
This commit allows the user to configure it by setting the
$SYSTEMD_NSPAWN_CONTAINER_SERVICE env variable when calling
systemd-nspawn.
If $SYSTEMD_NSPAWN_CONTAINER_SERVICE is not set, we use the string
"systemd-nspawn" for both, fixing the previous inconsistency.
|
|
journal: reduce minimum journal file size to 512 KiB
|
|
In Fedora dnf-makecache.timer specifies OnBootSec=10min, but it fired
during boot in systemd-nspawn, because the clock ticks since the host's
boot.
Fix it by treating OnBootSec the same as OnStartupSec when running in
a container.
|
|
test: Fix typo in TEST-03-JOBS/test-jobs.sh
|
|
core: remove unused variable
|
|
unused since 7b2313f5
|
|
Fix typo s/enqueueing/enqueuing/
Signed-off-by: Jesus Ornelas Aguayo <jesus.ornelas.aguayo@intel.com>
|
|
networkd: fix option name in log message
|
|
test-execute: don't use /usr/bin/uname. use sh and PATH
|
|
|
|
|