platform/upstream/systemd.git
6 years agosystemctl: log errors to LOG_DEBUG rather than eating them up entirely
Lennart Poettering [Mon, 25 Jun 2018 14:22:48 +0000 (16:22 +0200)]
systemctl: log errors to LOG_DEBUG rather than eating them up entirely

6 years agosystemctl: add 'static' to constant state array
Lennart Poettering [Mon, 25 Jun 2018 14:22:13 +0000 (16:22 +0200)]
systemctl: add 'static' to constant state array

6 years agobls: allow firmware-supported file systems
Zbigniew Jędrzejewski-Szmek [Mon, 25 Jun 2018 13:18:29 +0000 (15:18 +0200)]
bls: allow firmware-supported file systems

This copies the text from Matthew Garrett's version verbatim. At
least MacOS uses HFS+ for their ESP.

6 years ago[hwdb] Add support for HP ProBook 650 wifi switch key (#9260)
Ludwin Janvier [Mon, 25 Jun 2018 11:18:13 +0000 (13:18 +0200)]
[hwdb] Add support for HP ProBook 650 wifi switch key (#9260)

Add support for HP ProBook 650 wifi switch key

6 years agoresolved: assert t->server is set in dns_transaction_emit_tcp.
Filipe Brandenburger [Tue, 12 Jun 2018 19:52:39 +0000 (12:52 -0700)]
resolved: assert t->server is set in dns_transaction_emit_tcp.

Uncovered by Coverity. Fixes CID 1393390.

6 years agocore/job: add check for return of job_type_merge_and_collapse()
Filipe Brandenburger [Tue, 12 Jun 2018 21:20:04 +0000 (14:20 -0700)]
core/job: add check for return of job_type_merge_and_collapse()

Using an assertion is fine, since calls to job_merge_into_installed()
are protected by a check for job_type_is_conflicting().

Uncovered by Coverity, fixes CID 996307.

6 years agohwdb: added accelerometer quirk for Aspire Switch 10 (sw5-011)
M0Rf30 [Mon, 25 Jun 2018 09:40:12 +0000 (11:40 +0200)]
hwdb: added accelerometer quirk for Aspire Switch 10 (sw5-011)

6 years agoMerge pull request #9398 from yuwata/lgtm-fixes
Lennart Poettering [Mon, 25 Jun 2018 11:12:44 +0000 (13:12 +0200)]
Merge pull request #9398 from yuwata/lgtm-fixes

fixes error handlings and several cleanups suggested by LGTM

6 years agocore/manager: Make sure jobs statistics are not double after daemon-reload
Michal Koutný [Fri, 22 Jun 2018 14:19:52 +0000 (16:19 +0200)]
core/manager: Make sure jobs statistics are not double after daemon-reload

We add n_installed_jobs and n_failed_jobs to our inner state after
deserialization. This is fine during daemon-reexec when we start with clear
Manager (and some jobs possibly queued before deserialization), however,
daemon-reload works with the same manager and adding the values would
effectively double the counters. Reset the counters before we deserialize and
add their values again.

6 years agoman: SystemMaxUse= clarification in journald.conf(5)
Michal Koutný [Fri, 22 Jun 2018 13:45:41 +0000 (15:45 +0200)]
man: SystemMaxUse= clarification in journald.conf(5)

Similar semantics applies to {System,Runtime}MaxUse= as to
{System,Runtime}MaxFiles=, i.e. active files aren't vacuumed and the limit
is not thus strictly honored.

6 years agoboot: do not assume the last character in cmdline is a newline
Zbigniew Jędrzejewski-Szmek [Mon, 25 Jun 2018 08:52:58 +0000 (10:52 +0200)]
boot: do not assume the last character in cmdline is a newline

Fixes #9401.

6 years agotmpfiles: specify access mode for /run/systemd/netif
Yu Watanabe [Mon, 25 Jun 2018 05:56:49 +0000 (14:56 +0900)]
tmpfiles: specify access mode for /run/systemd/netif

This partially reverts 2af767729489f6baa98a2641b2007acab44ed353.
As the directories are certainly readable and not-writable by
non-privileged users.

6 years agonetwork: fix log message
Yu Watanabe [Mon, 25 Jun 2018 05:42:10 +0000 (14:42 +0900)]
network: fix log message

6 years agotimesync: update log message
Yu Watanabe [Sat, 23 Jun 2018 00:53:10 +0000 (09:53 +0900)]
timesync: update log message

Fixes #9388.

6 years agotimesync: changes type of drift_freq to int64_t
Yu Watanabe [Sat, 23 Jun 2018 00:41:55 +0000 (09:41 +0900)]
timesync: changes type of drift_freq to int64_t

drift_freq is used for storing timex.freq, and is a 64bit integer.
To support x32 ABI, this changes the type of drift_freq to int64_t.

Fixes #9387.

6 years agohwdb: Fix secondary backslash on MSI GS65 laptop
Sandy [Sat, 23 Jun 2018 04:14:46 +0000 (21:14 -0700)]
hwdb: Fix secondary backslash on MSI GS65 laptop

The MSI GS65 Stealth Thin series laptop contains an extra physical backslash key next to the spacebar which does not yield the correct keycode.

This pull request fixes the issue

6 years agoAdd resolution of Trust Flex Graphics Tablet to hwdb
RussianNeuroMancer [Sun, 24 Jun 2018 09:42:41 +0000 (17:42 +0800)]
Add resolution of Trust Flex Graphics Tablet to hwdb

Product:
https://www.trust.com/en/product/21259-flex-design-tablet-black
http://trust.com/21259

Support in libinput is already in place since libinput 1.11 release (I tested it)
https://gitlab.freedesktop.org/libinput/libinput/issues/38

So only missing part is definition in hwdb.

6 years agodocs: put LGTM on the list of QA tools and fix a couple typos
Evegeny Vereshchagin [Sat, 23 Jun 2018 16:53:04 +0000 (16:53 +0000)]
docs: put LGTM on the list of QA tools and fix a couple typos

6 years agoinstall: fix error handling in is_symlink_with_known_name()
Yu Watanabe [Mon, 25 Jun 2018 05:07:16 +0000 (14:07 +0900)]
install: fix error handling in is_symlink_with_known_name()

6 years agoportable: fix error handling
Yu Watanabe [Mon, 25 Jun 2018 04:56:27 +0000 (13:56 +0900)]
portable: fix error handling

6 years agoimport: drop unnecessary condition
Yu Watanabe [Mon, 25 Jun 2018 04:54:44 +0000 (13:54 +0900)]
import: drop unnecessary condition

6 years agosd-dhcp: drop unnecessary condition
Yu Watanabe [Mon, 25 Jun 2018 04:51:34 +0000 (13:51 +0900)]
sd-dhcp: drop unnecessary condition

6 years agomachine-pool: drop unnecessary condition
Yu Watanabe [Mon, 25 Jun 2018 04:49:56 +0000 (13:49 +0900)]
machine-pool: drop unnecessary condition

6 years agoresolve: drop dead code
Yu Watanabe [Mon, 25 Jun 2018 04:46:52 +0000 (13:46 +0900)]
resolve: drop dead code

6 years agoresolve: drop dead code
Yu Watanabe [Mon, 25 Jun 2018 04:42:31 +0000 (13:42 +0900)]
resolve: drop dead code

6 years agobootctl: drop dead code
Yu Watanabe [Mon, 25 Jun 2018 04:40:36 +0000 (13:40 +0900)]
bootctl: drop dead code

6 years agojournal: drop redundant condition
Yu Watanabe [Mon, 25 Jun 2018 04:36:49 +0000 (13:36 +0900)]
journal: drop redundant condition

6 years agoresolve: fix return value type of dns_answer_has_dname_for_cname()
Yu Watanabe [Mon, 25 Jun 2018 04:23:16 +0000 (13:23 +0900)]
resolve: fix return value type of dns_answer_has_dname_for_cname()

6 years agoresolve: dns_scope_network_good() does not returns negative errno
Yu Watanabe [Mon, 25 Jun 2018 04:20:35 +0000 (13:20 +0900)]
resolve: dns_scope_network_good() does not returns negative errno

6 years agocore/cgroup: drop unnecessary condition
Yu Watanabe [Mon, 25 Jun 2018 04:09:48 +0000 (13:09 +0900)]
core/cgroup: drop unnecessary condition

6 years agobus-util: fix error handling
Yu Watanabe [Mon, 25 Jun 2018 04:08:02 +0000 (13:08 +0900)]
bus-util: fix error handling

6 years agotree-wide: add multiple inclusion guard
Yu Watanabe [Mon, 25 Jun 2018 04:04:59 +0000 (13:04 +0900)]
tree-wide: add multiple inclusion guard

6 years agomeson: drop unused option
Yu Watanabe [Fri, 22 Jun 2018 22:16:27 +0000 (07:16 +0900)]
meson: drop unused option

Follow-up for add384dd4d2b96db6ace5ad9c52b1dd7553ebec2.

6 years agocore: drop unused log message
Yu Watanabe [Fri, 22 Jun 2018 21:39:19 +0000 (06:39 +0900)]
core: drop unused log message

temporary_filesystem_add() does not parse mount options.

6 years agocore: Actually use the resolved path for TemporaryFileSystem= (#9385)
YmrDtnJu [Fri, 22 Jun 2018 23:17:07 +0000 (23:17 +0000)]
core: Actually use the resolved path for TemporaryFileSystem= (#9385)

The code already resolves specifiers using unit_full_printf() but then uses the
unresolved version again for temporary_filesystem_add().

6 years agotree-wide: drop copyright lines for more authors
Zbigniew Jędrzejewski-Szmek [Fri, 22 Jun 2018 12:13:43 +0000 (14:13 +0200)]
tree-wide: drop copyright lines for more authors

Acks in https://github.com/systemd/systemd/issues/9320.

6 years agomeson: bump package and library version v239
Lennart Poettering [Fri, 22 Jun 2018 11:03:47 +0000 (13:03 +0200)]
meson: bump package and library version

6 years agofinal touches to NEWS
Lennart Poettering [Fri, 22 Jun 2018 10:57:54 +0000 (12:57 +0200)]
final touches to NEWS

6 years agoman: small fixups for systemd-boot(8)
Zbigniew Jędrzejewski-Szmek [Fri, 22 Jun 2018 11:03:21 +0000 (13:03 +0200)]
man: small fixups for systemd-boot(8)

- "UEFI firmware" is a name, no need for an article
- The specification is more than "recommendation"

6 years agoman: correct the meaning of TimeoutStopSec= (#9325)
Jan Synacek [Fri, 22 Jun 2018 07:11:49 +0000 (09:11 +0200)]
man: correct the meaning of TimeoutStopSec= (#9325)

Fixes: #9325

6 years agotmpfile: do not specify mode and owner to /run/systemd/netif
Yu Watanabe [Fri, 22 Jun 2018 03:32:28 +0000 (12:32 +0900)]
tmpfile: do not specify mode and owner to /run/systemd/netif

Fixes #9369.

6 years agojournalctl: handle inotify exhaustion nicer
Kevin Kuehler [Tue, 19 Jun 2018 20:56:36 +0000 (13:56 -0700)]
journalctl: handle inotify exhaustion nicer

Instead of failing, log that inotify wds
are exhausted and fallback to -n switch.

Fixes #1296.

6 years agoudev: exclude DRBD from block device ownership event locking
Roland Kammerer [Thu, 21 Jun 2018 09:32:32 +0000 (11:32 +0200)]
udev: exclude DRBD from block device ownership event locking

It does not make sense for udev to even open DRBD block devices
(/dev/drbdX). It is on one hand not necessary as DRBD is controlled by
something else in the stack (e.g., pacemaker), and it even can get
cumbersome in various scenarios (e.g., DRBD9 auto-promote).

Closes: #9371

Signed-off-by: Roland Kammerer <roland.kammerer@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
6 years agoman: systemd.offline-updates: Document system-update-pre.target usage
Hans de Goede [Tue, 19 Jun 2018 12:33:59 +0000 (14:33 +0200)]
man: systemd.offline-updates: Document system-update-pre.target usage

6 years agoMerge pull request #9368 from yuwata/bash-completion-timedate
Zbigniew Jędrzejewski-Szmek [Thu, 21 Jun 2018 04:57:45 +0000 (06:57 +0200)]
Merge pull request #9368 from yuwata/bash-completion-timedate

follow-ups for 'timedatectl show'

6 years agoNEWS: mention 'timedatectl show'
Yu Watanabe [Thu, 21 Jun 2018 01:51:35 +0000 (10:51 +0900)]
NEWS: mention 'timedatectl show'

6 years agobash-completion: support 'timedatectl show'
Yu Watanabe [Thu, 21 Jun 2018 01:47:51 +0000 (10:47 +0900)]
bash-completion: support 'timedatectl show'

6 years agoNEWS: mention %E
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 22:08:36 +0000 (00:08 +0200)]
NEWS: mention %E

6 years agoMerge pull request #9366 from poettering/udev-wants-dep-fix
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 22:04:03 +0000 (00:04 +0200)]
Merge pull request #9366 from poettering/udev-wants-dep-fix

udev SYSTEMD_WANTS property fix

6 years agocore: explicitly trigger changing udev SYSTEMD_WANTS properties
Lennart Poettering [Wed, 20 Jun 2018 20:54:55 +0000 (22:54 +0200)]
core: explicitly trigger changing udev SYSTEMD_WANTS properties

This compensates for the unsynchronized reload cycles of systemd and
udev: we manually trigger the deps listed in SYSTEMD_WANTS properties if
they change for device units that are already up. That way all deps
defined that way will be triggered at least once: the first time the
unit goes up by the usual dependency logic, and if it already is up by
the device.c specific logic.

Fixes: #9323

6 years agoanalyze: use _cleanup_ for freeing the manager object
Lennart Poettering [Wed, 20 Jun 2018 20:22:22 +0000 (22:22 +0200)]
analyze: use _cleanup_ for freeing the manager object

6 years agoanalyze: use log_unit_error_errno()'s return value where we can
Lennart Poettering [Wed, 20 Jun 2018 20:22:03 +0000 (22:22 +0200)]
analyze: use log_unit_error_errno()'s return value where we can

6 years agotree-wide: pass NULL arguments to manager_startup() directly, avoid declaring unneede...
Lennart Poettering [Wed, 20 Jun 2018 20:19:26 +0000 (22:19 +0200)]
tree-wide: pass NULL arguments to manager_startup() directly, avoid declaring unneeded variables

6 years agounits: let's use two ExecStart= lines instead of ;
Lennart Poettering [Wed, 20 Jun 2018 19:39:28 +0000 (21:39 +0200)]
units: let's use two ExecStart= lines instead of ;

6 years agocore: use fflush_and_check() where appropriate
Lennart Poettering [Wed, 20 Jun 2018 17:38:30 +0000 (19:38 +0200)]
core: use fflush_and_check() where appropriate

6 years agoupdate TODO
Lennart Poettering [Wed, 20 Jun 2018 17:36:06 +0000 (19:36 +0200)]
update TODO

6 years agoMerge pull request #9365 from keszybz/condition-security-followup
Lennart Poettering [Wed, 20 Jun 2018 21:10:18 +0000 (23:10 +0200)]
Merge pull request #9365 from keszybz/condition-security-followup

ConditionSecurity= followup

6 years agotest-condition: extend tests to all ConditionSecurity= values
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 20:46:13 +0000 (22:46 +0200)]
test-condition: extend tests to all ConditionSecurity= values

Also print out what we detect, for manual verification.

6 years agoNEWS: mention ConditionSecurity=uefi-secureboot
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 20:35:36 +0000 (22:35 +0200)]
NEWS: mention ConditionSecurity=uefi-secureboot

Follow-up for be405b909e5d78b43e3af47e0d10cd84c714e2f3.

6 years agocondition: add new conditon ConditionSecurity=uefi-secureboot
Lennart Poettering [Wed, 20 Jun 2018 16:52:52 +0000 (18:52 +0200)]
condition: add new conditon ConditionSecurity=uefi-secureboot

We have the detector call for this anyway, and it's useful for
conditioning out dbxtool.service, hence let's add this tiny new option.

6 years agoMerge pull request #9363 from yuwata/specifier-config-dir
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 20:30:18 +0000 (22:30 +0200)]
Merge pull request #9363 from yuwata/specifier-config-dir

core: add unit specifier for configuration directory root

6 years agomeson: make DNS-over-TLS support optional
Yu Watanabe [Wed, 20 Jun 2018 16:29:49 +0000 (01:29 +0900)]
meson: make DNS-over-TLS support optional

This adds dns-over-tls option to meson. If set to 'false',
systemd-resolved is not linked with libgnutls.

6 years agoMerge pull request #9350 from poettering/bls-fixes
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 20:22:06 +0000 (22:22 +0200)]
Merge pull request #9350 from poettering/bls-fixes

