]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
5 years agoVarious typo fixes and grammar corrections 14701/head
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 12:46:19 +0000 (13:46 +0100)] 
Various typo fixes and grammar corrections

5 years agopolkit: tweak grammar
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:34:05 +0000 (12:34 +0100)] 
polkit: tweak grammar

5 years agomeson: fix type of homed option
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:27:45 +0000 (12:27 +0100)] 
meson: fix type of homed option

5 years agoMerge pull request #14096 from poettering/homed
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:32:06 +0000 (12:32 +0100)] 
Merge pull request #14096 from poettering/homed

systemd-homed

5 years agopo: update Polish translation
Piotr Drąg [Wed, 29 Jan 2020 16:28:15 +0000 (17:28 +0100)] 
po: update Polish translation

5 years agoupdate TODO
Lennart Poettering [Wed, 29 Jan 2020 18:32:39 +0000 (19:32 +0100)] 
update TODO

5 years agonetwork: fix implicit type conversion warning by GCC-10
Yu Watanabe [Wed, 29 Jan 2020 11:39:12 +0000 (20:39 +0900)] 
network: fix implicit type conversion warning by GCC-10

Fixes part of #14691.

5 years agoupdate TODO
Lennart Poettering [Wed, 29 Jan 2020 18:22:26 +0000 (19:22 +0100)] 
update TODO

5 years agoupdate TODO
Lennart Poettering [Wed, 29 Jan 2020 15:55:59 +0000 (16:55 +0100)] 
update TODO

5 years agopam_systemd: resolve the tty of display via /sys instead of /dev
Topi Miettinen [Sun, 26 Jan 2020 09:58:34 +0000 (11:58 +0200)] 
pam_systemd: resolve the tty of display via /sys instead of /dev

