Łukasz Stelmach
aa5ae9711e
smack: Add DefaultSmackProcessLabel to user.conf and system.conf
...
DefaultSmackProcessLabel tells systemd what label to assign to its child
process in case SmackProcessLabel is not set in the service file. By
default, when DefaultSmackProcessLabel is not set child processes inherit
label from systemd.
If DefaultSmackProcessLabel is set to "/" (which is an invalid character
for a SMACK label) the DEFAULT_SMACK_PROCESS_LABEL set during compilation
is ignored and systemd act as if the option was unset.
2022-07-12 22:47:32 +01:00
Luca Boccassi
8880c3be82
Merge pull request #23982 from medhefgo/boot-misc
...
boot: Misc cleanups
2022-07-12 22:43:14 +01:00
Luca Boccassi
768456e8e6
Merge pull request #23979 from DaanDeMeyer/nspawn-relative-paths
...
nspawn: Support relative paths for --bind and --overlay
2022-07-12 22:41:10 +01:00
Daan De Meyer
448f737730
nspawn: Support relative source paths for --bind and --overlay
2022-07-12 13:14:11 +02:00
Jan Janssen
0692f533f2
bcd: Clean up includes
...
Also, now that bcd.h does not depend on efi.h anymore we can now
properly include it in the test instead.
2022-07-12 11:29:59 +02:00
Jan Janssen
427ba45b13
bcd: Use std alignof
2022-07-12 11:29:18 +02:00
Jan Janssen
93521e55e5
boot: Remove _cleanup_freepool_
2022-07-12 11:24:49 +02:00
Jan Janssen
1f6a5d9a65
boot: Use int instead of INTN
2022-07-12 11:24:49 +02:00
Jan Janssen
34938db5b3
boot: Use uintptr_t when converting EFI_PHYSICAL_ADDRESS
...
uintptr_t is the more appropriate type when casting to/from pointers.
2022-07-12 11:24:19 +02:00
Yu Watanabe
12a233265d
Merge pull request #23980 from yuwata/test-network
...
test-network: tiny output improvements
2022-07-12 01:27:36 +02:00
Yu Watanabe
12799947e2
Merge pull request #23972 from yuwata/sd-device
...
sd-device: do not return -ENOENT by sd_device_get_is_initialized()
2022-07-11 22:44:56 +02:00
Michal Stanke
8170627796
Fix automatic screen rotation for Asus Transformer T100TAM
2022-07-11 22:44:12 +02:00
Yu Watanabe
64d847b886
Merge pull request #23974 from yuwata/align-tables
...
basic: align tables
2022-07-11 22:43:45 +02:00
Yu Watanabe
e755ad61ba
test-network: support to remove routing policy rules with l3mdev flag
2022-07-11 22:39:26 +02:00
Yu Watanabe
b5dac5b0de
test-network: merge stdout and stderr of invoked command by call()
...
Otherwise, the logs may be messed up.
2022-07-11 22:38:21 +02:00
Lennart Poettering
90bc309aa2
man: explain why pam_systemd_home wants to be in all four stacks
...
Suggested here:
https://bugzilla.redhat.com/show_bug.cgi?id=2085485#c5
2022-07-11 21:03:58 +01:00
Frantisek Sumsal
9dc86a1414
Merge pull request #23969 from yuwata/test-network
...
test-network: fixlets and performance improvements
2022-07-11 20:03:04 +00:00
Daan De Meyer
f075e32ca1
nspawn: Rewrap --overlay docs
2022-07-11 21:43:41 +02:00
Daan De Meyer
a50947c56b
nspawn: Drop unnecessary intermediate variable
2022-07-11 21:38:26 +02:00
Topi Miettinen
3295d0d896
sd-netlink: add sizes for some IP and Ethernet addresses
...
Add sizes for some uses of NETLINK_TYPE_IN_ADDR and NETLINK_TYPE_ETHER_ADDR
types.
2022-07-11 18:37:38 +00:00
Yu Watanabe
a962d85797
test-network: various cleanups
...
- introduce several helper functions
- do not list unit files, but remove the runtime unit directory in
tearDown().
- do not list used interfaces, but remove all interfaces previously not
exists in tearDown().
- save routes and routing policy rules before running tests, and flush
unnecessary routes and rules in each tearDown() calls.
- drop many time.sleep() calls.
- call tearDown() after each sub tests.
- shorten code.
- several coding style fixes.
- etc, etc...
Hopefully, this improves performance of the test.
2022-07-11 19:57:24 +02:00
Lennart Poettering
81a965187d
update TODO
2022-07-11 17:37:41 +02:00
Yu Watanabe
286bf3a940
test-network: extend timeout for DHCP lease to be expired
...
Fixes #23964 .
2022-07-11 16:54:45 +02:00
Yu Watanabe
4eb5f1db44
sd-device: shorten code a bit
2022-07-11 15:27:21 +02:00
Lennart Poettering
39e419a2b5
tree-wide: trivial tweaks
2022-07-11 15:11:58 +02:00
Lennart Poettering
9c18b36372
update TODO
2022-07-11 15:11:58 +02:00
Luca Boccassi
3a883d36eb
mkosi: update to latest main
...
Fix build failure on SUSE Tumbleweed due to config changes
2022-07-11 13:29:28 +01:00
Yu Watanabe
ef674d0ea3
unit-def: align string tables
2022-07-11 14:19:59 +02:00
Yu Watanabe
5c86cec1f3
virt: align tables
2022-07-11 14:13:33 +02:00
Yu Watanabe
591c186f2f
sd-device: make sd_device_get_is_initialized() not return -ENOENT
2022-07-11 14:08:52 +02:00
Luca Boccassi
8924cbf34a
Merge pull request #23962 from keszybz/taint-flag-support-ended
...
Taint flag "support-ended"
2022-07-10 22:42:56 +01:00
Zbigniew Jędrzejewski-Szmek
4bd035153b
manager: add taint flag "support-ended"
...
In the welcome line, use NAME= as the fallback for PRETTY_NAME=.
PRETTY_NAME= doesn't have to be set, but NAME= should.
Example output:
---
Welcome to Fedora Linux 37 (Rawhide Prerelease)!
[ !! ] This OS version (Fedora Linux 37 (Rawhide Prerelease)) is past its end-of-support date (1999-01-01)
Queued start job for default target graphical.target.
[ OK ] Created slice system-getty.slice.
---
2022-07-10 14:33:52 +02:00
Zbigniew Jędrzejewski-Szmek
8bf9eb7e6b
man: update the description of taint flags
...
We had a description in README, and an outdated list in the man page.
I think we should keep a reference-style list in the man page. The description
in README is more free-form.
2022-07-09 19:18:14 +02:00
Zbigniew Jędrzejewski-Szmek
caa779abb6
man: redefine SUPPORT_END= to mean one day earlier
...
I thought it would be nice to specify the last day of support, because I
thought it'd seem more natural. But in practice this doesn't work well, because
such a truncated timestamp is usually taken to mean midnight that starts the
given date. I.e. 2011-12-13 is a shorthand for 2011-12-13 00:00:00 and not
2011-12-13 23:59:59.999999999999. Let's instead specify that the given date is
the first unsupported day, which is meaningful for humans, and let the computer
treat it as midnight, which gives consistent interpratation.
2022-07-09 18:02:34 +02:00
Yu Watanabe
0d609349ba
resolve: introduce FORMAT_DNS_RCODE() macro
...
Fixes #23958 .
2022-07-09 19:51:23 +09:00
Frantisek Sumsal
c9472f9102
Merge pull request #23959 from yuwata/test-network
...
test-network: several performance improvements
2022-07-09 08:21:32 +00:00
Yu Watanabe
37611ccb19
test-network: use wait_operstate() at one more place
2022-07-09 12:20:11 +09:00
Yu Watanabe
894ff7d1ab
test-network: suppress periodic output in wait_operstate()
2022-07-09 12:19:52 +09:00
Yu Watanabe
163d095fc3
test-network: disable debugging logs from networkctl, resolvectl, and so on
2022-07-09 12:19:20 +09:00
Yu Watanabe
589af70b87
test-network: merge two DHCPv6 client tests
2022-07-09 11:44:25 +09:00
Yu Watanabe
4b31fc88ac
test-network: replace sleep with wait_address() and wait_address_dropped()
2022-07-09 11:44:25 +09:00
Yu Watanabe
0730e3767d
test-network: merge two more tests with test_dhcp_client_ipv4_only
2022-07-09 11:44:25 +09:00
Yu Watanabe
3d8e0aa2de
test-network: merge tests for UseDNS=
2022-07-09 11:44:25 +09:00
Yu Watanabe
2d7a594fee
test-network: merge two IPv4LL tests
2022-07-09 11:44:25 +09:00
Yu Watanabe
15519a81ac
test-network: drop test_dhcp_client_ipv4_ipv6
...
As the test is covered by test_dhcp_client_reuse_address_as_static.
2022-07-09 11:44:25 +09:00
Yu Watanabe
3857d367f0
sd-dhcp-client: fix log message
2022-07-09 11:44:25 +09:00
Yu Watanabe
2b6a24a602
test-network: check DHCPv4 address in more detail
...
Also, this drops redundant address check through networkctl.
2022-07-09 11:44:25 +09:00
Yu Watanabe
e81083f2d8
test-network: drop 25-dhcp-v4-server-veth-peer.network
2022-07-09 11:44:25 +09:00
Yu Watanabe
b17947d9cf
test-network: drop meaningless test
...
On DHCPv6 lease renew, the kernel do not drop static routes, and hence
we do not try to reassign them. Hence, the test is mostly meaningless.
2022-07-09 11:44:25 +09:00
Yu Watanabe
063c7e9b13
test-network: introduce read_dnsmasq_log_file() helper function
...
This reduces the number of times that the log file is read.
Also, dropped unnecessary dump of the log file.
2022-07-09 11:44:25 +09:00