]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
4 years agoMerge pull request #14890 from yuwata/network-tc-next
Yu Watanabe [Fri, 6 Mar 2020 16:44:15 +0000 (01:44 +0900)] 
Merge pull request #14890 from yuwata/network-tc-next

network: tc-next

4 years agoudev: support to update flow control parameter
Yu Watanabe [Fri, 7 Feb 2020 11:06:44 +0000 (20:06 +0900)] 
udev: support to update flow control parameter

Closes #14770.

4 years agonetwork: Add support to ignore foreign routes
Susant Sahani [Tue, 11 Feb 2020 12:35:11 +0000 (13:35 +0100)] 
network: Add support to ignore foreign routes

4 years agonetwork: add setting to support RA without DHCPv6 client
Yu Watanabe [Sat, 15 Feb 2020 16:32:49 +0000 (01:32 +0900)] 
network: add setting to support RA without DHCPv6 client

Closes #13991.

4 years agonetwork: Allow DHCPv6 client to start without router's managed flag.
Susant Sahani [Sat, 15 Feb 2020 12:51:34 +0000 (13:51 +0100)] 
network: Allow DHCPv6 client to start without router's managed flag.

4 years agosystemd-resolved: use hostname for certificate validation in DoT
Jörg Thalheim [Tue, 3 Mar 2020 23:31:25 +0000 (23:31 +0000)] 
systemd-resolved: use hostname for certificate validation in DoT

Widely accepted certificates for IP addresses are expensive and only
affordable for larger organizations. Therefore if the user provides
the hostname in the DNS= option, we should use it instead of the IP
address.

4 years agoMerge pull request #14893 from benzea/benzea/generator-path-environment-variables
Chris Down [Fri, 6 Mar 2020 16:15:08 +0000 (16:15 +0000)] 
Merge pull request #14893 from benzea/benzea/generator-path-environment-variables

Generator path environment variables

4 years agoMerge pull request #14904 from ssahani/dhcp-server-force-renew
Chris Down [Fri, 6 Mar 2020 16:14:30 +0000 (16:14 +0000)] 
Merge pull request #14904 from ssahani/dhcp-server-force-renew

network: Introduce force renew for DHCP server

4 years agoMerge pull request #14956 from ssahani/delegated-prefix-14474
Chris Down [Fri, 6 Mar 2020 16:13:13 +0000 (16:13 +0000)] 
Merge pull request #14956 from ssahani/delegated-prefix-14474

nettwork: introduce delegated prefix assign

4 years agoMerge pull request #15010 from cgzones/selinux_reload_cache_enforce
Chris Down [Fri, 6 Mar 2020 16:12:48 +0000 (16:12 +0000)] 
Merge pull request #15010 from cgzones/selinux_reload_cache_enforce

SELinux: add trigger for policy reload and cache enforced status

4 years agocore: Fix resolution of nested DM devices for cgroups
Benjamin Berg [Thu, 5 Mar 2020 10:35:45 +0000 (11:35 +0100)] 
core: Fix resolution of nested DM devices for cgroups

When using the cgroups IO controller, the device that is controlled
should always be the toplevel block device. This did not get resolved
correctly for an LVM volume inside a LUKS device, because the code would
only resolve one level of indirection.

Fix this by recursively looking up the originating block device for DM
devices.

Resolves: #15008

4 years agoFix typo on initrd-root-device.target
antznin [Fri, 6 Mar 2020 12:51:28 +0000 (13:51 +0100)] 
Fix typo on initrd-root-device.target

4 years agoMerge pull request #15034 from keszybz/hwdb-update v245
Zbigniew Jędrzejewski-Szmek [Fri, 6 Mar 2020 12:38:52 +0000 (13:38 +0100)] 
Merge pull request #15034 from keszybz/hwdb-update

4 years agoNEWS: final contributor update for v245
Zbigniew Jędrzejewski-Szmek [Fri, 6 Mar 2020 12:25:21 +0000 (13:25 +0100)] 
NEWS: final contributor update for v245

