]>
git.ipfire.org Git - thirdparty/systemd.git/log
Lennart Poettering [Thu, 4 Jul 2019 16:35:39 +0000 (18:35 +0200)]
home: add new systemd-homed service that can manage LUKS homes
Fixes more or less: https://bugs.freedesktop.org/show_bug.cgi?id=67474
Lennart Poettering [Wed, 3 Jul 2019 12:46:42 +0000 (14:46 +0200)]
mkosi: add fdisk-devel, openssl-devel, libpwquality-devel, p11kit-devel and efsck to build
This is preparation for subsequent additions which link against these
libraries.
Franck Bui [Tue, 28 Jan 2020 15:22:12 +0000 (16:22 +0100)]
udev: assume that the recv buffer size of the netlink socket is already configured when the socket is passed in
This makes ReceiveBuffer= option in systemd-udevd-kernel.socket unit useful.
Yu Watanabe [Tue, 28 Jan 2020 17:05:48 +0000 (02:05 +0900)]
test-network: fix test_qdisc2()
quantum and initial_quantum may suffixed with 'b'.
Lennart Poettering [Tue, 28 Jan 2020 16:57:30 +0000 (17:57 +0100)]
Merge pull request #14685 from poettering/sd-bus-bool-as-int
sd-bus documentation: highlight bool vs. int situation
Lennart Poettering [Tue, 28 Jan 2020 16:23:50 +0000 (17:23 +0100)]
Merge pull request #14594 from keszybz/id128-show-gpt
Print gpt table values in systemd-id128
Ashley Davis [Tue, 28 Jan 2020 15:47:25 +0000 (15:47 +0000)]
fix erroneous "`" in boot loader spec
Lennart Poettering [Tue, 28 Jan 2020 15:52:12 +0000 (16:52 +0100)]
man: document that sd_bus_message_read_array() only supports trivial types
Fixes: #14641
Lennart Poettering [Tue, 28 Jan 2020 15:31:40 +0000 (16:31 +0100)]
man: clarify that we decode D-Bus bools as "int", not as C99 "bool"
Fixes: #14643
Lennart Poettering [Tue, 28 Jan 2020 15:30:44 +0000 (16:30 +0100)]
man: describe types slightly more accurately
Lennart Poettering [Tue, 28 Jan 2020 15:28:04 +0000 (16:28 +0100)]
man: enclose C type names in <type></type>
Zbigniew Jędrzejewski-Szmek [Tue, 28 Jan 2020 15:10:28 +0000 (16:10 +0100)]
Merge pull request #14611 from yuwata/network-fix-reconfigure
network: fix reconfigure
Zbigniew Jędrzejewski-Szmek [Tue, 28 Jan 2020 15:09:09 +0000 (16:09 +0100)]
Merge pull request #14633 from poettering/logind-switch-polkit
add polkit hookup for VT switching in logind
Lennart Poettering [Tue, 28 Jan 2020 14:42:10 +0000 (15:42 +0100)]
Merge pull request #14667 from yuwata/boot-random-seed-mode
boot: parse random-seed-mode
Yu Watanabe [Sun, 26 Jan 2020 12:24:09 +0000 (21:24 +0900)]
unit: add AF_ALG to systemd-networkd.service
networkd uses khash, and khash requires AF_ALG.
Lennart Poettering [Tue, 28 Jan 2020 14:18:16 +0000 (15:18 +0100)]
Merge pull request #14675 from yuwata/network-dhcp-accept-nul
network: accept NUL character in SendOption=
Yu Watanabe [Mon, 27 Jan 2020 14:10:05 +0000 (23:10 +0900)]
test: drop sector-size line from output of sfdisk
The following commit adds 'sector-size' line to the output of sfdisk
command:
https://github.com/karelzak/util-linux/commit/
e56ca0681514dcf0846225cd67a72d1ab260b8a6
Fixes #14664.
dann frazier [Tue, 28 Jan 2020 01:45:17 +0000 (18:45 -0700)]
test: Synchronize journal before reading from it
There's a race condition in the sysuser test where it may try to read
entries from the journal before they are available. Fix it by adding a
`journalctl --sync` call.
BugLink: https://bugs.launchpad.net/bugs/1776654
Lennart Poettering [Tue, 28 Jan 2020 14:11:41 +0000 (15:11 +0100)]
Merge pull request #14673 from keur/protect_clock
Protect clock
Lennart Poettering [Tue, 28 Jan 2020 14:04:49 +0000 (15:04 +0100)]
TODO: add various items as result from devconf.cz 2020 discussions
sangelovic [Mon, 27 Jan 2020 20:40:37 +0000 (21:40 +0100)]
sd-bus: fix introspection bug in signal parameter names
Kevin Kuehler [Sun, 26 Jan 2020 20:47:50 +0000 (12:47 -0800)]
man: doc: Document ProtectClock=
Yu Watanabe [Mon, 27 Jan 2020 09:11:08 +0000 (18:11 +0900)]
network: accept NUL character in SendOption=
Closes #14609.
Yu Watanabe [Mon, 27 Jan 2020 09:09:25 +0000 (18:09 +0900)]
test: add tests for UNESCAPE_ACCEPT_NUL
Yu Watanabe [Mon, 27 Jan 2020 08:46:22 +0000 (17:46 +0900)]
escape: introduce UNESCAPE_ACCEPT_NUL flag
Yu Watanabe [Mon, 27 Jan 2020 08:38:41 +0000 (17:38 +0900)]
escape: make cunescape() and cunescape_length() inline
Susant Sahani [Sat, 25 Jan 2020 10:30:08 +0000 (11:30 +0100)]
efi: fix build.
```
ninja -C build
ninja: Entering directory `build'
[29/101] Generating systemd_boot.so with a custom command.
FAILED: src/boot/efi/systemd_boot.so
/usr/bin/ld -o src/boot/efi/systemd_boot.so -T /usr/lib64/gnuefi/elf_x64_efi.lds -shared -Bsymbolic -nostdlib -znocombreloc -L /usr/lib64 /usr/lib64/gnuefi/crt0-efi-x64.o src/boot/efi/disk.c.o src/boot/efi/graphics.c.o src/boot/efi/measure.c.o src/boot/efi/pe.c.o src/boot/efi/util.c.o src/boot/efi/boot.c.o src/boot/efi/console.c.o src/boot/efi/crc32.c.o src/boot/efi/random-seed.c.o src/boot/efi/sha256.c.o src/boot/efi/shim.c.o -lefi -lgnuefi /usr/lib/gcc/x86_64-redhat-linux/10/libgcc.a
/usr/bin/ld: src/boot/efi/graphics.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: multiple definition of `loader_guid'; src/boot/efi/disk.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: first defined here
/usr/bin/ld: src/boot/efi/pe.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: multiple definition of `loader_guid'; src/boot/efi/disk.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: first defined here
/usr/bin/ld: src/boot/efi/util.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: multiple definition of `loader_guid'; src/boot/efi/disk.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: first defined here
/usr/bin/ld: src/boot/efi/boot.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: multiple definition of `loader_guid'; src/boot/efi/disk.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: first defined here
/usr/bin/ld: src/boot/efi/console.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: multiple definition of `loader_guid'; src/boot/efi/disk.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: first defined here
/usr/bin/ld: src/boot/efi/random-seed.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: multiple definition of `loader_guid'; src/boot/efi/disk.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: first defined here
/usr/bin/ld: src/boot/efi/shim.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: multiple definition of `loader_guid'; src/boot/efi/disk.c.o:/home/sus/tt/systemd/build/../src/boot/efi/util.h:58: first defined here
[31/101] Generating stub.c.o with a custom command.
ninja: build stopped: subcommand failed.
make: *** [Makefile:2: all] Error 1
```
Kevin Kuehler [Sun, 26 Jan 2020 20:44:47 +0000 (12:44 -0800)]
analyze: Add ProtectClock= to analyze-security
Kevin Kuehler [Sun, 26 Jan 2020 20:23:33 +0000 (12:23 -0800)]
core: shared: Add ProtectClock= to systemd.exec
Florian Klink [Fri, 24 Jan 2020 18:01:29 +0000 (19:01 +0100)]
man: tmpfiles.d: list missing q
Also, Q creates directories (same as v), so update the example
accordingly.
WataruMatsuoka [Sat, 25 Jan 2020 21:35:02 +0000 (06:35 +0900)]
Update copyright notice
Yu Watanabe [Sun, 26 Jan 2020 04:05:13 +0000 (13:05 +0900)]
bootspec: parse random-seed-mode line in loader.conf
Fixes #14657.
Yu Watanabe [Sun, 26 Jan 2020 03:59:48 +0000 (12:59 +0900)]
sd-boot: fix typo
Fixes #14657.
Frantisek Sumsal [Sat, 25 Jan 2020 16:48:23 +0000 (17:48 +0100)]
test: unpin meson from v0.52.1
The compatibility issue in meson v0.53 has been fixed in v0.53.1, which
is already available through pip, so let's remove the pin for meson
introduced before.
Reverts:
514793658c499821383bdc8bbf1d33048c18dd40
Tobias Klauser [Fri, 24 Jan 2020 15:07:48 +0000 (16:07 +0100)]
man: remove duplicate in list of variables ignored by Anonymize
SendHostname= appears twice in the list of variables ignored by
Anonymize=.
Zbigniew Jędrzejewski-Szmek [Fri, 17 Jan 2020 10:34:13 +0000 (11:34 +0100)]
systemd-id128: add new verb to print GPT partitions UUIDs
Lennart Poettering [Thu, 23 Jan 2020 21:59:47 +0000 (22:59 +0100)]
update TODO
Zbigniew Jędrzejewski-Szmek [Thu, 23 Jan 2020 21:55:48 +0000 (22:55 +0100)]
shared/gpt: export gpt_partition_type_uuid_{to,from}_string functions
Zbigniew Jędrzejewski-Szmek [Thu, 23 Jan 2020 18:07:02 +0000 (19:07 +0100)]
Merge pull request #14368 from poettering/repart
Lennart Poettering [Wed, 22 Jan 2020 21:59:30 +0000 (22:59 +0100)]
update TODO
Anita Zhang [Wed, 22 Jan 2020 13:32:18 +0000 (05:32 -0800)]
Merge pull request #14618 from poettering/growfs-rootfs
generator: order growfs for the root fs after systemd-remount-fs
Anita Zhang [Wed, 22 Jan 2020 11:48:31 +0000 (03:48 -0800)]
Merge pull request #14614 from poettering/import-fixlets
three small importd fixes
Lennart Poettering [Wed, 22 Jan 2020 11:04:38 +0000 (12:04 +0100)]
logind: check PolicyKit before allowing VT switch
Let's lock this down a bit. Effectively nothing much changes, since the
default PK policy will allow users on the VT to change VT. Only users
with no local VT session won't be able to switch VTs.
Lennart Poettering [Wed, 22 Jan 2020 10:39:22 +0000 (11:39 +0100)]
shared: split out polkit stuff from bus-util.c → bus-polkit.c
It's enough, complex stuff to warrant its own source file.
No other changes, just splitting out.
hadess [Wed, 22 Jan 2020 10:47:06 +0000 (11:47 +0100)]
Merge pull request #14628 from poettering/hwdb-asus-tp500la
hwdb: add asus tp500la
Yu Watanabe [Wed, 22 Jan 2020 07:06:50 +0000 (16:06 +0900)]
network: do nothing if link is in pending or linger state on reconfiguring
Yu Watanabe [Wed, 22 Jan 2020 07:05:27 +0000 (16:05 +0900)]
network: synchronously save state file when link is being reconfigured
Yu Watanabe [Mon, 20 Jan 2020 11:38:21 +0000 (20:38 +0900)]
network: set dirty flag when link is being reconfigured
Lennart Poettering [Tue, 21 Jan 2020 12:43:04 +0000 (13:43 +0100)]
loginctl: use /org/freedesktop/login1/session/auto when "lock-session" is called without argument
This way we'll use the "display" session automatically, and that makes
the call work when invoked from user@.service.
Fixes: #13614
Lennart Poettering [Tue, 21 Jan 2020 18:21:49 +0000 (19:21 +0100)]
Merge pull request #14605 from aerusso/pulls/x-systemd-wantedby-requiredby
Implemented x-systemd.{required,wanted}-by= options
Andreas Rammhold [Tue, 21 Jan 2020 17:22:22 +0000 (18:22 +0100)]
man: fix typo in systemd.netdev Xfrm example
The first section header in that example should probably be `[NetDev]` and not `[Xfrm]`.
Yu Watanabe [Tue, 21 Jan 2020 11:06:40 +0000 (20:06 +0900)]
network,udev: use uint64_t for bit rate
Fixes #14620.
Lennart Poettering [Tue, 21 Jan 2020 11:03:02 +0000 (12:03 +0100)]
timesyncd: log louder when we refuse a server due to root distance
This is something people should know about, since it's caused by
misconfiguration.
Fixes: #13912
Lennart Poettering [Tue, 21 Jan 2020 14:08:38 +0000 (15:08 +0100)]
Merge pull request #14617 from poettering/no-strv-clear
strv: remove strv_clear() and some other minor fixes
Lennart Poettering [Tue, 21 Jan 2020 14:08:02 +0000 (15:08 +0100)]
Merge pull request #14622 from poettering/uid-ref-fixlets
trivial uid ref counting clean-ups
Emmanuel Bourg [Tue, 21 Jan 2020 13:07:02 +0000 (14:07 +0100)]
Fixed some typos in the documentation
Lennart Poettering [Mon, 20 Jan 2020 16:11:31 +0000 (17:11 +0100)]
resolved: drop DNSSEC root key that is not valid anymore
I guess we can drop this now, the key is no longer valid until
2019-01-11, hence there's no point in still including it in our trust
anchor.
Antonio Russo [Sat, 18 Jan 2020 21:14:58 +0000 (14:14 -0700)]
Implemented x-systemd.{required,wanted}-by= options
Teaches systemd-fstab-generator these two unit options,
creating appropriate dependencies on the generated .mount
units. When used, they override any other automatically
generated dependencies, such as local-fs.target, and are
NOT suppressed by noauto. The new options are ignored for
/, in the same way that noauto is ignored.
Fixes: #14380
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Lennart Poettering [Tue, 21 Jan 2020 09:49:58 +0000 (10:49 +0100)]
journal: don't use startswith() on something that is not a NUL-terminated string
Otherwise we might access memory coming after it that is not valid or
allocated.
Fixes: #14114
Lennart Poettering [Tue, 21 Jan 2020 13:23:39 +0000 (14:23 +0100)]
hwbd: add Asus TP500LA
Extracted from #12654
Fixes: #12654
Lennart Poettering [Tue, 21 Jan 2020 13:23:33 +0000 (14:23 +0100)]
hwdb: merge identical entries
Lennart Poettering [Tue, 21 Jan 2020 13:23:14 +0000 (14:23 +0100)]
hwdb: fix whitespace issue
Yu Watanabe [Tue, 21 Jan 2020 09:10:46 +0000 (18:10 +0900)]
virt: do not define vm_from_string() for non-x86 architecture
Fixes #14615.
Lennart Poettering [Tue, 21 Jan 2020 10:51:45 +0000 (11:51 +0100)]
core: make a number of functions not used externally static
Lennart Poettering [Tue, 21 Jan 2020 10:51:26 +0000 (11:51 +0100)]
core: show the UID we cannot parse
Lennart Poettering [Mon, 20 Jan 2020 19:13:46 +0000 (20:13 +0100)]
json: lower maximum allowed recursion to 2K
Apparently 4K is too high still, let's halve it.
Fixes: #14396
Lennart Poettering [Tue, 21 Jan 2020 09:40:18 +0000 (10:40 +0100)]
generator: order growfs for the root fs after systemd-remount-fs
Fixes: #14603
Lennart Poettering [Tue, 21 Jan 2020 09:22:31 +0000 (10:22 +0100)]
Merge pull request #14595 from poettering/stdin-file-fix
core: make sure StandardInput=file: doesn't get dup'ed to stdout/stde…
Lennart Poettering [Tue, 21 Jan 2020 09:15:26 +0000 (10:15 +0100)]
hwdb: fix error numbers passed to log_syntax()
Lennart Poettering [Tue, 21 Jan 2020 09:13:07 +0000 (10:13 +0100)]
hwdb: use strv_extend() where we can
Lennart Poettering [Tue, 21 Jan 2020 09:07:34 +0000 (10:07 +0100)]
strv: get rid of strv_clear()
Let's remove a function of questionnable utility.
strv_clear() frees the items of a string array, but not the array
itself. i.e. it half-drestructs a string array and makes it empty. This
is not too useful an operation since we almost never need to just do
that, we also want to free the whole thing. In fact, strv_clear() is
only used in one of our .c file, and there it appears like unnecessary
optimization, given that for each array with n elements it leaves the
number of free()s we need to at O(n) which is not really an optimization
at all (it goes from n+1 to n, that's all).
Prompted by the discussions on #14605
Antonio Russo [Tue, 21 Jan 2020 02:35:13 +0000 (19:35 -0700)]
Documentation update for x-systemd.{before,after}
A minor clarification in the manual page is made.
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Lennart Poettering [Mon, 20 Jan 2020 21:05:53 +0000 (22:05 +0100)]
import: let's disable UNIX signal generation from curl
Lennart Poettering [Mon, 20 Jan 2020 21:02:14 +0000 (22:02 +0100)]
import: put a time-out on downloads
Let's abort downloads when they are stuck by setting a download speed
threshold (as suggested in the CURL docs)
Fixes: #14215
Lennart Poettering [Mon, 20 Jan 2020 20:10:31 +0000 (21:10 +0100)]
import: don't complain if FS_NOCOW_FL is not available
Let's downgrade the log message to LOG_DEBUG if triggered by an fs that
doesn't support the flag.
Lennart Poettering [Tue, 10 Dec 2019 22:47:06 +0000 (23:47 +0100)]
update TODO
Lennart Poettering [Tue, 17 Dec 2019 18:19:02 +0000 (19:19 +0100)]
ci: add dependencies for repart + cryptsetup's pkcs#11 support
Let's make sure we can test systemd-repart properly
(And while we are at it, also test cryptsetup-pkcs#11)
Lennart Poettering [Tue, 17 Dec 2019 12:47:21 +0000 (13:47 +0100)]
man: document systemd-repart
Lennart Poettering [Mon, 16 Dec 2019 16:32:44 +0000 (17:32 +0100)]
test: add repart test
Lennart Poettering [Thu, 12 Dec 2019 16:06:06 +0000 (17:06 +0100)]
units: add unit file for systemd-repart to automatically run at boot
Lennart Poettering [Thu, 12 Dec 2019 16:05:56 +0000 (17:05 +0100)]
mkosi: modernize
Fedora minimization had some effect, hence add some required
dependencies explicitly so that we work anyway.
Also, the libtool is not used anymore, drop it.
Finally, the mkosi output format is called gpt_ext4 now, not raw_ext4
anymore.
Lennart Poettering [Tue, 10 Dec 2019 20:31:41 +0000 (21:31 +0100)]
repart: add new systemd-repart tool
Fixes: #14052
Lennart Poettering [Tue, 10 Dec 2019 20:32:10 +0000 (21:32 +0100)]
conf-parser: add parser for 32bit signed integers
Lennart Poettering [Tue, 10 Dec 2019 20:26:47 +0000 (21:26 +0100)]
locale-util: add special glyph Σ
Lennart Poettering [Tue, 10 Dec 2019 20:30:09 +0000 (21:30 +0100)]
locale-util: add block drawing special glyphs
Lennart Poettering [Tue, 10 Dec 2019 20:28:16 +0000 (21:28 +0100)]
format-table: add support for formatting uuids/id128 values
Lennart Poettering [Tue, 10 Dec 2019 10:32:59 +0000 (11:32 +0100)]
id128: move make_v4_uuid into id128-util.h to make it generally useful
Lennart Poettering [Tue, 10 Dec 2019 20:31:54 +0000 (21:31 +0100)]
makefs: simplify SPDX header
Lennart Poettering [Mon, 20 Jan 2020 13:40:44 +0000 (14:40 +0100)]
test: add test for https://github.com/systemd/systemd/issues/14560
Lennart Poettering [Fri, 17 Jan 2020 11:41:53 +0000 (12:41 +0100)]
core: make sure StandardInput=file: doesn't get dup'ed to stdout/stderr by default
Fixes: #14560
Zbigniew Jędrzejewski-Szmek [Wed, 18 Dec 2019 08:14:57 +0000 (09:14 +0100)]
units: drop full paths for utilities in $PATH
This makes things a bit simpler and the build a bit faster, because we don't
have to rewrite files to do the trivial substitution. @rootbindir@ is always in
our internal $PATH that we use for non-absolute paths, so there should be no
functional change.
Daniele Medri [Sun, 19 Jan 2020 10:58:21 +0000 (11:58 +0100)]
Italian: language update
Sascha Dewald [Sat, 18 Jan 2020 08:17:57 +0000 (08:17 +0000)]
pkgconf: add full generator paths
Lennart Poettering [Fri, 17 Jan 2020 14:37:56 +0000 (15:37 +0100)]
tree-wide: we forgot to destroy some bus errors
Zbigniew Jędrzejewski-Szmek [Sat, 18 Jan 2020 09:17:10 +0000 (10:17 +0100)]
Merge pull request #14596 from poettering/no-mask-perpetual
core: don't allow perpetual units to be masked
Wieland Hoffmann [Sat, 18 Jan 2020 07:38:29 +0000 (08:38 +0100)]
typo: "May modify to" -> "May modify"
Zbigniew Jędrzejewski-Szmek [Fri, 17 Jan 2020 14:23:02 +0000 (15:23 +0100)]
Merge pull request #14590 from poettering/doc-fixlets
A bunch of documentation fixes
Lennart Poettering [Fri, 17 Jan 2020 14:09:01 +0000 (15:09 +0100)]
mount: make checks on perpetual mount units more lax
We don#t really care where perpetual mounts are mounted from, since they
have to exist since before we run anyway.
Lennart Poettering [Fri, 17 Jan 2020 14:02:13 +0000 (15:02 +0100)]
core: never allow perpetual units to be masked
Fixes: #14550
Lennart Poettering [Fri, 17 Jan 2020 11:27:48 +0000 (12:27 +0100)]
Merge pull request #14592 from keszybz/simplifications
Simplifications