Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 12:46:19 +0000 (13:46 +0100)]
Various typo fixes and grammar corrections
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:34:05 +0000 (12:34 +0100)]
polkit: tweak grammar
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:27:45 +0000 (12:27 +0100)]
meson: fix type of homed option
Zbigniew Jędrzejewski-Szmek [Thu, 30 Jan 2020 11:32:06 +0000 (12:32 +0100)]
Merge pull request #14096 from poettering/homed
systemd-homed
Piotr Drąg [Wed, 29 Jan 2020 16:28:15 +0000 (17:28 +0100)]
po: update Polish translation
Lennart Poettering [Wed, 29 Jan 2020 18:32:39 +0000 (19:32 +0100)]
update TODO
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.
Lennart Poettering [Wed, 29 Jan 2020 18:22:26 +0000 (19:22 +0100)]
update TODO
Lennart Poettering [Wed, 29 Jan 2020 15:55:59 +0000 (16:55 +0100)]
update TODO
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).
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"
Lennart Poettering [Wed, 29 Jan 2020 13:12:22 +0000 (14:12 +0100)]
NEWS: more v245 preparation
splantefeve [Tue, 28 Jan 2020 22:16:25 +0000 (23:16 +0100)]
po: update French translation
Lennart Poettering [Wed, 29 Jan 2020 10:44:32 +0000 (11:44 +0100)]
NEWS: start preparing v245
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
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.
Lennart Poettering [Tue, 28 Jan 2020 21:00:02 +0000 (22:00 +0100)]
test: make sure chase_symlink() returns normalized paths
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
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
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
Lennart Poettering [Thu, 4 Jul 2019 16:16:30 +0000 (18:16 +0200)]
update TODO
Lennart Poettering [Wed, 20 Nov 2019 22:34:21 +0000 (23:34 +0100)]
ci: add new dependencies to CI
Lennart Poettering [Mon, 26 Aug 2019 16:15:40 +0000 (18:15 +0200)]
docs: document the home directory format
Lennart Poettering [Mon, 26 Aug 2019 13:31:17 +0000 (15:31 +0200)]
docs: document homed UID range
Lennart Poettering [Mon, 26 Aug 2019 12:10:41 +0000 (14:10 +0200)]
man: document pam_systemd_home
Lennart Poettering [Mon, 26 Aug 2019 10:36:10 +0000 (12:36 +0200)]
man: add systemd-homed man page
Lennart Poettering [Fri, 23 Aug 2019 11:19:55 +0000 (13:19 +0200)]
man: add homectl(1) man page
Lennart Poettering [Mon, 19 Aug 2019 16:56:11 +0000 (18:56 +0200)]
sleep: automatically lock all home directories when suspending
Lennart Poettering [Sun, 7 Jul 2019 15:30:15 +0000 (17:30 +0200)]
test: add test case for homed
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
Lennart Poettering [Thu, 4 Jul 2019 17:06:15 +0000 (19:06 +0200)]
home: add homectl client tool
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()