4 years agoMerge pull request #15022 from keszybz/make-units-remain-after-exit
Yu Watanabe [Fri, 6 Mar 2020 12:14:36 +0000 (21:14 +0900)] 
Merge pull request #15022 from keszybz/make-units-remain-after-exit

Make units remain after exit

4 years agohwdb: update for v245 15034/head
Zbigniew Jędrzejewski-Szmek [Fri, 6 Mar 2020 11:41:29 +0000 (12:41 +0100)] 
hwdb: update for v245

4 years agounits: skip modprobe@.service if the unit appears to be already loaded
Zbigniew Jędrzejewski-Szmek [Thu, 5 Mar 2020 06:20:49 +0000 (07:20 +0100)] 
units: skip modprobe@.service if the unit appears to be already loaded

Possible alternative to #14819.

For me, setting RemainAfterExit=yes would be OK, but if people think that it
might cause issues, then this could be a reasonable alternative that still
let's us skip the invocation of the separate binary.

4 years agotreewide: more portable bash shebangs
Jörg Thalheim [Wed, 4 Mar 2020 09:35:06 +0000 (09:35 +0000)] 
treewide: more portable bash shebangs

As in 2a5fcfae024ffc370bb780572279f45a1da3f946
and in 3e67e5c9928f8b1e1c5a63def88d53ed1fed12eb
using /usr/bin/env allows bash to be looked up in PATH
rather than being hard-coded.

As with the previous changes the same arguments apply
- distributions have scripts to rewrite shebangs on installation and
  they know what locations to rely on.
- For tests/compilation we should rather rely on the user to have setup
  there PATH correctly.

In particular this makes testing from git easier on NixOS where do not provide
/bin/bash to improve compose-ability.

