Lennart Poettering [Fri, 19 Mar 2021 21:25:09 +0000 (22:25 +0100)]
repart: handle DISCARD failing with EBUSY gracefully
Lennart Poettering [Fri, 19 Mar 2021 21:24:48 +0000 (22:24 +0100)]
repart: add one more overflow check
Lennart Poettering [Fri, 19 Mar 2021 19:31:29 +0000 (20:31 +0100)]
repart: when we can't fit in all partitions explain how large the image would have to be
Lennart Poettering [Fri, 19 Mar 2021 10:19:00 +0000 (11:19 +0100)]
repart: add --image= switch
This is similar to the --image= switch in the other tools, like
systemd-sysusers or systemd-tmpfiles, i.e. it apply the configuration
from the image to the image.
This is particularly useful for downloading minimized GPT image, and
then extending it to the desired size via:
# systemd-repart --image=foo.image --size=5G
Lennart Poettering [Fri, 19 Mar 2021 10:16:22 +0000 (11:16 +0100)]
repart: slightly improve error message if partition is not on dm-crypt/dm-verity
Lennart Poettering [Thu, 18 Mar 2021 21:47:24 +0000 (22:47 +0100)]
repart: move NOP destructors into shared code
Lennart Poettering [Fri, 19 Mar 2021 21:19:08 +0000 (22:19 +0100)]
dissect: split read-only flag into two
Let's have one flag to request that when dissecting an image the
loopback device is made read-only, and another one to request that when
it is mounted to make it read-only. Previously both concepts were always
done read-only together.
(Of course, making the loopback device read-only but mounting it
read-write doesn't make too much sense, but the kernel should catch that
for us, no need to make restrictions from our side there)
Use-case for this: in systemd-repart we'd like to operate on images for
adding partitions. Thus we'd like to have the loopback device writable,
but if we read repart.d/ snippets from it, we want to do that read-only.
Lennart Poettering [Mon, 19 Apr 2021 15:50:02 +0000 (17:50 +0200)]
repart: port more code to generic path_simplify_and_warn()
We have this nice helper, hence use it when parsing paths and logging
about it.
Lennart Poettering [Mon, 19 Apr 2021 15:35:54 +0000 (17:35 +0200)]
repart: fix incorrect error code propagation
Zbigniew Jędrzejewski-Szmek [Mon, 19 Apr 2021 14:00:05 +0000 (16:00 +0200)]
udev/cdrom_id: add forgotten return and fix typo
Fixup for
092c05717c.
Yu Watanabe [Sat, 17 Apr 2021 04:04:28 +0000 (13:04 +0900)]
core: add RestrictAddressFamilies=none to deny all address families
Closes #15753.
Luca Boccassi [Mon, 19 Apr 2021 10:44:35 +0000 (11:44 +0100)]
Merge pull request #19351 from keszybz/log-message-tweaks
Log message tweaks
Hans de Goede [Sat, 17 Apr 2021 17:55:47 +0000 (19:55 +0200)]
hwdb: Add accel orientation quirk for the Teclast Tbook 11 tablet
Add a quirk to fix the accelerometer orientation on the
Teclast Tbook 11 tablet.
Hans de Goede [Sat, 17 Apr 2021 17:48:50 +0000 (19:48 +0200)]
60-autosuspend.hwdb: Add Sierra Wireless EM7345-LTE modem to autosuspend list
Add the Sierra Wireless EM7345-LTE modem to the list of USB devices which
can safely autosuspend. This helps the processor reach deaper PC# states
when idle.
This was tested on a ThinkPad8 tablet with such a modem builtin.
Zbigniew Jędrzejewski-Szmek [Mon, 19 Apr 2021 07:04:19 +0000 (09:04 +0200)]
Merge pull request #19330 from mrc0mmand/shellcheck-pt2
test: make test-functions shellcheck-compliant
Zbigniew Jędrzejewski-Szmek [Mon, 19 Apr 2021 06:43:36 +0000 (08:43 +0200)]
basic/log: change error for unset errno to ESTRPIPE
EIO is used in other contexts, so change ot something otherwise unused.
ENOTRECOVERABLE was also suggested, but it's used in various other places
in the code.
https://github.com/systemd/systemd/pull/19317#discussion_r614887661
Zbigniew Jędrzejewski-Szmek [Mon, 19 Apr 2021 06:37:57 +0000 (08:37 +0200)]
logind: tweak log message
https://github.com/systemd/systemd/pull/19317#pullrequestreview-
637765222
Zbigniew Jędrzejewski-Szmek [Mon, 19 Apr 2021 06:37:39 +0000 (08:37 +0200)]
udev/cdrom_id: use random_u64_range() and tweak log messages
https://github.com/systemd/systemd/pull/19317#pullrequestreview-
637765222
sverdlin [Mon, 19 Apr 2021 02:25:33 +0000 (04:25 +0200)]
systemd-networkd.socket: Add conflict with shutdown.target (#19348)
systemd-networkd.socket can re-start systemd-networkd.service in
shutdown and by doing this even stop shutdown.target leaving the
system in halfway-down state.
Fixes #4955.
Frantisek Sumsal [Fri, 16 Apr 2021 16:42:00 +0000 (18:42 +0200)]
test: rewrite kernel module handling
This code was partially broken, since the firmware directory was
undefined. Also, some of the parts were a dead code, since they relied
on code from the original dracut test suite.
Frantisek Sumsal [Fri, 16 Apr 2021 16:40:30 +0000 (18:40 +0200)]
test: use arrays when applicable
Frantisek Sumsal [Fri, 16 Apr 2021 16:37:49 +0000 (18:37 +0200)]
test: avoid using pipes in certain cases
`command -v <bin> | grep ...` can under certain conditions cause the
`command` to exit with SIGPIPE, which in combination with `set -o
pipefail` means that the tests sometimes randomly die during setup.
Let's avoid using pipes in such cases.
Frantisek Sumsal [Fri, 16 Apr 2021 16:36:27 +0000 (18:36 +0200)]
test: use set -o pipefail
This breaks some existing loops which previously ignored if the piped
program exited with EC >0. Rewrite them to mitigate this (and also make
them more robust in some cases).
Frantisek Sumsal [Fri, 16 Apr 2021 16:33:44 +0000 (18:33 +0200)]
test: shell code cleanup
Just some basic stuff, like double quotes around strings, using
predictable values for possibly unset variables, formatting, etc.
Yu Watanabe [Fri, 16 Apr 2021 01:08:36 +0000 (10:08 +0900)]
fileio: use take_fdopen_unlocked()
This fixes maybe-uninitialized warning:
```
../src/basic/fileio.c: In function ‘chase_symlinks_and_fopen_unlocked’:
../src/basic/fileio.c:1026:19: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1026 | *ret_file = f;
| ~~~~~~~~~~^~~
```
Yu Watanabe [Fri, 16 Apr 2021 14:44:32 +0000 (23:44 +0900)]
Merge pull request #19332 from yuwata/log_xxx_yyy_errno-follow-ups-19317
core,timedate,network: make log_unit_error_errno() or friends refuse zero errno
Yu Watanabe [Fri, 16 Apr 2021 11:01:10 +0000 (20:01 +0900)]
Merge pull request #19325 from sainAk/patch-1
hwdb: 60-keyboard:: merge Micro Star in MSI and merge MSI Prestige And MSI Modern FnKeys and Special keys definitions
Yu Watanabe [Fri, 16 Apr 2021 00:54:52 +0000 (09:54 +0900)]
network: update log message
In some optimization level with gcc, including netdev->ifname in log
message causes error.
Zbigniew Jędrzejewski-Szmek [Fri, 16 Apr 2021 10:36:23 +0000 (12:36 +0200)]
Merge pull request #19290 from yuwata/network-dhcp-do-not-configure-twice
network: refuse to configure DHCP client more than once
Zbigniew Jędrzejewski-Szmek [Fri, 16 Apr 2021 09:12:22 +0000 (11:12 +0200)]
Merge pull request #19310 from yuwata/network-dhcp-anonymize
network: dhcp4: several fixes and cleanups for Anonymize=
Anita Zhang [Fri, 16 Apr 2021 07:42:44 +0000 (00:42 -0700)]
man: correct requirements for systemd-oomd.service
Fixes: #19331
Aakash Singh [Thu, 15 Apr 2021 06:25:57 +0000 (11:55 +0530)]
hwdb: merge MSI Prestige And MSI Modern FnKeys and Special keys definitions
'A10' was the model name for prestige series with 10th gen intel processors and 'SC' was the gpu config for a specific model
but now msi has refreshed these series with 11th gen intel processors so the model name becomes 'A11X' where x is gpu config name more info [here](https://www.msi.com/Business-Productivity/Prestige-14-A11X/Specification) and [here](https://www.msi.com/Business-Productivity/Prestige-15-A11X/Specification)
[this was the link for model comparison of 10th gen cpus](https://www.msi.com/Business-Productivity/Prestige-15-A10X/Specification) (Dead link now)
complete list of Prestige series laptops [here](https://www.msi.com/Business-Productivity/Products#?tag=Prestige-Series)
And modern series follows the same naming convention, full list of laptops [here](https://www.msi.com/Business-Productivity/Products#?tag=Modern-Series).
examples
Prestige series
Prestige 14 A10x ( 14inch Intel 10th gen )
Prestige 15 A11x ( 15inch Intel 11th gen )
First gen Modern Series
Modern 15 A10x ( 15inch Intel 10th gen)
Modern 15 A4x ( 15inch AMD 4000 series)
Second gen Modern Series
Modern 15 B10x ( 15inch Intel first gen modern laptop)
Modern 14 B4x ( 14inch AMD second gen modern laptop)
all these laptops have the same keyboard layouts with same functionality on windows (can be reviewed from their support manuals).
Aakash Singh [Thu, 15 Apr 2021 05:30:34 +0000 (11:00 +0530)]
hwdb: merge Micro Star in MSI
Yu Watanabe [Thu, 15 Apr 2021 23:44:56 +0000 (08:44 +0900)]
network: make log_netdev_xxx_errno() refuse zero errno
Yu Watanabe [Thu, 15 Apr 2021 23:45:28 +0000 (08:45 +0900)]
timedate: make log_unit_xxx_errno() refuse zero errno
Yu Watanabe [Thu, 15 Apr 2021 23:43:59 +0000 (08:43 +0900)]
core: make log_unit_xxx_errno() refuse zero errno
Lennart Poettering [Thu, 15 Apr 2021 09:18:31 +0000 (11:18 +0200)]
core: use UNIT_TRIGGER at more places
Just some minor simplification.
Luca Boccassi [Thu, 15 Apr 2021 19:37:29 +0000 (20:37 +0100)]
Merge pull request #19326 from keszybz/reorder-meson-status-output
Reorder meson status output
Luca Boccassi [Thu, 15 Apr 2021 19:36:55 +0000 (20:36 +0100)]
Merge pull request #19318 from yuwata/udev-ignore-additional-newline-on-verify-19314
udev: ignore additional newline at the end on verify
Luca Boccassi [Thu, 15 Apr 2021 19:33:54 +0000 (20:33 +0100)]
Merge pull request #19317 from keszybz/check-return-values-from-log_errno-functions
Check return values from log_errno functions
simmon [Thu, 15 Apr 2021 10:02:00 +0000 (12:02 +0200)]
po: Translated using Weblate (Korean)
Currently translated at 100.0% (189 of 189 strings)
Co-authored-by: simmon <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/ko/
Translation: systemd/main
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 09:56:22 +0000 (11:56 +0200)]
Assert zero is not passed to log_{device,rule,token}_*_errno()
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 09:22:22 +0000 (11:22 +0200)]
Voidify log_{device,token,rule}_debug()
See analogous change for log_debug() for discussion.
Lennart Poettering [Wed, 14 Apr 2021 14:02:35 +0000 (16:02 +0200)]
core: drop pointless assert()
We checked this literally two lines earlier, no point in checking so
quickly again.
Lennart Poettering [Thu, 15 Apr 2021 09:24:28 +0000 (11:24 +0200)]
update TODO
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 09:18:32 +0000 (11:18 +0200)]
core/selinux: fix wrong assertion when 0 is passed to log_debug
https://github.com/systemd/systemd/pull/19317#issuecomment-
820245680
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 09:04:14 +0000 (11:04 +0200)]
meson: output one "item" for DNS-over-TLS
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 08:59:03 +0000 (10:59 +0200)]
meson: reorder the "features" list
Try to make this more manageable by reording:
- dependencies / inputs
(with subcategory of compression libraries)
- major components / outputs
- optional features / conditionals that don't fit into the two above categories
The division isn't well defined, because libraries often correspond one-to-one
to feature, but not always.
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 07:56:06 +0000 (09:56 +0200)]
meson: fold static libsystemd and libudev into the generic status line
It's a very specialized feature and we don't need to devote a separate line to it.
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 07:45:48 +0000 (09:45 +0200)]
meson: reindent
Luca Boccassi [Wed, 14 Apr 2021 20:26:50 +0000 (21:26 +0100)]
test: use systemd-run --wait in TEST-44-LOG-NAMESPACE
The test appears to be occasionally failing. It uses systemd-run to echo
'hello world' into a namespaced journal and then uses journalctl to look for it,
but it doesn't wait.
In the failed runs it can't find it, but the automated journal dump shows
the message at the end.
Use --wait to avoid races.
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 05:51:58 +0000 (07:51 +0200)]
udev/cdrom_id: drop unnecessary cleanup and simplify loop
Zbigniew Jędrzejewski-Szmek [Thu, 15 Apr 2021 05:49:31 +0000 (07:49 +0200)]
udev/cdrom_id: do not pass ioctl return value to log_debug_errno()
While at it, let's print the tray status in human readable form.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 08:55:09 +0000 (04:55 -0400)]
libsystemd-network: fix dhcp option buffer confusion
We were writing to the wrong buffer with a wrong offset :(
Bug present since the original introduction of the code in
04b28be1a306fd2ba454d3ee333d63df71aa3873.
Sevan Janiyan [Wed, 14 Apr 2021 23:01:53 +0000 (00:01 +0100)]
meson.build: typo
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 21:30:27 +0000 (23:30 +0200)]
libsystemd-network: check that errno==0 is not passed to log functions
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 21:12:50 +0000 (23:12 +0200)]
libsystemd-network: use macro for definitions of log_{lldp,dhcp,…}_errno
No functional change.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 20:53:49 +0000 (22:53 +0200)]
Check that errno passed log_{interface,link}_*_errno() is non-zero
Yu Watanabe [Sat, 10 Apr 2021 02:10:31 +0000 (11:10 +0900)]
sd-dhcp-client: introduce sd_dhcp_client_is_running()
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 20:19:58 +0000 (22:19 +0200)]
Voidify log_link_debug
See analogous change for log_debug() for discussion.
Luca Boccassi [Wed, 14 Apr 2021 20:17:00 +0000 (21:17 +0100)]
Merge pull request #19315 from yuwata/network-wait-online-address-family-follow-ups
network: several follow-ups for #19069
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 20:06:02 +0000 (22:06 +0200)]
journald: fix %m usage
Yu Watanabe [Wed, 14 Apr 2021 16:44:48 +0000 (01:44 +0900)]
udev: ignore additional newline in sysfs attribute on verify
Some driver may automatically add additional newline at the end.
E.g., portno attribute for qeth driver.
Fixes #19314.
Yu Watanabe [Wed, 14 Apr 2021 16:40:49 +0000 (01:40 +0900)]
fileio: introduce a new flag to make write_string_file() ignore trailing newline
When writing a sysfs attribute, kernel may automatically append newline
at the end, e.g., 'portno' attribute for qeth driver.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 15:44:47 +0000 (17:44 +0200)]
Do not try to return 0 from log_debug()
As @yuwata correctly points out, this became broken when log_debug()
started returning -EIO. I wanted to preserve this pattern, but it turns
out it is not very widely used, and preserving it would make the whole
thing, already quite complicated, even more complex.
log_debug() is made like log_info() and friends, and returns void.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 15:10:36 +0000 (17:10 +0200)]
shared/module-util: fix errno value passed to log function
If r == 0, no harm done. But if r > 0, this would be interpreted as an
errno value, wrongly.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 13:55:16 +0000 (15:55 +0200)]
basic/log: assert that 0 is not passed as errno, except in test code
Let's assert if we ever happen to pass 0 to one of the log functions.
With the preceding commit to return -EIO from log_*(), passing 0 wouldn't
affect the return value any more, but it is still most likely an error.
The unit test code is an exception: we fairly often pass the return value
to print it, before checking what it is. So let's assert that we're not
passing 0 in non-test code. As with the previous check for %m, this is only
done in developer mode. We are depending on external code setting
errno correctly for us, which might not always be true, and which we can't
test, so we shouldn't assert, but just handle this gracefully.
I did a bunch of greps to try to figure out if there are any places where
we're passing 0 on purpose, and couldn't find any.
The one place that failed in tests is adjusted.
About "zerook" in the name: I wanted the suffix to be unambiguous. It's a
single "word" because each of the words in log_full_errno is also meaningful,
and having one term use two words would be confusing.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 14:25:35 +0000 (16:25 +0200)]
Merge pull request #19302 from bluca/uninit
tree-wide: avoid uninitialized warning on _cleanup_ variables
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 11:39:14 +0000 (13:39 +0200)]
basic/log: assert that %m is not used when error is not set
This is only done in developer mode. It is a pretty rare occurence that we
make this kind of mistake. And even if it happens, the result is just a misleading
error message. So let's only do the check in non-release builds.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 10:05:47 +0000 (06:05 -0400)]
basic/log: force log_*_errno() to return negative
This silences some warnigns where gcc thinks that some variables are
unitialized. One particular case:
../src/journal/journald-server.c: In function 'ache_space_refresh':
../src/journal/journald-server.c:136:28: error: 'vfs_avail' may be used uninitialized in this function [-Werror=maybe-uninitialized]
136 | uint64_t vfs_used, vfs_avail, avail;
| ^~~~~~~~~
../src/journal/journald-server.c:136:18: error: 'vfs_used' may be used uninitialized in this function [-Werror=maybe-uninitialized]
136 | uint64_t vfs_used, vfs_avail, avail;
| ^~~~~~~~
cc1: all warnings being treated as errors
which is caused by
d = opendir(path);
if (!d)
return log_full_errno(errno == ENOENT ? LOG_DEBUG : LOG_ERR,
errno, "Failed to open %s: %m", path);
if (fstatvfs(dirfd(d), &ss) < 0)
return log_error_errno(errno, "Failed to fstatvfs(%s): %m", path);
For some reason on aarch64 gcc thinks we might return non-negative here. In
principle errno must be set in both cases, but it's hard to say for certain.
So let's make sure that our code flow is correct, even if somebody forgot to
set the global variable somewhere.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 10:14:01 +0000 (06:14 -0400)]
partition, random-seed, logind: fix log messages with %m
We would print "...: Success", which is not too terrible, but not pretty
either.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 09:54:17 +0000 (05:54 -0400)]
sd-device: improve log message and tweak style
We shouldn't say the attribute is missing right after ruling out ENOENT.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 08:55:09 +0000 (04:55 -0400)]
libsystemd-network: fix dhcp option buffer confusion
We were writing to the wrong buffer with a wrong offset :(
Bug present since the original introduction of the code in
04b28be1a306fd2ba454d3ee333d63df71aa3873.
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 11:17:22 +0000 (13:17 +0200)]
meson: simplify the BUILD_MODE conditional
Using a enum is all nice and generic, but at this point it seems unlikely that
we'll add further build modes. But having an enum means that we need to include
the header file with the enumeration whenerever the conditional is used. I want
to use the conditional in log.h, which makes it hard to avoid circular imports.
Zbigniew Jędrzejewski-Szmek [Fri, 9 Apr 2021 12:42:39 +0000 (14:42 +0200)]
bpf-devices: update comment
Yu Watanabe [Wed, 14 Apr 2021 13:17:44 +0000 (22:17 +0900)]
wait-online: update debug log messages
Yu Watanabe [Wed, 14 Apr 2021 13:13:46 +0000 (22:13 +0900)]
network: shorten code a bit
Zbigniew Jędrzejewski-Szmek [Wed, 14 Apr 2021 11:58:01 +0000 (13:58 +0200)]
Merge pull request #19266 from mrc0mmand/testsuite-shellcheck
test: make the test scripts shellcheck-compliant
Luca Boccassi [Mon, 12 Apr 2021 22:10:21 +0000 (23:10 +0100)]
tree-wide: avoid uninitialized warning on _cleanup_ variables
With some versions of the compiler, the _cleanup_ attr makes it think
the variable might be freed/closed when uninitialized, even though it
cannot happen. The added cost is small enough to be worth the benefit,
and optimized builds will help reduce it even further.
Luca Boccassi [Tue, 13 Apr 2021 19:03:39 +0000 (20:03 +0100)]
meson: build tests with -Wno-maybe-uninitialized if -O2/-flto are used
We intentionally do not inline initializations with definitions for
a bunch of _cleanup_ variables in tests, to ensure valgrind is triggered.
This triggers a lot of maybe-uninitialized false positives when -O2 and
-flto are used. Suppress them.
Yu Watanabe [Wed, 14 Apr 2021 06:07:12 +0000 (15:07 +0900)]
util: shorten allow_listed_char_for_devnode()
Yu Watanabe [Wed, 14 Apr 2021 10:01:41 +0000 (19:01 +0900)]
Merge pull request #19287 from yuwata/network-manage-foreign-routing-policy-rule-19106
network: add ManageForeignRoutingPolicyRules= boolean setting
Yu Watanabe [Wed, 14 Apr 2021 09:57:39 +0000 (18:57 +0900)]
Merge pull request #19069 from LetzteInstanz/waiting_for_address_family
systemd-networkd-wait-online: wait for specific address family
Luca Boccassi [Tue, 13 Apr 2021 12:17:53 +0000 (13:17 +0100)]
rfkill: add some casts to silence -Werror=sign-compare
Yu Watanabe [Wed, 14 Apr 2021 05:13:26 +0000 (14:13 +0900)]
man: update explanation for Anonymize=
Yu Watanabe [Wed, 14 Apr 2021 04:14:30 +0000 (13:14 +0900)]
network: dhcp4: warn when Anonymize=yes and ClientIdentifier= is not mac
Yu Watanabe [Wed, 14 Apr 2021 04:00:20 +0000 (13:00 +0900)]
network: drop unnecessary explicit initializations
Yu Watanabe [Wed, 14 Apr 2021 03:55:12 +0000 (12:55 +0900)]
network: dhcp4: do not request any additional options when Anonymize=yes
This makes networkd can use recieved options we do not request.
Yu Watanabe [Tue, 13 Apr 2021 03:41:23 +0000 (12:41 +0900)]
network: move and rename network_apply_anonymize_if_set()
LetzteInstanz [Mon, 12 Apr 2021 15:15:33 +0000 (18:15 +0300)]
test-network: test waiting for address family
LetzteInstanz [Tue, 13 Apr 2021 11:57:19 +0000 (14:57 +0300)]
wait-online: wait for address family
This introduce -4 and -6 commandline options.
LetzteInstanz [Mon, 12 Apr 2021 10:50:32 +0000 (13:50 +0300)]
sd-network: read IPv4/IPv6 address states from state files
LetzteInstanz [Sun, 11 Apr 2021 20:29:11 +0000 (23:29 +0300)]
network: save IPv4/IPv6 address states into state file
This also introduces RequiredFamilyForOnline= setting to .network file,
and IPv4AddressState/IPv6AddressState DBus properties.
LetzteInstanz [Sun, 21 Mar 2021 07:37:38 +0000 (10:37 +0300)]
network: move AddressFamily into network-util for the use by wait-online later
gaoyi [Tue, 13 Apr 2021 10:59:46 +0000 (18:59 +0800)]
udev: delete useless codes
It seems no one will touch queue.bin
Yegor Alexeyev [Tue, 9 Mar 2021 11:57:37 +0000 (14:57 +0300)]
dhcp: Implemented BindToInterface= configuration option
Frantisek Sumsal [Fri, 9 Apr 2021 17:56:12 +0000 (19:56 +0200)]
test: bunch of assorted tweaks to make shellcheck happy
Frantisek Sumsal [Fri, 9 Apr 2021 17:55:27 +0000 (19:55 +0200)]
test: use arrays to make things a bit cleaner
Frantisek Sumsal [Fri, 9 Apr 2021 17:54:42 +0000 (19:54 +0200)]
test: replace the obsolete `` syntax with $()
Frantisek Sumsal [Fri, 9 Apr 2021 17:52:46 +0000 (19:52 +0200)]
test: use an explicit no-op for file truncation