Susant Sahani
0b83974b91
install: use ordered_hashmap_ensure_put
2021-01-18 21:12:32 +01:00
Susant Sahani
b5b9b0e7ba
network: Use TAKE_PTR
2021-01-18 21:11:31 +01:00
Susant Sahani
9fa3e794ac
network: network -- use ordered_hashmap_ensure_put
2021-01-18 21:11:01 +01:00
Susant Sahani
28d9587be5
network: address - use ordered_hashmap_ensure_put
2021-01-18 21:09:27 +01:00
Lennart Poettering
33295214fa
update TODO
2021-01-18 21:05:32 +01:00
Susant Sahani
9d6bb21f37
network: macsec - use ordered_hashmap_ensure_put
2021-01-18 20:16:50 +01:00
Luca Boccassi
fa7a3cd00e
test: run strace with -f and copy log out
2021-01-18 17:24:05 +00:00
Luca Boccassi
a9d34376e6
test: skip missing optional libraries in image install
...
Not all optional libraries might be available on developers machines,
so log and skip.
Also some pkg-config files are broken (eg: tss2 on Debian Stable) so
skip if the required variables are missing, and improve logs.
2021-01-18 17:24:05 +00:00
Luca Boccassi
5e8deb94c6
core: add DBUS method to bind mount new nodes without service restart
...
Allow to setup new bind mounts for a service at runtime (via either
DBUS or a new 'systemctl bind' verb) with a new helper that forks into
the unit's mount namespace.
Add a new integration test to cover this.
Useful for zero-downtime addition to services that are running inside
mount namespaces, especially when using RootImage/RootDirectory.
If a service runs with a read-only root, a tmpfs is added on /run
to ensure we can create the airlock directory for incoming mounts
under /run/host/incoming.
2021-01-18 17:24:05 +00:00
Luca Boccassi
94293d65cd
MountAPIVFS: always mount a tmpfs on /run
...
We need a writable /run for most operations, but in case a read-only
RootImage (or similar) is used, by default there's no additional
tmpfs mount on /run. Change this behaviour and document it.
2021-01-18 17:24:05 +00:00
Luca Boccassi
f7c18d3de8
machine: use file descriptor when chasing bind mount sources
...
Allows to always operate on pinned inodes, rather than paths, so that
races are less likely
2021-01-18 17:24:05 +00:00
Luca Boccassi
98f654fdea
machine: enter target PID namespace when adding a live mount
...
machinectl fails since 21935150a0 as it's now
mounting onto a file descriptor in a target namespace, without joining the
target's PID namespace.
Note that it's not enough to setns CLONE_NEWPID, but a double-fork is required
as well, as implemented by namespace_fork().
Add a test case to TEST-13-NSPAWN to cover this use case.
2021-01-18 17:24:05 +00:00
Luca Boccassi
2338a175fd
shared/mount-util: use namespace_fork utils
2021-01-18 17:23:46 +00:00
Luca Boccassi
724e689715
machine: adjust error message to use 'normalized' instead of ../
2021-01-18 17:23:12 +00:00
Luca Boccassi
6af52c3a45
machine/basic: factor out helper function to add airlocked mount to namespace
2021-01-18 17:23:11 +00:00
moson-mo
2a613b34cc
hwdb: Add Logitech MX 518 Legendary mouse
...
Add Logitech MX 518 Legendary model to hwdb.
2021-01-18 16:49:30 +01:00
Zbigniew Jędrzejewski-Szmek
9dffdb4e3c
Merge pull request #18289 from yuwata/core-load-fragment-cleanups
...
pid1: several cleanups for conf parsers
2021-01-18 16:48:44 +01:00
Susant Sahani
d1ce835989
network: bond - use ordered_set_ensure_put
2021-01-18 13:00:35 +01:00
Susant Sahani
becee4da44
journal: context - use hashmap_ensure_put
2021-01-18 12:16:34 +01:00
Susant Sahani
08ff6fcffb
journal: context - Use _cleanup_free_
2021-01-18 12:13:51 +01:00
Yu Watanabe
aac6673f02
network: address-pool: also check conflicts with foreign addresses
...
Fixes CI issue found in
https://github.com/systemd/systemd-centos-ci/pull/334 .
2021-01-17 23:23:08 +00:00
Jonathan McDowell
0da7f9e589
hwdb: Add NEWYES 10" LCD writing tablet ( #18274 )
2021-01-18 08:39:07 +10:00
Yu Watanabe
2400743e1f
core: add logs when credential value is duplicated
2021-01-18 01:32:49 +09:00
Yu Watanabe
8c6493e59e
core: make config_parse_documentation() explicitly return 0 on success
2021-01-18 01:27:14 +09:00
Yu Watanabe
16eb0c4ad0
core: add missing log_oom()
2021-01-18 01:25:05 +09:00
Yu Watanabe
ca9169f47f
core: do not fail when an invalid cpu affinity is specified
2021-01-18 01:22:48 +09:00
Yu Watanabe
22ede2c1dc
Merge pull request #18286 from ssahani/net-1
...
tree-wide: more use of hashmap_ensure_put() and TAKE_PTR()
2021-01-18 01:18:17 +09:00
Lennart Poettering
7ed7d3e6fd
systemctl: use right type 'size_t' for counting memory
...
Follow-up for e363b0e4fc
(Mostly a theoretical fix. On 64bit systems unsigned is 32bit, and we
had more than 2^32 units thing would fall apart here.)
2021-01-18 01:17:27 +09:00
Susant Sahani
5a3e1cb918
network: tc use TAKE_PTR
2021-01-17 23:26:14 +09:00
Susant Sahani
a4aba097ad
udevadm-monitor: use TAKE_PTR
2021-01-17 14:25:21 +01:00
Susant Sahani
39f930c215
udevadm-monitor: Use hashmap_ensure_put
2021-01-17 14:25:18 +01:00
Susant Sahani
a3b42af5b6
udev-rules: Use hashmap_ensure_put
2021-01-17 14:25:15 +01:00
Susant Sahani
15c69d0700
resolved-dnssd: Use TAKE_PTR
2021-01-17 14:25:10 +01:00
Susant Sahani
276abbeebc
resolved-dnssd: Use hashmap_ensure_put
2021-01-17 14:25:07 +01:00
Susant Sahani
daced7483b
resolved-dns-packet: Use TAKE_PTR
2021-01-17 14:25:05 +01:00
Susant Sahani
3004fcd0b8
resolved-dns-packet: Use hashmap_ensure_put
2021-01-17 14:24:59 +01:00
Susant Sahani
71fb97c7c4
resolved-bus: Use hashmap_ensure_put
2021-01-17 14:24:50 +01:00
Susant Sahani
4bc2516856
journal-remote: use hashmap_ensure_put
2021-01-17 14:24:44 +01:00
Susant Sahani
f85f5f0dc8
core: load fragment - use hashmap_ensure_put
2021-01-17 14:24:41 +01:00
Susant Sahani
53dba3ef07
core: job - use hashmap_ensure_put
2021-01-17 14:24:36 +01:00
Yu Watanabe
25351bc557
basic: drop unused module
...
Follow-up for 35b42e5600 .
2021-01-17 11:48:05 +00:00
Yu Watanabe
6e75df0866
Merge pull request #18284 from ssahani/net-7
...
Tree wide tighten variable scope used in loop
2021-01-17 20:08:59 +09:00
Susant Sahani
ebffea2a25
network: Use ordered_hashmap_ensure_put ( #18233 )
2021-01-17 20:07:02 +09:00
Yu Watanabe
f9ead1a2f4
Merge pull request #18230 from ssahani/macvlan-bcqueuelen
...
network: macvlan - add support to configure rx queue for broadcast / multicast
2021-01-17 20:05:22 +09:00
Lennart Poettering
3dc536e0c5
Merge pull request #17576 from gportay/veritysetup-add-support-for-dm-verity-flags
...
veritysetup: add support for veritytab
2021-01-17 11:18:25 +01:00
Susant Sahani
cf55fe4a4c
core: dbus - use hashmap_ensure_put
2021-01-17 09:49:14 +01:00
Susant Sahani
dca0a4e131
network: macvlan - add support to configure rx queue for broadcast/multicast
2021-01-17 08:39:28 +01:00
Susant Sahani
f6a0cfa5a5
journal: journal-file - tighten variable scope used in loop
2021-01-17 08:24:12 +01:00
Susant Sahani
d007c58317
machine: machined-dbus - tighten variable scope used in loop
2021-01-17 08:24:12 +01:00
Yu Watanabe
38f3e0a58d
tree-wide: fix typo
2021-01-17 16:20:27 +09:00