4 years agoUse Finished instead of Started for Type=oneshot services (#14851)
Zbigniew Jędrzejewski-Szmek [Thu, 5 Mar 2020 16:24:19 +0000 (17:24 +0100)] 
Use Finished instead of Started for Type=oneshot services (#14851)

UnitStatusMessageFormats.finished_job, if present,
will be called with the same arguments as
job_get_done_status_message_format() to provide a format string
appropriate for the context

This commit replaces "Started" with "Finished" for started oneshot
units, as mentioned in the referenced issue

Closes #2458.

4 years agounits: make systemd-network-generator.service stay around 15022/head
Zbigniew Jędrzejewski-Szmek [Thu, 5 Mar 2020 07:08:31 +0000 (08:08 +0100)] 
units: make systemd-network-generator.service stay around

Once done, its done, and shouldn't be run again.

4 years agoMerge pull request #15013 from systemd/systemctl-list-dependencies
Yu Watanabe [Thu, 5 Mar 2020 11:54:58 +0000 (20:54 +0900)] 
Merge pull request #15013 from systemd/systemctl-list-dependencies

systemctl list-dependencies: fix duplicate output and take multiple arguments

4 years agoMerge pull request #15023 from keszybz/network-generator-man
Yu Watanabe [Thu, 5 Mar 2020 11:54:32 +0000 (20:54 +0900)] 
Merge pull request #15023 from keszybz/network-generator-man

Man page for systemd-network-generator

4 years agosystemctl: make list-dependencies take multiple arguments 15013/head
Zbigniew Jędrzejewski-Szmek [Wed, 4 Mar 2020 08:55:29 +0000 (09:55 +0100)] 
systemctl: make list-dependencies take multiple arguments

Other similar commands do, no reason not to do this here too.

4 years agoman: mention networkctl in the networkd man page 15023/head
Zbigniew Jędrzejewski-Szmek [Thu, 5 Mar 2020 07:20:31 +0000 (08:20 +0100)] 
man: mention networkctl in the networkd man page

4 years agoman: add systemd-network-generator.service(8)
Zbigniew Jędrzejewski-Szmek [Thu, 5 Mar 2020 07:05:24 +0000 (08:05 +0100)] 
man: add systemd-network-generator.service(8)

It's a bit bare-bones, but it should be enough to point the reader in the right
direction.

4 years agounits: restore RemainAfterExit=yes in systemd-vconsole-setup.service
Zbigniew Jędrzejewski-Szmek [Thu, 5 Mar 2020 06:11:09 +0000 (07:11 +0100)] 
units: restore RemainAfterExit=yes in systemd-vconsole-setup.service

This reverts the second part of 8125e8d38e3aa099c7dce8b0161997b8842aebdc.
The first part was reverted in 750e550eba362096d56a35104c6a32631aa67b8e.
The problem starts when s-v-s.s is pulled in by something that is then pulled
in by sysinit.target. Every time a unit is started, systemd recursively checks
all dependencies, and since sysinit.target is pull in by almost anything, we'll
start s-v-s.s over and over. In particular, plymouth-start.service currently
has Wants=s-v-s.s and After=s-v-s.s.

4 years agopid1: remove unnecessary terminator
Zbigniew Jędrzejewski-Szmek [Thu, 5 Mar 2020 07:06:43 +0000 (08:06 +0100)] 
pid1: remove unnecessary terminator

We specify the number of items as the first argument already.

4 years agoman: update list of supported controllers
Anita Zhang [Thu, 5 Mar 2020 01:31:36 +0000 (17:31 -0800)] 
man: update list of supported controllers

4 years agounits: do not ignore return value from systemd --user
Zbigniew Jędrzejewski-Szmek [Wed, 4 Mar 2020 13:21:37 +0000 (14:21 +0100)] 
units: do not ignore return value from systemd --user

This minus has been there since the unit was added in
d42d27ead91e470cb12986d928441e56c0f543ca. I think the idea was not cause things
to fail if the user instance doesn't work. But ignoring the return value
doesn't seem to be the right way to approach the problem. In particular, if
the program fails to run, we'll get a bogus fail state, see
https://bugzilla.redhat.com/show_bug.cgi?id=1727895#c1:

with the minus:
$ systemctl start user@1002
Job for user@1002.service failed because the service did not take the steps required by its unit configuration.
See "systemctl status user@1002.service" and "journalctl -xe" for details.

without the minus:
$ systemctl start user@1002
Job for user@1002.service failed because the control process exited with error code.
See "systemctl status user@1002.service" and "journalctl -xe" for details.

4 years agopid1, nspawn: voidify loopback_setup()
Yu Watanabe [Wed, 4 Mar 2020 12:20:31 +0000 (21:20 +0900)] 
pid1, nspawn: voidify loopback_setup()

4 years agoman: Add documentation for generator path environment variables 14893/head
Benjamin Berg [Wed, 4 Mar 2020 10:30:31 +0000 (11:30 +0100)] 
man: Add documentation for generator path environment variables

This adds documentation for the SYSTEMD_GENERATOR_PATH and
SYSTEMD_ENVIRONMENT_GENERATOR_PATH variables to the systemd man page
grouped with the existing SYSTEMD_UNIT_PATH.

Also added is a description about how these variables work, i.e. that a
trailing : can be used to prepend paths to the usual set.

4 years agotest: Add test for setting generator paths via environment
Benjamin Berg [Mon, 17 Feb 2020 12:30:26 +0000 (13:30 +0100)] 
test: Add test for setting generator paths via environment

4 years agopath-lookup: Allow setting generator paths via environment
Benjamin Berg [Mon, 17 Feb 2020 11:51:23 +0000 (12:51 +0100)] 
path-lookup: Allow setting generator paths via environment

This adds SYSTEMD_GENERATOR_PATH and SYSTEMD_ENVIRONMENT_GENERATOR_PATH
environment variables that will be read in the same manner as
SYSTEMD_UNIT_PATH is. i.e. if set, these paths will be used and a
trailing empty entry means that the usual paths will be appended, while
no trailing entry means that solely the given paths are used.

4 years agopath-lookup: Split out helper to get paths from environment
Benjamin Berg [Mon, 17 Feb 2020 10:53:26 +0000 (11:53 +0100)] 
path-lookup: Split out helper to get paths from environment

This is so that we can use the same pattern for other sets of paths.

4 years agocore: Move environment generator path lookup into path-lookup.c
Benjamin Berg [Fri, 14 Feb 2020 21:43:38 +0000 (22:43 +0100)] 
core: Move environment generator path lookup into path-lookup.c

4 years agotimesync, meson: allow statically linked build
Robert Scheck [Sat, 8 Feb 2020 13:02:09 +0000 (14:02 +0100)] 
timesync, meson: allow statically linked build

Build option "link-timesyncd-shared" to build a statically linked
systemd-timesyncd by using

  -Dlink-udev-shared=false -Dlink-timesyncd-shared=false

on systems with full systemd stack except systemd-timesyncd, such
as RHEL/CentOS 8.

4 years agosystemctl: do not print items twice in list-dependencies
Zbigniew Jędrzejewski-Szmek [Wed, 4 Mar 2020 08:33:12 +0000 (09:33 +0100)] 
systemctl: do not print items twice in list-dependencies

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1807485.

4 years agomake namespace_flags_to_string() not return empty string
Yu Watanabe [Tue, 3 Mar 2020 15:52:40 +0000 (00:52 +0900)] 
make namespace_flags_to_string() not return empty string

This improves the following debug log.

Before:
systemd[1162]: Restricting namespace to: .

After:
systemd[1162]: Restricting namespace to: n/a.

4 years agoselinux: cache enforced status and treat retrieve failure as enforced mode 15010/head
Christian Göttsche [Mon, 2 Mar 2020 20:12:18 +0000 (21:12 +0100)] 
selinux: cache enforced status and treat retrieve failure as enforced mode

4 years agoMerge pull request #15009 from keszybz/version-and-doc-updates
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 19:29:12 +0000 (20:29 +0100)] 
Merge pull request #15009 from keszybz/version-and-doc-updates

Version and doc updates

4 years agoMerge pull request #15002 from keszybz/sysusers-no-proc
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 19:28:02 +0000 (20:28 +0100)] 
Merge pull request #15002 from keszybz/sysusers-no-proc