Rely on information provided by /proc/*/stat and /sys/dev/char for resolving
the controlling tty for the display server, instead of trying to access the
tty device in /dev (which may not be accessible for example due to
PrivateDevices=yes).

5 years agoid128: change table header from "uuid" to just "id"
Lennart Poettering [Wed, 29 Jan 2020 13:13:03 +0000 (14:13 +0100)] 
id128: change table header from "uuid" to just "id"

The tool deals with any kind of 128bit id, not just uuid, and by default
we display just a series of hex chars, hence let's not claim everything
was a "uuid", but just generically say "id"

5 years agoNEWS: more v245 preparation
Lennart Poettering [Wed, 29 Jan 2020 13:12:22 +0000 (14:12 +0100)] 
NEWS: more v245 preparation

5 years agopo: update French translation
splantefeve [Tue, 28 Jan 2020 22:16:25 +0000 (23:16 +0100)] 
po: update French translation

5 years agoNEWS: start preparing v245
Lennart Poettering [Wed, 29 Jan 2020 10:44:32 +0000 (11:44 +0100)] 
NEWS: start preparing v245

5 years agoMerge pull request #14689 from poettering/portable-chase-symlink-fix
Yu Watanabe [Wed, 29 Jan 2020 09:51:42 +0000 (18:51 +0900)] 
Merge pull request #14689 from poettering/portable-chase-symlink-fix

various chase_symlink() fixes

5 years agotest: fix rename_noreplace() test 14689/head
Lennart Poettering [Tue, 28 Jan 2020 20:40:03 +0000 (21:40 +0100)] 
test: fix rename_noreplace() test

This corrects the fix b81b9d406de, making the test operate like it was
originally.

5 years agotest: make sure chase_symlink() returns normalized paths
Lennart Poettering [Tue, 28 Jan 2020 21:00:02 +0000 (22:00 +0100)] 
test: make sure chase_symlink() returns normalized paths

5 years agofs-util: make sure we output normalized paths in chase_symlinks()
Lennart Poettering [Tue, 28 Jan 2020 20:56:10 +0000 (21:56 +0100)] 
fs-util: make sure we output normalized paths in chase_symlinks()

Let's eat up multiple slashes.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1787089
Replaces: #14687

5 years agotest: add test for the non-resolving of chase_symlink() root prefix
Lennart Poettering [Tue, 28 Jan 2020 20:40:58 +0000 (21:40 +0100)] 
test: add test for the non-resolving of chase_symlink() root prefix

5 years agofs-util: when calling chase_symlinks() with root path, leave root part unresolved
Lennart Poettering [Tue, 28 Jan 2020 20:02:29 +0000 (21:02 +0100)] 
fs-util: when calling chase_symlinks() with root path, leave root part unresolved

Previously there was a weird asymmetry: initially we'd resolve the
specified prefix path when chasing symlinks together with the actual
path we were supposed to cover, except when we hit an absolute symlink
where we'd use the root as it was. Let's unify handling here: the prefix
path is never resolved, and always left as it is.

This in particular fixes issues with symlinks in the prefix path, as
that confused the check that made sure we never left the root directory.

Fixes: #14634
Replaces: #14635

5 years agoupdate TODO 14096/head
Lennart Poettering [Thu, 4 Jul 2019 16:16:30 +0000 (18:16 +0200)] 
update TODO

5 years agoci: add new dependencies to CI
Lennart Poettering [Wed, 20 Nov 2019 22:34:21 +0000 (23:34 +0100)] 
ci: add new dependencies to CI

5 years agodocs: document the home directory format
Lennart Poettering [Mon, 26 Aug 2019 16:15:40 +0000 (18:15 +0200)] 
docs: document the home directory format

5 years agodocs: document homed UID range
Lennart Poettering [Mon, 26 Aug 2019 13:31:17 +0000 (15:31 +0200)] 
docs: document homed UID range

5 years agoman: document pam_systemd_home
Lennart Poettering [Mon, 26 Aug 2019 12:10:41 +0000 (14:10 +0200)] 
man: document pam_systemd_home

5 years agoman: add systemd-homed man page
Lennart Poettering [Mon, 26 Aug 2019 10:36:10 +0000 (12:36 +0200)] 
man: add systemd-homed man page

5 years agoman: add homectl(1) man page
Lennart Poettering [Fri, 23 Aug 2019 11:19:55 +0000 (13:19 +0200)] 
man: add homectl(1) man page

5 years agosleep: automatically lock all home directories when suspending
Lennart Poettering [Mon, 19 Aug 2019 16:56:11 +0000 (18:56 +0200)] 
sleep: automatically lock all home directories when suspending

5 years agotest: add test case for homed
Lennart Poettering [Sun, 7 Jul 2019 15:30:15 +0000 (17:30 +0200)] 
test: add test case for homed

5 years agohome: add pam_systemd_home.so PAM hookup
Lennart Poettering [Thu, 4 Jul 2019 17:06:26 +0000 (19:06 +0200)] 
home: add pam_systemd_home.so PAM hookup

In a way fixes: https://bugs.freedesktop.org/show_bug.cgi?id=67474

5 years agohome: add homectl client tool
Lennart Poettering [Thu, 4 Jul 2019 17:06:15 +0000 (19:06 +0200)] 
home: add homectl client tool

5 years agohome: add new systemd-homed service that can manage LUKS homes
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

5 years agomkosi: add fdisk-devel, openssl-devel, libpwquality-devel, p11kit-devel and efsck...
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.

5 years agoudev: assume that the recv buffer size of the netlink socket is already configured...
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.

5 years agotest-network: fix test_qdisc2()
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'.

5 years agoMerge pull request #14685 from poettering/sd-bus-bool-as-int
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

5 years agoMerge pull request #14594 from keszybz/id128-show-gpt
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

5 years agofix erroneous "`" in boot loader spec
Ashley Davis [Tue, 28 Jan 2020 15:47:25 +0000 (15:47 +0000)] 
fix erroneous "`" in boot loader spec

5 years agoman: document that sd_bus_message_read_array() only supports trivial types 14685/head
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
5 years agoman: clarify that we decode D-Bus bools as "int", not as C99 "bool"
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
5 years agoman: describe types slightly more accurately
Lennart Poettering [Tue, 28 Jan 2020 15:30:44 +0000 (16:30 +0100)] 
man: describe types slightly more accurately

5 years agoman: enclose C type names in <type></type>
Lennart Poettering [Tue, 28 Jan 2020 15:28:04 +0000 (16:28 +0100)] 
man: enclose C type names in <type></type>

5 years agoMerge pull request #14611 from yuwata/network-fix-reconfigure
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

5 years agoMerge pull request #14633 from poettering/logind-switch-polkit
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

5 years agoMerge pull request #14667 from yuwata/boot-random-seed-mode
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

5 years agounit: add AF_ALG to systemd-networkd.service
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.

5 years agoMerge pull request #14675 from yuwata/network-dhcp-accept-nul
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=

5 years agotest: drop sector-size line from output of sfdisk
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.

5 years agotest: Synchronize journal before reading from it
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
5 years agoMerge pull request #14673 from keur/protect_clock
Lennart Poettering [Tue, 28 Jan 2020 14:11:41 +0000 (15:11 +0100)] 
Merge pull request #14673 from keur/protect_clock

Protect clock

5 years agoTODO: add various items as result from devconf.cz 2020 discussions
Lennart Poettering [Tue, 28 Jan 2020 14:04:49 +0000 (15:04 +0100)] 
TODO: add various items as result from devconf.cz 2020 discussions

5 years agosd-bus: fix introspection bug in signal parameter names
sangelovic [Mon, 27 Jan 2020 20:40:37 +0000 (21:40 +0100)] 
sd-bus: fix introspection bug in signal parameter names

5 years agoman: doc: Document ProtectClock= 14673/head
Kevin Kuehler [Sun, 26 Jan 2020 20:47:50 +0000 (12:47 -0800)] 
man: doc: Document ProtectClock=

5 years agonetwork: accept NUL character in SendOption= 14675/head
Yu Watanabe [Mon, 27 Jan 2020 09:11:08 +0000 (18:11 +0900)] 
network: accept NUL character in SendOption=

Closes #14609.

5 years agotest: add tests for UNESCAPE_ACCEPT_NUL
Yu Watanabe [Mon, 27 Jan 2020 09:09:25 +0000 (18:09 +0900)] 
test: add tests for UNESCAPE_ACCEPT_NUL

5 years agoescape: introduce UNESCAPE_ACCEPT_NUL flag
Yu Watanabe [Mon, 27 Jan 2020 08:46:22 +0000 (17:46 +0900)] 
escape: introduce UNESCAPE_ACCEPT_NUL flag

5 years agoescape: make cunescape() and cunescape_length() inline
Yu Watanabe [Mon, 27 Jan 2020 08:38:41 +0000 (17:38 +0900)] 
escape: make cunescape() and cunescape_length() inline

5 years agoefi: fix build.
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

```

5 years agoanalyze: Add ProtectClock= to analyze-security
Kevin Kuehler [Sun, 26 Jan 2020 20:44:47 +0000 (12:44 -0800)] 
analyze: Add ProtectClock= to analyze-security

5 years agocore: shared: Add ProtectClock= to systemd.exec
Kevin Kuehler [Sun, 26 Jan 2020 20:23:33 +0000 (12:23 -0800)] 
core: shared: Add ProtectClock= to systemd.exec

5 years agoman: tmpfiles.d: list missing q
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.

5 years agoUpdate copyright notice
WataruMatsuoka [Sat, 25 Jan 2020 21:35:02 +0000 (06:35 +0900)] 
Update copyright notice

5 years agobootspec: parse random-seed-mode line in loader.conf 14667/head
Yu Watanabe [Sun, 26 Jan 2020 04:05:13 +0000 (13:05 +0900)] 
bootspec: parse random-seed-mode line in loader.conf

Fixes #14657.

5 years agosd-boot: fix typo
Yu Watanabe [Sun, 26 Jan 2020 03:59:48 +0000 (12:59 +0900)] 
sd-boot: fix typo

Fixes #14657.

5 years agotest: unpin meson from v0.52.1
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

5 years agoman: remove duplicate in list of variables ignored by Anonymize
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=.

5 years agosystemd-id128: add new verb to print GPT partitions UUIDs 14594/head
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

5 years agoupdate TODO
Lennart Poettering [Thu, 23 Jan 2020 21:59:47 +0000 (22:59 +0100)] 
update TODO

5 years agoshared/gpt: export gpt_partition_type_uuid_{to,from}_string functions
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

5 years agoMerge pull request #14368 from poettering/repart
Zbigniew Jędrzejewski-Szmek [Thu, 23 Jan 2020 18:07:02 +0000 (19:07 +0100)] 
Merge pull request #14368 from poettering/repart

5 years agoupdate TODO
Lennart Poettering [Wed, 22 Jan 2020 21:59:30 +0000 (22:59 +0100)] 
update TODO

5 years agoMerge pull request #14618 from poettering/growfs-rootfs
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

5 years agoMerge pull request #14614 from poettering/import-fixlets
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

5 years agologind: check PolicyKit before allowing VT switch 14633/head
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.

5 years agoshared: split out polkit stuff from bus-util.c → bus-polkit.c
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.

5 years agoMerge pull request #14628 from poettering/hwdb-asus-tp500la
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

5 years agonetwork: do nothing if link is in pending or linger state on reconfiguring 14611/head
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

5 years agonetwork: synchronously save state file when link is being reconfigured
Yu Watanabe [Wed, 22 Jan 2020 07:05:27 +0000 (16:05 +0900)] 
network: synchronously save state file when link is being reconfigured

5 years agonetwork: set dirty flag 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

5 years agologinctl: use /org/freedesktop/login1/session/auto when "lock-session" is called...
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
5 years agoMerge pull request #14605 from aerusso/pulls/x-systemd-wantedby-requiredby
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

5 years agoman: fix typo in systemd.netdev Xfrm example
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]`.

5 years agonetwork,udev: use uint64_t for bit rate
Yu Watanabe [Tue, 21 Jan 2020 11:06:40 +0000 (20:06 +0900)] 
network,udev: use uint64_t for bit rate

Fixes #14620.

5 years agotimesyncd: log louder when we refuse a server due to root distance
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
5 years agoMerge pull request #14617 from poettering/no-strv-clear
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

5 years agoMerge pull request #14622 from poettering/uid-ref-fixlets
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

5 years agoFixed some typos in the documentation
Emmanuel Bourg [Tue, 21 Jan 2020 13:07:02 +0000 (14:07 +0100)] 
Fixed some typos in the documentation

5 years agoresolved: drop DNSSEC root key that is not valid anymore
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.

5 years agoImplemented x-systemd.{required,wanted}-by= options 14605/head
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>
5 years agojournal: don't use startswith() on something that is not a NUL-terminated string
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
5 years agohwbd: add Asus TP500LA 14628/head
Lennart Poettering [Tue, 21 Jan 2020 13:23:39 +0000 (14:23 +0100)] 
hwbd: add Asus TP500LA

Extracted from #12654

Fixes: #12654
5 years agohwdb: merge identical entries
Lennart Poettering [Tue, 21 Jan 2020 13:23:33 +0000 (14:23 +0100)] 
hwdb: merge identical entries

5 years agohwdb: fix whitespace issue
Lennart Poettering [Tue, 21 Jan 2020 13:23:14 +0000 (14:23 +0100)] 
hwdb: fix whitespace issue

5 years agovirt: do not define vm_from_string() for non-x86 architecture
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.

5 years agocore: make a number of functions not used externally static 14622/head
Lennart Poettering [Tue, 21 Jan 2020 10:51:45 +0000 (11:51 +0100)] 
core: make a number of functions not used externally static

5 years agocore: show the UID we cannot parse
Lennart Poettering [Tue, 21 Jan 2020 10:51:26 +0000 (11:51 +0100)] 
core: show the UID we cannot parse

5 years agojson: lower maximum allowed recursion to 2K
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
5 years agogenerator: order growfs for the root fs after systemd-remount-fs 14618/head
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
5 years agoMerge pull request #14595 from poettering/stdin-file-fix
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…

5 years agohwdb: fix error numbers passed to log_syntax() 14617/head
Lennart Poettering [Tue, 21 Jan 2020 09:15:26 +0000 (10:15 +0100)] 
hwdb: fix error numbers passed to log_syntax()