Ivan Shapovalov
ac8bb308b7
growfs: call crypt_set_debug_level() correctly, skip if not needed
2019-07-08 16:04:17 +03:00
Ivan Shapovalov
568a84048e
cryptsetup: enable libcryptsetup debug logging if we want it
...
Even if we set a log callback that would accept debug messages, libcryptsetup
needs debug logging enabled explicitly for it to happen.
2019-07-08 16:02:41 +03:00
Ivan Shapovalov
8c71b2cd44
cryptsetup: set libcryptsetup global log callback too
2019-07-06 13:56:19 +03:00
Ivan Shapovalov
df2452c553
basic/log: fix SYSTEMD_LOG_* parsing error messages
...
(likely a copy-paste gone wrong)
2019-07-06 13:47:06 +03:00
Yu Watanabe
c38d2d4d59
test-network: add tests for DHCP.UseRoutes=no with custom route settings
...
This adds test for b5799eeb07
.
Closes #12951 .
2019-07-06 08:23:10 +09:00
Lennart Poettering
1ccbb359a1
login: move file definitions outside of the conditionalization
2019-07-05 17:55:49 +02:00
Zbigniew Jędrzejewski-Szmek
6490a017e2
Merge pull request #12964 from yuwata/network-bridge-vlan-issue-12958
...
network: fix BridgeVLAN issue
2019-07-05 13:58:21 +02:00
Yu Watanabe
6a54fb8f1e
Merge pull request #12963 from keszybz/analyze-timestamp
...
systemd-analyze dump fixup
2019-07-05 17:15:00 +09:00
Yu Watanabe
6f94379833
test-network: add tests for BridgeVLAN
2019-07-05 16:39:39 +09:00
Yu Watanabe
3a1df8c4cb
network: fix issue found by UBSan
2019-07-05 16:37:34 +09:00
Yu Watanabe
412ac780ac
network: fix the initial value of the counter for brvlan
...
Fixes #12958 .
2019-07-05 16:35:11 +09:00
Yu Watanabe
fb721f084c
network: re-implement parse_vid_range()
2019-07-05 16:35:06 +09:00
Yu Watanabe
7bbb43a79a
network: minor coding-style update
2019-07-05 16:34:01 +09:00
Lennart Poettering
7e69d90c8d
varlink: add varlink server to event loop only if there is one
2019-07-04 22:53:49 +02:00
Zbigniew Jędrzejewski-Szmek
3454129571
pid1: use monotonic timestamp in dump if realtime is not available
...
$ systemd-analyze dump | head -3
Timestamp firmware: (null)
Timestamp loader: (null)
Timestamp kernel: Mon 2019-07-01 17:21:02 CEST
Since this is a debugging interface, it is OK to change the output format.
The user can infer what "Timestamp firmware: 123.456ms" means.
2019-07-04 22:52:25 +02:00
Yu Watanabe
aaae57139b
test-network: show debug logs of networkd
2019-07-05 02:47:42 +09:00
Lennart Poettering
e4c5d78e5f
portabled: Make use of SYNTHETIC_ERRNO()
2019-07-04 19:45:23 +02:00
Lennart Poettering
b67f05dabf
fsck: split out fsck return code definitions into a header file of its own
...
This way we can make use of it from other components too, such as
systemd-homed.
2019-07-05 02:31:12 +09:00
Lennart Poettering
a709a3154d
dissect: split out DM deferred remove into src/shared/dm-util.c
...
The function is generally useful, let's split it out so that we can make
use of it later on in systemd-homed.
2019-07-05 02:19:24 +09:00
Zbigniew Jędrzejewski-Szmek
1f65fd4926
basic/time-util: add helper function to check if timestamp is set
...
No functional change.
2019-07-04 19:12:47 +02:00
Philip Withnall
a9a50bd680
man: Add some notes about variable $prefix for StateDirectory=
...
tl;dr: It isn’t supported.
Wording by Zbigniew Jędrzejewski-Szmek.
See https://twitter.com/pid_eins/status/1102639279614906369 and
https://gitlab.freedesktop.org/libfprint/fprintd/merge_requests/5#note_125536
onwards.
Signed-off-by: Philip Withnall <withnall@endlessm.com>
2019-07-04 18:26:03 +02:00
Lennart Poettering
52d8bcd131
Merge pull request #12949 from yuwata/sd-netlink-sd-netlink-message-enter-array
...
sd-netlink: introduce sd_netlink_message_enter_array()
2019-07-04 15:46:02 +02:00
Lennart Poettering
534b8b80b7
Merge pull request #12954 from keszybz/var-log-dir
...
/var/log-related cleanups
2019-07-04 15:45:43 +02:00
Yu Watanabe
9104009e5e
test: add test for sd_netlink_message_enter_array()
2019-07-04 17:36:09 +09:00
Zbigniew Jędrzejewski-Szmek
29c7680ec9
meson: drop varlogdir variable
...
It was only used for exactly one thing: to substitute in the text in
/var/log/README. But it's use there was completely wrong, because the text
talks about "missing" log files from syslog, so even if we configured systemd
to log to a different directory, the "missing" log files would still be
"missing" from the old location.
2019-07-04 10:16:48 +02:00
Zbigniew Jędrzejewski-Szmek
6ed5ef9819
meson: create /var/log/journal/{,remote/} conditionally
...
Not everybody has those dirs in the filesystem (and they don't need to).
When creating an installation package using $DESTDIR, it is easy enough to
remove or ignore those directories, but if installing into a real root, it
is ugly to create and remove them. Let's add an option so people can skip
it if they want.
Inspired by #12930 .
2019-07-04 10:16:48 +02:00
Yu Watanabe
8fab27472b
sd-netlink: add CTRL_ATTR_MCAST_GROUPS
2019-07-04 17:11:14 +09:00
Yu Watanabe
620fd5d433
sd-netlink: drop unnecessary 'else'
2019-07-04 17:11:05 +09:00
Yu Watanabe
5fc5e2f524
sd-netlink: introduce sd_netlink_message_enter_array()
2019-07-04 17:09:11 +09:00
Yu Watanabe
3bbe178466
sd-netlink: fix inverted log message
2019-07-04 13:46:11 +09:00
Yu Watanabe
7810d22171
Merge pull request #12946 from poettering/blockdev-tweaks
...
three small blockdev-util.[ch] tweaks
2019-07-04 12:36:11 +09:00
Lennart Poettering
ed9aa225e8
varlink: allow using varlink_wait() even with a server
...
This call can be useful even if a server object is declared.
(Originally this was not supported, because a server typically needs to
handle multiple connections, and thus a synchronous wait on one would
starve the others out. But in some cases it might make sense to have
varlink point-to-point connections — i.e. where the server only handles
a single connection ever — and there it makes sense to synchronously
wait on the one connection).
2019-07-04 12:35:52 +09:00
Lennart Poettering
ca5e7694bd
json: use JSON_VARIANT_ARRAY_FOREACH() where we can
2019-07-04 12:35:35 +09:00
Lennart Poettering
54130b3622
logind: drop old-style header from .sym file in favour of SPDX
2019-07-04 12:35:14 +09:00
Connor Reeder
01979136f5
Added ACCEL_MOUNT_MATRIX for Asus Q551LN in hwdb/60-sensor.hwdb
2019-07-04 00:08:35 +02:00
Lennart Poettering
a0ea1dee7b
blockdev-util: let us know if block_get_whole_disk() did anything
2019-07-04 00:01:09 +02:00
Lennart Poettering
51f14fa111
blockdev: filter out invalid block devices early
2019-07-04 00:00:54 +02:00
Lennart Poettering
d18b300933
blockdev-util: propagate actual error
2019-07-04 00:00:44 +02:00
Lennart Poettering
007b77ac6c
man: document tmpfiles.d/ user/group resolvability needs
2019-07-03 15:54:45 +02:00
Jan Synacek
93912e872f
debug-generator: enable custom systemd.debug_shell tty
2019-07-02 09:51:27 +02:00
Zbigniew Jędrzejewski-Szmek
8fabb625ac
Merge pull request #12912 from yuwata/network-move-functions
...
network: move functions
2019-07-02 09:46:38 +02:00
Yu Watanabe
e28fd95ffb
test-network: add udev related tests for networkctl
2019-07-02 09:43:21 +02:00
Zbigniew Jędrzejewski-Szmek
0330cb57ab
Merge pull request #12888 from yuwata/network-udev-property-support
...
network,udev: add Property= setting in [Match] section
2019-07-01 20:33:24 +02:00
Yu Watanabe
9c69cd7ec0
udev: accept lines which have only PROGRAM=
...
As PROGRAM= may cause side effect, and users may expect that.
2019-07-01 14:13:31 +02:00
Michael Biebl
afb30c9fb6
Merge pull request #12916 from yuwata/meson-drop-duplicated-line
...
meson: drop duplicated source
2019-07-01 01:39:35 +02:00
Yu Watanabe
6b9518a0e8
test-network: add test for Property= in [Match] section
2019-07-01 06:53:35 +09:00
Yu Watanabe
02848aaea8
meson: drop duplicated source
2019-07-01 06:45:00 +09:00
Yu Watanabe
f706340979
test: add tests for config_parse_match_{strv,ifnames}()
2019-07-01 01:24:42 +09:00
Yu Watanabe
c382025adf
man: fix wrong udev property name
2019-07-01 01:24:42 +09:00
Yu Watanabe
44005bfb4e
network,udev: add Property= setting in [Match] section
...
Closes #5665 .
2019-07-01 01:24:42 +09:00