Make systemd-sysusers work if /proc is unavailable

4 years agolgtm: drop the TMPDIR/meson workaround
Frantisek Sumsal [Tue, 3 Mar 2020 15:40:48 +0000 (16:40 +0100)] 
lgtm: drop the TMPDIR/meson workaround

The underlying issue seems to be fixed, so let's drop the now obsolete
workarounds.

Introduced in 65be7042a876ffe186a42ced04cde60ed81d3136

4 years agoselinux: add trigger for policy reload to refresh internal selabel cache
Christian Göttsche [Mon, 6 Jan 2020 14:27:23 +0000 (15:27 +0100)] 
selinux: add trigger for policy reload to refresh internal selabel cache

Reload the internal selabel cache automatically on SELinux policy reloads so non pid-1 daemons are participating.

Run the reload function `mac_selinux_reload()` not manually on daemon-reload, but rather pass it as callback to libselinux.
Trigger the callback prior usage of the systemd internal selabel cache by depleting the selinux netlink socket via `avc_netlink_check_nb()`.

Improves: a9dfac21ec85 ("core: reload SELinux label cache on daemon-reload")
Improves: #13363

4 years agoman: document that .link/.network/.netdev files have the usual ini syntax 15009/head
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 18:08:26 +0000 (19:08 +0100)] 
man: document that .link/.network/.netdev files have the usual ini syntax

Fixes #1266.

4 years agodocs: add .link/.network/.netdev files to interface stability chart
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 17:42:22 +0000 (18:42 +0100)] 
docs: add .link/.network/.netdev files to interface stability chart

Fixes #9850.

4 years agoman: document the default value for IPv6AcceptRA=
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 17:36:03 +0000 (18:36 +0100)] 
man: document the default value for IPv6AcceptRA=

Fixes #14121.

4 years agoman: specify that Domains= is a space-separated list
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 17:03:53 +0000 (18:03 +0100)] 
man: specify that Domains= is a space-separated list

Fixes #14998.

