Yu Watanabe
a9061d97a7
timesync: update log message
...
Fixes #9388 .
2018-06-25 10:27:18 +02:00
Yu Watanabe
75ca1621db
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 .
2018-06-25 10:27:18 +02:00
Yu Watanabe
d5c3091122
install: fix error handling in is_symlink_with_known_name()
2018-06-25 14:07:16 +09:00
Yu Watanabe
99c89da02d
portable: fix error handling
2018-06-25 13:56:27 +09:00
Yu Watanabe
d61b34f1b2
import: drop unnecessary condition
2018-06-25 13:54:44 +09:00
Yu Watanabe
712fdfd609
sd-dhcp: drop unnecessary condition
2018-06-25 13:51:34 +09:00
Yu Watanabe
8838f46f93
machine-pool: drop unnecessary condition
2018-06-25 13:49:56 +09:00
Yu Watanabe
6da95857c1
resolve: drop dead code
2018-06-25 13:46:52 +09:00
Yu Watanabe
fa6a69d783
resolve: drop dead code
2018-06-25 13:42:31 +09:00
Yu Watanabe
33987ba0c2
bootctl: drop dead code
2018-06-25 13:40:36 +09:00
Yu Watanabe
29bfb683a8
journal: drop redundant condition
2018-06-25 13:36:49 +09:00
Yu Watanabe
a5042ec4d7
resolve: fix return value type of dns_answer_has_dname_for_cname()
2018-06-25 13:25:42 +09:00
Yu Watanabe
86b112a315
resolve: dns_scope_network_good() does not returns negative errno
2018-06-25 13:25:34 +09:00
Yu Watanabe
b4dec49f83
core/cgroup: drop unnecessary condition
2018-06-25 13:09:48 +09:00
Yu Watanabe
0ceff9068d
bus-util: fix error handling
2018-06-25 13:08:02 +09:00
Yu Watanabe
f18edd8a0a
tree-wide: add multiple inclusion guard
2018-06-25 13:04:59 +09:00
Yu Watanabe
6302d1ea07
core: drop unused log message
...
temporary_filesystem_add() does not parse mount options.
2018-06-24 19:06:24 +02:00
YmrDtnJu
a26fec2408
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().
2018-06-23 08:17:07 +09:00
Zbigniew Jędrzejewski-Szmek
25612ecba4
tree-wide: drop copyright lines for more authors
...
Acks in https://github.com/systemd/systemd/issues/9320 .
2018-06-22 16:39:45 +02:00
Kevin Kuehler
321ed3643a
journalctl: handle inotify exhaustion nicer
...
Instead of failing, log that inotify wds
are exhausted and fallback to -n switch.
Fixes #1296 .
2018-06-21 14:46:53 +02:00
Roland Kammerer
fee854ee8c
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 >
2018-06-21 14:46:27 +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
01d32c0030
core: use fflush_and_check() where appropriate
2018-06-20 23:59:29 +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
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
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
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
54781addb7
test-sizeof: another aproach to _Float128 availability detection
2018-06-20 17:06:21 +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
41145af8a9
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
2018-06-20 13:25:42 +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
Hannes Reinecke
c0373eb019
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 >
2018-06-19 12:46:24 +02:00
Jérémy Rosen
14c1abccf0
add _AUDIT_TYPE_NAME field to audit records in the journal
2018-06-19 10:48:38 +02:00
Zbigniew Jędrzejewski-Szmek
1183320594
resolved: move dot to end of sentence
...
Noticed in #9285 .
2018-06-19 16:14:48 +09:00
Yu Watanabe
22509a8df0
sd-bus: fix typo in comment
2018-06-19 08:44:55 +02:00
Yu Watanabe
31d99bd172
tree-wide: do not assign values if not used
2018-06-19 08:44:55 +02:00
Zbigniew Jędrzejewski-Szmek
496ab389cc
Merge pull request #9330 from yuwata/ja-po-portable
...
portable: update polkit messages
2018-06-19 08:37:36 +02:00