various fixes to the systemd-boot documentation

6 years agosystemctl: mask always reports the same unit names when different unknown units are...
Franck Bui [Wed, 20 Jun 2018 16:09:38 +0000 (18:09 +0200)]
systemctl: mask always reports the same unit names when different unknown units are passed

Before this patch:

  # systemctl --runtime mask abuild.mount does-not-exist.mount does-also-not-exist.mount
  Unit abuild.mount does not exist, proceeding anyway.
  Unit abuild.mount does not exist, proceeding anyway.
  Unit abuild.mount does not exist, proceeding anyway.
  Created symlink /run/systemd/system/abuild.mount → /dev/null.
  Created symlink /run/systemd/system/does-not-exist.mount → /dev/null.
  Created symlink /run/systemd/system/does-also-not-exist.mount → /dev/null.

After this patch:

  # systemctl --runtime mask abuild.mount does-not-exist.mount does-also-not-exist.mount
  Unit abuild.mount does not exist, proceeding anyway.
  Unit does-not-exist.mount does not exist, proceeding anyway.
  Unit does-also-not-exist.mount does not exist, proceeding anyway.
  Created symlink /run/systemd/system/abuild.mount → /dev/null.
  Created symlink /run/systemd/system/does-not-exist.mount → /dev/null.
  Created symlink /run/systemd/system/does-also-not-exist.mount → /dev/null.