4 years agohwdb: add corrections for Olimex Teres-I to keyboard hwdb
Daniel Lublin [Tue, 3 Mar 2020 14:59:43 +0000 (15:59 +0100)] 
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.

4 years agotree-wide: fix spelling of lookup and setup verbs
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 14:00:53 +0000 (15:00 +0100)] 
tree-wide: fix spelling of lookup and setup verbs

"set up" and "look up" are the verbs, "setup" and "lookup" are the nouns.

4 years agotree-wide: drop printk.devkmsg=on setting in various places
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 13:57:03 +0000 (14:57 +0100)] 
tree-wide: drop printk.devkmsg=on setting in various places

Since 6123dfaa72 this should not be necessary anymore.

4 years agoman,mkosi: use glibc-minimal-langpack for Fedora
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 13:50:58 +0000 (14:50 +0100)] 
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.

4 years agoman: bump fedora versions
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 13:48:54 +0000 (14:48 +0100)] 
man: bump fedora versions

4 years agoMerge pull request #14874 from bluca/portable_detach_now_block
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 13:40:12 +0000 (14:40 +0100)] 
Merge pull request #14874 from bluca/portable_detach_now_block

portablectl: block when stopping a unit on detach (--now)

4 years agohwdb: 60-sensor.hwdb: Add proximity sensor udev property (#14845)
Guido Günther [Tue, 3 Mar 2020 13:40:00 +0000 (14:40 +0100)] 
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.

4 years agoselinux: check return value of string_to_security_class()
Christian Göttsche [Mon, 2 Mar 2020 16:53:20 +0000 (17:53 +0100)] 
selinux: check return value of string_to_security_class()

This should never happen, but better safe than sorry.

4 years agodrop unused translations
Vladimir Yerilov [Tue, 3 Mar 2020 10:45:43 +0000 (20:45 +1000)] 
drop unused translations

4 years agoupdate Russian translation
Vladimir Yerilov [Tue, 3 Mar 2020 09:23:09 +0000 (19:23 +1000)] 
update Russian translation

4 years agosysusers: do not require /proc to be mounted 15002/head
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 10:58:07 +0000 (11:58 +0100)] 
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.

4 years agoNEWS: Use correct tense in v245 entry
Paul Menzel [Tue, 3 Mar 2020 11:19:41 +0000 (12:19 +0100)] 
NEWS: Use correct tense in v245 entry

4 years agobasic/fs-util: add a version of chmod_and_chown that doesn not use /proc
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 10:51:50 +0000 (11:51 +0100)] 
basic/fs-util: add a version of chmod_and_chown that doesn not use  /proc

4 years agosysusers: many different errnos to express one condition
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 09:18:32 +0000 (10:18 +0100)] 
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.

4 years agoNEWS: two minor entries v245-rc2
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 07:41:00 +0000 (08:41 +0100)] 
NEWS: two minor entries

4 years agoNEWS: update contributors list
Zbigniew Jędrzejewski-Szmek [Tue, 3 Mar 2020 07:31:06 +0000 (08:31 +0100)] 
NEWS: update contributors list

4 years agohwdb: update for v245-rc2
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 20:45:56 +0000 (21:45 +0100)] 
hwdb: update for v245-rc2

4 years agonetwork: Move config_parse_ip_service_type to networkd-dhcp4.c and
Susant Sahani [Mon, 2 Mar 2020 20:44:01 +0000 (21:44 +0100)] 
network: Move config_parse_ip_service_type to networkd-dhcp4.c and
rename

4 years agoMerge pull request #14992 from keszybz/syslog-address-length-fix
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 20:31:24 +0000 (21:31 +0100)] 
Merge pull request #14992 from keszybz/syslog-address-length-fix

Syslog address length fix

4 years agoask-password-api: drop unneeded parentheses 14992/head
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 14:54:43 +0000 (15:54 +0100)] 
ask-password-api: drop unneeded parentheses

4 years agocore/execute: use return value from sockaddr_un_set_path(), remove duplicate check
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 14:54:22 +0000 (15:54 +0100)] 
core/execute: use return value from sockaddr_un_set_path(), remove duplicate check

