1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00
Commit Graph

34147 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
8809935978 NEWS: mention %E 2018-06-21 10:26:49 +09:00
Zbigniew Jędrzejewski-Szmek
88d56f289b
Merge pull request #9366 from poettering/udev-wants-dep-fix
udev SYSTEMD_WANTS property fix
2018-06-21 00:04:03 +02:00
Lennart Poettering
88116909ec 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
2018-06-20 23:59:29 +02:00
Lennart Poettering
b5c9144cb7 analyze: use _cleanup_ for freeing the manager object 2018-06-20 23:59:29 +02:00
Lennart Poettering
4d2a7ffd5b analyze: use log_unit_error_errno()'s return value where we can 2018-06-20 23:59:29 +02:00
Lennart Poettering
7675251663 tree-wide: pass NULL arguments to manager_startup() directly, avoid declaring unneeded variables 2018-06-20 23:59:29 +02:00
Lennart Poettering
6133af6030 units: let's use two ExecStart= lines instead of ; 2018-06-20 23:59:29 +02:00
Lennart Poettering
01d32c0030 core: use fflush_and_check() where appropriate 2018-06-20 23:59:29 +02:00
Lennart Poettering
4e8113bbbe update TODO 2018-06-20 23:59:29 +02:00
Lennart Poettering
baab4a5ad6
Merge pull request #9365 from keszybz/condition-security-followup
ConditionSecurity= followup
2018-06-20 23:10:18 +02:00
Zbigniew Jędrzejewski-Szmek
fc65dabdb5 test-condition: extend tests to all ConditionSecurity= values
Also print out what we detect, for manual verification.
2018-06-20 22:46:18 +02:00
Zbigniew Jędrzejewski-Szmek
57ab451e85 NEWS: mention ConditionSecurity=uefi-secureboot
Follow-up for be405b909e.
2018-06-20 22:35:36 +02:00
Lennart Poettering
be405b909e 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.
2018-06-20 22:33:47 +02:00
Zbigniew Jędrzejewski-Szmek
92963e74df
Merge pull request #9363 from yuwata/specifier-config-dir
core: add unit specifier for configuration directory root
2018-06-20 22:30:18 +02:00
Yu Watanabe
56ddbf1009 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.
2018-06-20 22:28:01 +02:00
Zbigniew Jędrzejewski-Szmek
4e6acc912d
Merge pull request #9350 from poettering/bls-fixes
various fixes to the systemd-boot documentation
2018-06-20 22:22:06 +02:00
Franck Bui
25c59b5d85 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.
2018-06-20 21:53:23 +02:00
Yu Watanabe
d45e481ed2 test: add test for specifier of configuration directory root 2018-06-21 03:24:09 +09:00
Yu Watanabe
969309c2b4 core: add unit specifier for configuration directory root
Follow-up for 14068e17f3.
2018-06-21 03:20:37 +09:00
Zbigniew Jędrzejewski-Szmek
5ce2212a72 units: fix typo in After=
Followup for c7668c1ce0.
2018-06-20 18:14:43 +02:00
Zbigniew Jędrzejewski-Szmek
54781addb7 test-sizeof: another aproach to _Float128 availability detection 2018-06-20 17:06:21 +02:00
Lennart Poettering
d690610801 NEWS: document that the BLS is now part of our tree 2018-06-20 17:01:56 +02:00
Lennart Poettering
53ddb667a9 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
2018-06-20 17:01:56 +02:00
Lennart Poettering
41e3f73dc2 man: fix URL to BLS
Let's refer to our own version now.
2018-06-20 16:56:01 +02:00
Lennart Poettering
48a7ebb877 doc: document the architecture setting 2018-06-20 16:56:01 +02:00
Lennart Poettering
1d8a48e8e3 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.
2018-06-20 16:56:01 +02:00
Lennart Poettering
a893ec6a93 doc: update BLS links list
let's make these proper links
2018-06-20 16:56:01 +02:00
Lennart Poettering
4f4226283b doc: add a second indentation level to partition list, to separate MBR and GPT partitions 2018-06-20 16:56:01 +02:00
Lennart Poettering
a6887cc03e 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
2018-06-20 16:12:55 +02:00
Lennart Poettering
bb6f071f5a update NEWS contributors list again 2018-06-20 13:32:57 +02:00
Lennart Poettering
41145af8a9 Revert "mention alias for poweroff in machinectl --help"
This reverts commit bebd5382ba.

For the reasoning, see: https://github.com/systemd/systemd/pull/9342#issuecomment-398715417
2018-06-20 13:25:42 +02:00
Lennart Poettering
c7668c1ce0 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.
2018-06-20 12:46:18 +02:00
Lennart Poettering
6dd9477dde
Merge pull request #9348 from keszybz/copyright-removal
Copyright removal
2018-06-20 12:27:56 +02:00
Zbigniew Jędrzejewski-Szmek
68ad174eb8 Drop copyrights tags for "systemd authors" 2018-06-20 12:11:12 +02:00
Zbigniew Jędrzejewski-Szmek
5b4f9cc15b 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.
2018-06-20 12:07:38 +02:00
Zbigniew Jędrzejewski-Szmek
d9b02e1697 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
2018-06-20 11:58:53 +02:00
Zbigniew Jędrzejewski-Szmek
3c47d50906 shared/path-lookup: remove unnecessary 'if' to help gcc
Fixes #9343.
2018-06-20 10:57:51 +02:00
Yu Watanabe
d149a404b1 resolve: fix log message 2018-06-20 08:25:10 +02:00
Yu Watanabe
e55fc5b094 resolve: do not log about negative cache for mdns packets
Fixes #9335.
2018-06-20 08:25:10 +02:00
Christian Rebischke
91fd39687a 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.
2018-06-20 08:11:03 +02:00
Susant Sahani
44b598a1c9 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
2018-06-20 08:09:30 +02:00
Sylvain Plantefève
aac5ece3b2 po: update French translation 2018-06-20 08:03:09 +02:00
Piotr Drąg
00839b4e1e po: update Polish translation 2018-06-20 08:02:34 +02:00
Zbigniew Jędrzejewski-Szmek
8ce2809248 Merge the "boot loader specification" wiki page 2018-06-19 14:03:25 +02:00
Zbigniew Jędrzejewski-Szmek
889cb0ab75 Add description of field correspondence 2018-06-19 13:53:42 +02:00
Hans de Goede
520741d08e 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.
2018-06-19 13:42:19 +02:00
Zbigniew Jędrzejewski-Szmek
bc2e7c84e1 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.
2018-06-19 13:15:25 +02:00
Zbigniew Jędrzejewski-Szmek
5be7bfbcb9 Add a description of unified kernel images 2018-06-19 13:15:25 +02:00
Zbigniew Jędrzejewski-Szmek
0e73c3faaf Rename sd-boot to systemd-boot
C.f. 70c8db7555.
2018-06-19 13:12:31 +02:00
Zbigniew Jędrzejewski-Szmek
6e6b351b2a Wording and formatting updates
UTF-8 is not a character set. Unicode is the character set. UTF-* are encodings.
2018-06-19 13:12:29 +02:00