6 years agotest: add test for specifier of configuration directory root
Yu Watanabe [Wed, 20 Jun 2018 18:24:09 +0000 (03:24 +0900)]
test: add test for specifier of configuration directory root

6 years agocore: add unit specifier for configuration directory root
Yu Watanabe [Wed, 20 Jun 2018 18:20:34 +0000 (03:20 +0900)]
core: add unit specifier for configuration directory root

Follow-up for 14068e17f32a06e6a1f8f72416018bc653b8ea2d.

6 years agounits: fix typo in After=
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 14:35:23 +0000 (16:35 +0200)]
units: fix typo in After=

Followup for c7668c1ce04fa85370432d197d2ccd9411e85649.

6 years agotest-sizeof: another aproach to _Float128 availability detection
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 10:38:36 +0000 (12:38 +0200)]
test-sizeof: another aproach to _Float128 availability detection

6 years agoNEWS: document that the BLS is now part of our tree
Lennart Poettering [Wed, 20 Jun 2018 09:54:25 +0000 (11:54 +0200)]
NEWS: document that the BLS is now part of our tree

6 years agoman: update systemd-boot(7) man page in many ways
Lennart Poettering [Wed, 20 Jun 2018 09:59:11 +0000 (11:59 +0200)]
man: update systemd-boot(7) man page in many ways