4 years agohomed,userdb: don't use sockaddr_un_set_path() on fixed addresses
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 14:53:14 +0000 (15:53 +0100)] 
homed,userdb: don't use sockaddr_un_set_path() on fixed addresses

Let's use structured initialization and let the compiler do its job.

4 years agotree-wide: use the return value from sockaddr_un_set_path()
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 14:51:31 +0000 (15:51 +0100)] 
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.)

4 years agotest-sizeof: print size socklen_t
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 14:52:28 +0000 (15:52 +0100)] 
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.

4 years agojournald: fix forwarding to syslog
Zbigniew Jędrzejewski-Szmek [Mon, 2 Mar 2020 13:44:31 +0000 (14:44 +0100)] 
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.

4 years agoRequireMountsFor in systemd-nspawn should wait for machine mount
Kevin P. Fleming [Mon, 24 Feb 2020 14:54:35 +0000 (09:54 -0500)] 
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

4 years agoMerge pull request #14991 from yuwata/man-fix-typo
Yu Watanabe [Mon, 2 Mar 2020 10:30:22 +0000 (19:30 +0900)] 
Merge pull request #14991 from yuwata/man-fix-typo

assorted tiny fixes

4 years agoshared/logs-show: Remove unused OUTPUT_FOLLOW
HATAYAMA Daisuke [Sat, 29 Feb 2020 21:31:38 +0000 (06:31 +0900)] 
shared/logs-show: Remove unused OUTPUT_FOLLOW

As of the commit aae9a96d4b3a8562af9e8c6a23871b442645b954 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.

4 years agonetwork: make Type=ether match based on iftype
Yu Watanabe [Thu, 27 Feb 2020 12:56:36 +0000 (21:56 +0900)] 
network: make Type=ether match based on iftype

This makes Type= can match the type shown in networkctl.

Closes #14952.

4 years agotest-network: add a test case for CAKE 14890/head
Yu Watanabe [Mon, 17 Feb 2020 12:03:12 +0000 (21:03 +0900)] 
test-network: add a test case for CAKE

4 years agonetwork: tc: introduce cake
Susant Sahani [Mon, 2 Mar 2020 06:54:17 +0000 (15:54 +0900)] 
network: tc: introduce cake

CAKE (Common Applications Kept Enhanced)

Please see http://man7.org/linux/man-pages/man8/tc-cake.8.html

4 years agosd-netlink: introduce sd_netlink_message_append_s8() and friends
Susant Sahani [Mon, 2 Mar 2020 06:51:16 +0000 (15:51 +0900)] 
sd-netlink: introduce sd_netlink_message_append_s8() and friends

4 years agotest-network: add a test case for sfb
Yu Watanabe [Sun, 16 Feb 2020 16:27:59 +0000 (01:27 +0900)] 
test-network: add a test case for sfb

4 years agonetwork: TC introduce sfb - Stochastic Fair Blue
Susant Sahani [Tue, 11 Feb 2020 07:24:27 +0000 (08:24 +0100)] 
network: TC introduce sfb - Stochastic Fair Blue

Please see https://www.systutorials.com/docs/linux/man/8-tc-sfb/

4 years agotest-network: add a test case for GRED
Yu Watanabe [Sun, 16 Feb 2020 16:09:05 +0000 (01:09 +0900)] 
test-network: add a test case for GRED

4 years agonetwork: TC introduce GRED, Generic Random Early Detection
Susant Sahani [Mon, 10 Feb 2020 12:24:02 +0000 (13:24 +0100)] 
network: TC introduce GRED, Generic Random Early Detection

http://tldp.org/en/Traffic-Control-HOWTO/ar01s06.html

4 years agotest-network: add a test case for PFIFO
Yu Watanabe [Sun, 16 Feb 2020 15:37:03 +0000 (00:37 +0900)] 
test-network: add a test case for PFIFO

4 years agonetwork: TC introduce PFIFO
Susant Sahani [Mon, 10 Feb 2020 15:12:21 +0000 (16:12 +0100)] 
network: TC introduce PFIFO

