Zbigniew Jędrzejewski-Szmek
de70ff66dc
man: drop misplaced phrase
...
I think it was added in 6c2b9c8da1
as c&p.
2020-11-17 11:46:50 +01:00
Zbigniew Jędrzejewski-Szmek
dbc29e9175
network: use the common "cannot" form
...
Just for consistency.
2020-11-17 10:55:36 +01:00
Zbigniew Jędrzejewski-Szmek
7ad41997d1
man/systemd.netdev: remove bogus markup
...
There is no "Multicast" constant, and NULL doesn't make sense in the
context of addresses.
2020-11-17 10:55:12 +01:00
Zbigniew Jędrzejewski-Szmek
e375ceb640
man/systemd.netdev: don't say "ranges"
2020-11-17 10:43:13 +01:00
Yu Watanabe
042b028ae9
NEWS: slightly fix explanation about oomd
2020-11-17 10:27:00 +01:00
Yu Watanabe
9f2c260ef9
man: DHCPv6PrefixDelegation= is disabled by dafault
2020-11-17 10:27:00 +01:00
Yu Watanabe
70a51d7e08
NEWS: add several entries for networkd
2020-11-17 10:27:00 +01:00
Yu Watanabe
7a5b649fc0
Merge pull request #17583 from systemd/oomd-and-user-slices
...
Make oomd easier to enable and user slices to NEWS
2020-11-12 22:12:31 +09:00
Zbigniew Jędrzejewski-Szmek
9101cd1a23
NEWS: describe the new user slices
2020-11-12 13:32:39 +01:00
Zbigniew Jędrzejewski-Szmek
08c1864f0d
meson: allow oomd to be enabled even in release mode
...
A distro (Fedora in particular) may want to enable oomd in a unstable
branch for testing, even though the package as a whole is compiled in release
mode. Let's emit a warning but otherwise allow this.
2020-11-12 13:25:40 +01:00
perry_yuan
617acbdaa4
hwdb: 60-keyboard:: add Dell Privacy Micmute Hotkey
...
Dell new Privacy feature provide new hardware level privacy
protect for users,it needs to map the scan code to F20 micmute
Signed-off-by: Perry Yuan <perry_yuan@dell.com>
2020-11-12 12:01:46 +01:00
Zbigniew Jędrzejewski-Szmek
141fdc8ada
Merge pull request #17561 from yuwata/man
2020-11-12 11:29:03 +01:00
Jörg Thalheim
d7aa78c32f
meson: add option to skip installing to $sysconfdir
...
This is useful for development where overwriting files out side
the configured prefix will affect the host as well as stateless
systems such as NixOS that don't let packages install to /etc but handle
configuration on their own.
Alternative to https://github.com/systemd/systemd/pull/17501
tested with:
$ mkdir inst build && cd build
$ meson \
-Dcreate-log-dirs=false \
-Dsysvrcnd-path=$(realpath ../inst)/etc/rc.d \
-Dsysvinit-path=$(realpath ../inst)/etc/init.d \
-Drootprefix=$(realpath ../inst) \
-Dinstall-sysconfdir=false \
--prefix=$(realpath ../inst) ..
$ ninja install
2020-11-12 11:21:46 +01:00
Yu Watanabe
faa73d4e0c
license: LGPL-2.1+ -> LGPL-2.1-or-later
...
Follow-up for db9ecf0501
.
2020-11-12 10:50:23 +01:00
Yu Watanabe
6b44ad0bf8
man: set constant tag to NUL or NULL
2020-11-12 17:10:36 +09:00
Yu Watanabe
725d9713a9
man: append parentheses for function name
2020-11-12 17:10:32 +09:00
Yu Watanabe
af7ce3faf8
man: fix tag
2020-11-12 17:07:13 +09:00
Yu Watanabe
c660668ed9
man: mention that sd_bus_call() may return a negative errno mapped from D-Bus error reply
...
Closes #17556 .
2020-11-12 17:06:33 +09:00
Yu Watanabe
23243adf69
man: add missing period
2020-11-12 16:33:14 +09:00
Yu Watanabe
9429ee6a89
Merge pull request #17567 from keszybz/various-small-cleanups
...
Various small cleanups
2020-11-12 16:30:06 +09:00
Zbigniew Jędrzejewski-Szmek
ca121e20c4
meson: use "_" as separator in test names
...
":" is prettier, but meson 0.56+ doesn't like it:
src/systemd/meson.build:73: DEPRECATION: ":" is not allowed in test name "cc-sd-bus.h:c", it has been replaced with "_"
src/systemd/meson.build:73: DEPRECATION: ":" is not allowed in test name "cc-sd-bus.h:c-ansi", it has been replaced with "_"
...
Fixes #17568 .
2020-11-11 16:58:05 +01:00
Lennart Poettering
23dce98e89
Merge pull request #16603 from benzea/benzea/special-app-slice
...
Use app.slice by default in user manager (and define special user slices)
2020-11-11 14:11:02 +01:00
Zbigniew Jędrzejewski-Szmek
b5e798de20
NEWS,man: tweak the description of FixedRandomDelay=
...
Explain why this is useful, but don't describe the implementation exactly,
since we're likely to want to change details in the future.
2020-11-11 19:10:34 +09:00
Zbigniew Jędrzejewski-Szmek
5ee24fa0a0
user: move "extrinsic" units to their root slice
...
With the grandparent change to move most units to app.slice,
those units would be ordered After=app.slice which doesn't make any sense.
Actually they appear earlier, before the manager is even started, and
conceputally it doesn't seem useful to put them under any slice.
2020-11-10 17:33:32 +01:00
Zbigniew Jędrzejewski-Szmek
a54bcb9016
Merge pull request #17566 from poettering/v247-rc2-prep
...
V247 rc2 prep
2020-11-10 16:59:30 +01:00
Zbigniew Jędrzejewski-Szmek
4d5f52e77e
basic/fileio: constify struct timespec arguments
2020-11-10 15:52:32 +01:00
Zbigniew Jędrzejewski-Szmek
b5c474f69b
libsystemd-network: add comment explaining unusual memory access
...
Inspired by coverity CID#1435984. I'm confused by the union definion every time I look at it...
Let's at least add a comment to help future readers.
2020-11-10 15:52:32 +01:00
Zbigniew Jędrzejewski-Szmek
44ee03d111
tree-wide: unsetenv cannot fail
...
... when called with a valid environment variable name. This means that
any time we call it with a fixed string, it is guaranteed to return 0.
(Also when the variable is not present in the environment block.)
2020-11-10 15:52:32 +01:00
Zbigniew Jędrzejewski-Szmek
063f9f0da9
basic/env-util: add little helper to call setenv or unsetenv
2020-11-10 15:48:14 +01:00
Zbigniew Jędrzejewski-Szmek
39c79477ac
pid1: expose "extrinsic" status of swaps and mounts
...
The only visible change from this is that we show Extrinsic: yes/no
in dumps for swap units (this was already done for mount units).
2020-11-10 14:42:42 +01:00
Lennart Poettering
af8e571450
man: properly list relative time event source API in man page
...
The content was already there, but it wasn't listed in the header
metadata. Fix that.
2020-11-10 14:20:06 +01:00
Zbigniew Jędrzejewski-Szmek
55c540d39f
sd-event: minor modernization
...
With this change the pattern used for epoll_ctl() is the same in all calls in
this file. Consistency FTW!
2020-11-10 14:19:20 +01:00
Zbigniew Jędrzejewski-Szmek
ac9f2640cb
sd-event: increase n_enabled_child_sources just once
...
Neither source_child_pidfd_register() nor event_make_signal_data() look at
n_enabled_child_sources.
2020-11-10 14:19:20 +01:00
Zbigniew Jędrzejewski-Szmek
d2eafe61ca
sd-event: update state at the end in event_source_enable
...
Coverity in CID#1435966 was complaining that s->enabled is not "restored" in
all cases. But the code was actually correct, since it should only be
"restored" in the error paths. But let's still make this prettier by not setting
the state before all operations that may fail are done.
We need to set .enabled for the prioq reshuffling operations, so move those down.
No functional change intended.
2020-11-10 14:18:47 +01:00
Lennart Poettering
e1909b2207
hwdb: update
2020-11-10 14:16:17 +01:00
Lennart Poettering
53eedd5011
git-contrib: exclude -rc tags
2020-11-10 14:12:27 +01:00
Lennart Poettering
6fc5b95124
update NEWS
2020-11-10 14:12:14 +01:00
Lennart Poettering
394131d5be
Merge pull request #17497 from anitazha/randomizeonce
...
timer: add new feature FixedRandomDelay=
2020-11-10 13:29:04 +01:00
onlybugreports
c9b3e1d380
Add Logitech G403 Prodigy Gaming Mouse to hwdb. ( #17537 )
...
This PR adds logitech G403 to the hwdb.
Settings were obtained with 'sudo mouse-dpi-tool /dev/input/event3' and 'ratbagctl hollering-marmot info'.
2020-11-10 13:16:13 +01:00
Lennart Poettering
4165a0590d
Merge pull request #17555 from yuwata/ethtool-get-driver
...
ethtool: make ethtool_get_driver() return -ENODATA if driver is an empty string.
2020-11-10 13:15:10 +01:00
Yu Watanabe
41d544a1c1
journal: refuse skip parameter for sd_journal_next_skip() larger than INT_MAX
...
Fixes #17502 .
2020-11-10 13:14:42 +01:00
Zbigniew Jędrzejewski-Szmek
b8aac5014c
Merge pull request #17431 from msekletar/udev-link-update-race
...
udev: make algorithm that selects highest priority devlink less susceptible to race conditions
2020-11-10 09:41:57 +01:00
Yu Watanabe
6272aef5ff
sd-bus: drop redundant abs()
...
strerror_safe() internally applies abs().
2020-11-10 09:24:34 +01:00
Yu Watanabe
72585a584d
core: add missing oom check
...
Fixes #17552 .
2020-11-10 09:22:43 +01:00
Zbigniew Jędrzejewski-Szmek
d61db498bf
udev: log when we fail to query ID_NET_DRIVER
...
Inspired by #17532 .
2020-11-10 09:18:53 +01:00
Zbigniew Jędrzejewski-Szmek
a1b24ee147
Merge pull request #17551 from yuwata/radv-router-lifetime
...
network: about router lifetime
2020-11-09 21:07:16 +01:00
Yu Watanabe
861de64e68
ethtool: make ethtool_get_driver() return -ENODATA if ioctl succeeds but driver name is empty
...
Inspired by #17532 .
2020-11-10 01:14:42 +09:00
Yu Watanabe
a93187ced5
ethtool: add several assertions
2020-11-10 01:04:39 +09:00
Yu Watanabe
2075e596cf
network: convert router lifetime from usec_t to uint16_t
2020-11-10 00:04:52 +09:00
Yu Watanabe
dd1b187075
sd-radv: refuse to set preference except medium when router lifetime is zero
2020-11-10 00:04:52 +09:00