Let's fully document where the list of entries come from, including unified
images and such.

Let's add a "Files" section (replacing the "Configuration" section), and
let's move it after they keybinding section (why? because keybinds are
primary UI material, while configuration is one level more complex than
that).

Also, reword lot's of stuff to make it more precise.

Fixes: #5127

6 years agoman: fix URL to BLS
Lennart Poettering [Wed, 20 Jun 2018 09:56:39 +0000 (11:56 +0200)]
man: fix URL to BLS

Let's refer to our own version now.

6 years agodoc: document the `architecture` setting
Lennart Poettering [Wed, 20 Jun 2018 09:55:45 +0000 (11:55 +0200)]
doc: document the `architecture` setting

6 years agodoc: allow multiple initrd entries per BLS snippet
Lennart Poettering [Wed, 20 Jun 2018 09:54:52 +0000 (11:54 +0200)]
doc: allow multiple initrd entries per BLS snippet

sd-boot already supports that anyway, and the Fedora folks asked for
this on the fedora mailing list, hence let's simply add this.

6 years agodoc: update BLS links list
Lennart Poettering [Wed, 20 Jun 2018 09:13:41 +0000 (11:13 +0200)]
doc: update BLS links list

let's make these proper links

6 years agodoc: add a second indentation level to partition list, to separate MBR and GPT partitions
Lennart Poettering [Wed, 20 Jun 2018 09:13:22 +0000 (11:13 +0200)]
doc: add a second indentation level to partition list, to separate MBR and GPT partitions