4 years agotest-network: add test case for HTB class
Yu Watanabe [Wed, 12 Feb 2020 00:53:15 +0000 (09:53 +0900)] 
test-network: add test case for HTB class

4 years agonetwork: tc: support HTB class
Yu Watanabe [Wed, 12 Feb 2020 00:52:56 +0000 (09:52 +0900)] 
network: tc: support HTB class

4 years agonetwork: introduce struct TClass to prepare for supporting tc class
Yu Watanabe [Tue, 11 Feb 2020 14:52:24 +0000 (23:52 +0900)] 
network: introduce struct TClass to prepare for supporting tc class

4 years agosd-netlink: introduce sd_rtnl_message_new_tclass() and friends
Yu Watanabe [Tue, 11 Feb 2020 14:12:24 +0000 (23:12 +0900)] 
sd-netlink: introduce sd_rtnl_message_new_tclass() and friends

4 years agonetwork: introduce TrafficControlKind to prepare for supporting tc class
Yu Watanabe [Mon, 10 Feb 2020 11:53:00 +0000 (20:53 +0900)] 
network: introduce TrafficControlKind to prepare for supporting tc class

4 years agotest-network: add a test case for HTB
Yu Watanabe [Mon, 10 Feb 2020 10:41:39 +0000 (19:41 +0900)] 
test-network: add a test case for HTB

4 years agonetwork: tc: support Hierarchy Token Bucket (HTB)
Yu Watanabe [Mon, 10 Feb 2020 10:41:12 +0000 (19:41 +0900)] 
network: tc: support Hierarchy Token Bucket (HTB)

4 years agonetwork: tc: make Parent= take class id
Yu Watanabe [Mon, 10 Feb 2020 08:45:24 +0000 (17:45 +0900)] 
network: tc: make Parent= take class id

4 years agotest-network: remove unnecessary dummy interface 14991/head
Yu Watanabe [Mon, 17 Feb 2020 15:12:22 +0000 (00:12 +0900)] 
test-network: remove unnecessary dummy interface

4 years agoman: fix typo
Susant Sahani [Mon, 2 Mar 2020 06:43:42 +0000 (15:43 +0900)] 
man: fix typo

4 years agoMerge pull request #14990 from keszybz/nss-homed-fix
Yu Watanabe [Mon, 2 Mar 2020 06:18:13 +0000 (15:18 +0900)] 
Merge pull request #14990 from keszybz/nss-homed-fix

Fix for lookup of groups defined by homed

4 years agounits: disable ProtectKernelLogs for machined
Guillaume Douézan-Grard [Sun, 1 Mar 2020 20:43:24 +0000 (21:43 +0100)] 
units: disable ProtectKernelLogs for machined

machined needs access to the host mount namespace to propagate bind
mounts created with the "machinectl bind" command. However, the
"ProtectKernelLogs" directive relies on mount namespaces to make the
kernel ring buffer inaccessible. This commit removes the
"ProtectKernelLogs=yes" directive from machined service file introduced
in 6168ae5.

Closes #14559.

4 years agorandom-seed: add missing header for GRND_NONBLOCK (#14988)
Romain Naour [Mon, 2 Mar 2020 05:48:21 +0000 (06:48 +0100)] 
random-seed: add missing header for GRND_NONBLOCK (#14988)

GRND_NONBLOCK has been introduced with the 3.17 kernel version [1]
while adding getrandom(2) system call.

The header missing_random.h is needed for random-seed.c when building
with old toolchain, such Sourcery CodeBench ARM 2014.05 (kernel headers
3.13).

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/454255917

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=c6e9d6f38894798696f23c8084ca7edbf16ee895

4 years agopo: update Polish translation
Piotr Drąg [Sun, 1 Mar 2020 13:47:36 +0000 (14:47 +0100)] 
po: update Polish translation

4 years agol10n: update Czech Translation
AsciiWolf [Sun, 1 Mar 2020 12:44:36 +0000 (13:44 +0100)] 
l10n: update Czech Translation