Zbigniew Jędrzejewski-Szmek
d4de2b2aff
man: document that .link/.network/.netdev files have the usual ini syntax
...
Fixes #1266 .
2020-03-03 19:11:59 +01:00
Zbigniew Jędrzejewski-Szmek
870d38dca9
docs: add .link/.network/.netdev files to interface stability chart
...
Fixes #9850 .
2020-03-03 19:11:45 +01:00
Zbigniew Jędrzejewski-Szmek
c7fe06fb0a
man: document the default value for IPv6AcceptRA=
...
Fixes #14121 .
2020-03-03 18:36:03 +01:00
Zbigniew Jędrzejewski-Szmek
cd517eb731
man: specify that Domains= is a space-separated list
...
Fixes #14998 .
2020-03-03 18:03:53 +01:00
Daniel Lublin
1699f53788
hwdb: add corrections for Olimex Teres-I to keyboard hwdb
...
The firmware of the Olimex Teres-I (a DIY laptop kit) seems to have wrong
scancodes.
Fixes #15003 .
2020-03-03 18:00:23 +01:00
Zbigniew Jędrzejewski-Szmek
105a1a36cd
tree-wide: fix spelling of lookup and setup verbs
...
"set up" and "look up" are the verbs, "setup" and "lookup" are the nouns.
2020-03-03 15:02:53 +01:00
Zbigniew Jędrzejewski-Szmek
33eb1f2497
tree-wide: drop printk.devkmsg=on setting in various places
...
Since 6123dfaa72 this should not be necessary anymore.
2020-03-03 15:02:53 +01:00
Zbigniew Jędrzejewski-Szmek
a345d5c1c9
man,mkosi: use glibc-minimal-langpack for Fedora
...
This saves ~24MB of space, see
https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot .
2020-03-03 15:02:53 +01:00
Zbigniew Jędrzejewski-Szmek
95d311faea
man: bump fedora versions
2020-03-03 15:02:53 +01:00
Zbigniew Jędrzejewski-Szmek
7e0276b37a
Merge pull request #14874 from bluca/portable_detach_now_block
...
portablectl: block when stopping a unit on detach (--now)
2020-03-03 14:40:12 +01:00
Guido Günther
1c5b427f5d
hwdb: 60-sensor.hwdb: Add proximity sensor udev property ( #14845 )
...
Devices with proximity sensors can specify a near level that
indicates when an object is considered close to the device.
2020-03-03 14:40:00 +01:00
Christian Göttsche
fdb0405edd
selinux: check return value of string_to_security_class()
...
This should never happen, but better safe than sorry.
2020-03-03 14:17:52 +01:00
Vladimir Yerilov
81d4a026a6
drop unused translations
2020-03-03 13:57:29 +01:00
Vladimir Yerilov
d015652944
update Russian translation
2020-03-03 13:57:29 +01:00
Zbigniew Jędrzejewski-Szmek
1fb5a5edc7
sysusers: do not require /proc to be mounted
...
We're operating on known paths in root-owned directories here, so the detour
through toctou-safe methods that require /proc to be mounted is not necessary.
Should fix https://bugzilla.redhat.com/show_bug.cgi?id=1807768 .
2020-03-03 12:29:57 +01:00
Paul Menzel
a100fe3c27
NEWS: Use correct tense in v245 entry
2020-03-03 12:24:40 +01:00
Zbigniew Jędrzejewski-Szmek
6cb356ca9f
basic/fs-util: add a version of chmod_and_chown that doesn not use /proc
2020-03-03 11:56:44 +01:00
Zbigniew Jędrzejewski-Szmek
08c7c3216b
sysusers: many different errnos to express one condition
...
See https://bugzilla.redhat.com/show_bug.cgi?id=1807768 . It turns
out that sysusers cannot query if the group exists:
Failed to check if group dnsmasq already exists: No such process
...
Failed to check if group systemd-timesync already exists: No such process
When the same command is executed later, the issue does not occur. Not sure why
the behaviour in the initial transaction is different. But let's accept all
errors that the man pages list. We check if the user/group exists before creating
anyway, so this seems pretty safe.
2020-03-03 11:56:25 +01:00
Zbigniew Jędrzejewski-Szmek
d54bb63875
NEWS: two minor entries
2020-03-03 08:41:27 +01:00
Zbigniew Jędrzejewski-Szmek
9c4d3d7968
NEWS: update contributors list
2020-03-03 08:31:06 +01:00
Zbigniew Jędrzejewski-Szmek
8193040362
hwdb: update for v245-rc2
2020-03-03 11:54:18 +09:00
Susant Sahani
a75b211750
network: Move config_parse_ip_service_type to networkd-dhcp4.c and
...
rename
2020-03-03 11:53:49 +09:00
Zbigniew Jędrzejewski-Szmek
52c222db11
Merge pull request #14992 from keszybz/syslog-address-length-fix
...
Syslog address length fix
2020-03-02 21:31:24 +01:00
Zbigniew Jędrzejewski-Szmek
2b43402c84
ask-password-api: drop unneeded parentheses
2020-03-02 15:56:30 +01:00
Zbigniew Jędrzejewski-Szmek
86fca584c3
core/execute: use return value from sockaddr_un_set_path(), remove duplicate check
2020-03-02 15:56:30 +01:00
Zbigniew Jędrzejewski-Szmek
425d925f24
homed,userdb: don't use sockaddr_un_set_path() on fixed addresses
...
Let's use structured initialization and let the compiler do its job.
2020-03-02 15:56:30 +01:00
Zbigniew Jędrzejewski-Szmek
f36a9d5909
tree-wide: use the return value from sockaddr_un_set_path()
...
It fully initializes the address structure, so no need for pre-initialization,
and also returns the length of the address, so no need to recalculate using
SOCKADDR_UN_LEN().
socklen_t is unsigned, so let's not use an int for it. (It doesn't matter, but
seems cleaner and more portable to not assume anything about the type.)
2020-03-02 15:55:44 +01:00
Zbigniew Jędrzejewski-Szmek
0f18868723
test-sizeof: print size socklen_t
...
It returns 32 bits, unsigned on amd64, so it's probably similar everywhere
with glibc. But let's make the code generic, without assuming specific size
or signedness.
2020-03-02 15:54:57 +01:00
Zbigniew Jędrzejewski-Szmek
64177e9e4e
journald: fix forwarding to syslog
...
.msg_namelen was set to a bogus value before we actually stored the path in the
the structure. sockaddr_un_set_path() returns the length, so just use that.
Fixes #14799 .
2020-03-02 15:47:41 +01:00
Kevin P. Fleming
3b355677b8
RequireMountsFor in systemd-nspawn should wait for machine mount
...
This patch modifies the RequireMountsFor setting in systemd-nspawn@.service to wait for the machine instance directory to be mounted, not just /var/lib/machines.
Closes #14931
2020-03-02 19:37:51 +09:00
Yu Watanabe
ed78041033
Merge pull request #14991 from yuwata/man-fix-typo
...
assorted tiny fixes
2020-03-02 19:30:22 +09:00
HATAYAMA Daisuke
27f31daf3e
shared/logs-show: Remove unused OUTPUT_FOLLOW
...
As of the commit aae9a96d4b removing --follow
option in systemctl command, OUTPUT_FOLLOW has never been set anywhere. Let's
remove it.
The condition expression of the if-statement in show_journal() that refers to
OUTPUT_FOLLOW now thus evaluates always to true. Hence, the call of
sd_journal_wait() is in dead code, and the outer infinite for-loop is
meaningless, which we remove as cleanup.
There is no functional change by this commit.
2020-03-02 18:27:55 +09:00
Yu Watanabe
ef62949a23
network: make Type=ether match based on iftype
...
This makes Type= can match the type shown in networkctl.
Closes #14952 .
2020-03-02 08:52:18 +01:00
Yu Watanabe
f6c6af3811
test-network: add a test case for CAKE
2020-03-02 15:59:37 +09:00
Susant Sahani
ad8352f4ff
network: tc: introduce cake
...
CAKE (Common Applications Kept Enhanced)
Please see http://man7.org/linux/man-pages/man8/tc-cake.8.html
2020-03-02 15:59:37 +09:00
Susant Sahani
aa550d2a51
sd-netlink: introduce sd_netlink_message_append_s8() and friends
2020-03-02 15:59:32 +09:00
Yu Watanabe
f2c5c1296a
test-network: add a test case for sfb
2020-03-02 15:48:24 +09:00
Susant Sahani
982998b087
network: TC introduce sfb - Stochastic Fair Blue
...
Please see https://www.systutorials.com/docs/linux/man/8-tc-sfb/
2020-03-02 15:48:24 +09:00
Yu Watanabe
95edcf3fac
test-network: add a test case for GRED
2020-03-02 15:48:24 +09:00
Susant Sahani
609e8340bb
network: TC introduce GRED, Generic Random Early Detection
...
http://tldp.org/en/Traffic-Control-HOWTO/ar01s06.html
2020-03-02 15:48:24 +09:00
Yu Watanabe
bc0769c9f7
test-network: add a test case for PFIFO
2020-03-02 15:48:11 +09:00
Susant Sahani
a74760653c
network: TC introduce PFIFO
2020-03-02 15:48:00 +09:00
Yu Watanabe
f1de1eb3e3
test-network: add test case for HTB class
2020-03-02 15:46:28 +09:00
Yu Watanabe
19f86a6351
network: tc: support HTB class
2020-03-02 15:46:28 +09:00
Yu Watanabe
4666f63bb8
network: introduce struct TClass to prepare for supporting tc class
2020-03-02 15:46:28 +09:00
Yu Watanabe
0ebb76de8b
sd-netlink: introduce sd_rtnl_message_new_tclass() and friends
2020-03-02 15:46:28 +09:00
Yu Watanabe
34658df256
network: introduce TrafficControlKind to prepare for supporting tc class
2020-03-02 15:46:28 +09:00
Yu Watanabe
931c8c824a
test-network: add a test case for HTB
2020-03-02 15:46:28 +09:00
Yu Watanabe
b934ac3d6e
network: tc: support Hierarchy Token Bucket (HTB)
2020-03-02 15:46:28 +09:00
Yu Watanabe
2a09633117
network: tc: make Parent= take class id
2020-03-02 15:46:28 +09:00