6 years agotree-wide: drop MSG_NOSIGNAL flag from recvmsg() invocations
Lennart Poettering [Wed, 20 Jun 2018 11:01:51 +0000 (13:01 +0200)]
tree-wide: drop MSG_NOSIGNAL flag from recvmsg() invocations

MSG_NOSIGNAL is only defined for sendmsg(), not for recvmsg(), hence
let's drop it's use, in particular as it appears to create problems on
older kernels. See:

https://lists.freedesktop.org/archives/systemd-devel/2018-June/040869.html

6 years agoupdate NEWS contributors list again
Lennart Poettering [Wed, 20 Jun 2018 09:06:17 +0000 (11:06 +0200)]
update NEWS contributors list again

6 years agoRevert "mention alias for poweroff in machinectl --help"
Lennart Poettering [Wed, 20 Jun 2018 11:22:52 +0000 (13:22 +0200)]
Revert "mention alias for poweroff in machinectl --help"

This reverts commit bebd5382ba4c820377f05e1e518c6dfd96b278be.

For the reasoning, see: https://github.com/systemd/systemd/pull/9342#issuecomment-398715417

6 years agounits: make system-update-pre.target a passive unit (#9349)
Lennart Poettering [Wed, 20 Jun 2018 10:46:18 +0000 (12:46 +0200)]
units: make system-update-pre.target a passive unit (#9349)

This is an additional synchronization point normally not needed. Hence,
let's make it passive, i.e. pull it in from the unit which wants to be
ordered before the update service rather than by the update service
itself.

6 years agoMerge pull request #9348 from keszybz/copyright-removal
Lennart Poettering [Wed, 20 Jun 2018 10:27:56 +0000 (12:27 +0200)]
Merge pull request #9348 from keszybz/copyright-removal

Copyright removal

6 years agoDrop copyrights tags for "systemd authors"
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 10:11:00 +0000 (12:11 +0200)]
Drop copyrights tags for "systemd authors"

6 years agobasic/bpf-program: drop obsolete comment
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 10:07:38 +0000 (12:07 +0200)]
basic/bpf-program: drop obsolete comment

As far as I can see, nothing in that particular file is from the
kernel. Let's just drop the comment.

6 years agotree-wide: drop copyright headers from frequent contributors
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 09:58:53 +0000 (11:58 +0200)]
tree-wide: drop copyright headers from frequent contributors

Fixes #9320.

for p in Shapovalov Chevalier Rozhkov Sievers Mack Herrmann Schmidt Rudenberg Sahani Landden Andersen Watanabe; do
  git grep -e 'Copyright.*'$p -l|xargs perl -i -0pe 's|/([*][*])?[*]\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\s*[*]([*][*])?/\n*|\n|gms; s|\s+([*#]\s+)?Copyright[^\n]*'$p'[^\n]*\n*|\n|gms'
done

6 years agoshared/path-lookup: remove unnecessary 'if' to help gcc
Zbigniew Jędrzejewski-Szmek [Wed, 20 Jun 2018 06:17:38 +0000 (08:17 +0200)]
shared/path-lookup: remove unnecessary 'if' to help gcc

Fixes #9343.

6 years agoresolve: fix log message
Yu Watanabe [Tue, 19 Jun 2018 12:01:57 +0000 (21:01 +0900)]
resolve: fix log message

6 years agoresolve: do not log about negative cache for mdns packets
Yu Watanabe [Tue, 19 Jun 2018 12:01:36 +0000 (21:01 +0900)]
resolve: do not log about negative cache for mdns packets

Fixes #9335.

6 years agomention alias for poweroff in machinectl --help
Christian Rebischke [Tue, 19 Jun 2018 22:53:23 +0000 (00:53 +0200)]
mention alias for poweroff in machinectl --help

This commit adds the stop alias to the output of `machinectl --help`.
In the past we only mention this in the man page. It's nice to mention
this in the output `machinectl --help` as well.

6 years agonetworkd: Unify set MTU
Susant Sahani [Thu, 14 Jun 2018 17:19:25 +0000 (22:49 +0530)]
networkd: Unify set MTU

Now the setting MTU is embedded into the link_up message which makes it
incapable of setting MTU if link is up. MTU can be set while Link is up.

Closes #9254

6 years agopo: update French translation
Sylvain Plantefève [Tue, 19 Jun 2018 19:01:36 +0000 (21:01 +0200)]
po: update French translation

6 years agopo: update Polish translation
Piotr Drąg [Tue, 19 Jun 2018 15:06:58 +0000 (17:06 +0200)]
po: update Polish translation

6 years agoMerge the "boot loader specification" wiki page
Zbigniew Jędrzejewski-Szmek [Tue, 19 Jun 2018 12:03:25 +0000 (14:03 +0200)]
Merge the "boot loader specification" wiki page

6 years agoAdd description of field correspondence
Zbigniew Jędrzejewski-Szmek [Tue, 19 Jun 2018 11:52:04 +0000 (13:52 +0200)]
Add description of field correspondence

6 years agounits: Add new system-update-pre.target
Hans de Goede [Tue, 19 Jun 2018 08:50:41 +0000 (10:50 +0200)]
units: Add new system-update-pre.target

systemd offline-updates allows dropping multiple system update units
to be added to system-update.target.wants.

As documented in systemd.offline-updates(7) only 1 of these units
should actually be active (based on the /system-update symlink) and
when that unit is done it should reboot the system.

In some cases it is desirable to run a unit whenever booting in
offline-updates mode indepedent of which update unit is going to
handle the update. One example of this is integration with bootloader
code which checks if the previous boot was succesful.

Since the active unit will reboot the system when it is done, there
is no guarantee that adding such a unit to system-update.target.wants
will get it executed always.

This commit adds a system-update-pre.target which can be used for
units which should always run when booting in offline-updates mode.

6 years agoAlso add link to the systemd-boot man page
Zbigniew Jędrzejewski-Szmek [Tue, 19 Jun 2018 10:59:54 +0000 (12:59 +0200)]
Also add link to the systemd-boot man page

Note that the link is dead right now, because we haven't released v239
which contains the rename sd-boot → systemd-boot.

6 years agoAdd a description of unified kernel images
Zbigniew Jędrzejewski-Szmek [Tue, 19 Jun 2018 10:56:26 +0000 (12:56 +0200)]
Add a description of unified kernel images

6 years agoRename sd-boot to systemd-boot
Zbigniew Jędrzejewski-Szmek [Tue, 19 Jun 2018 07:36:55 +0000 (09:36 +0200)]
Rename sd-boot to systemd-boot

C.f. 70c8db755558927bdea56e9571c5d71300a81e8e.

6 years agoWording and formatting updates
Zbigniew Jędrzejewski-Szmek [Tue, 19 Jun 2018 07:33:16 +0000 (09:33 +0200)]
Wording and formatting updates

UTF-8 is not a character set. Unicode is the character set. UTF-* are encodings.

6 years agoscsi_id: Fixup prefix for pre-SPC inquiry reply
Hannes Reinecke [Wed, 13 Sep 2017 07:08:28 +0000 (09:08 +0200)]
scsi_id: Fixup prefix for pre-SPC inquiry reply

The prefix for EMC Symmetrix pre-SPC VPD inquiry reply
is always SCSI_ID_NAA, so we need to hardcode it to
avoid false values here.

Signed-off-by: Hannes Reinecke <hare@suse.com>
6 years agoBLS: allow /boot, /efi, and mention /boot/efi
Zbigniew Jędrzejewski-Szmek [Mon, 18 Jun 2018 15:55:50 +0000 (17:55 +0200)]
BLS: allow /boot, /efi, and mention /boot/efi

6 years agoBLS: remove trailing whitespace
Zbigniew Jędrzejewski-Szmek [Mon, 18 Jun 2018 15:50:23 +0000 (17:50 +0200)]
BLS: remove trailing whitespace