Ronan Pigott
cf18af825a
zsh: add systemd-path completions
2020-09-23 10:07:14 +02:00
Lennart Poettering
2d52f8c46c
Merge pull request #17124 from bluca/copypasta
...
dissect-image: use correct path variable when reading verity signatures, do not refuse verity GPT without /usr partition
2020-09-23 09:43:39 +02:00
Lennart Poettering
3cbf74652b
Merge pull request #17127 from poettering/errno-fixup
...
make more use of errno-util.h macros
2020-09-23 09:43:18 +02:00
Zbigniew Jędrzejewski-Szmek
a5d815bb7f
Merge pull request #16938 from poettering/homed-rtc-wrong
...
homed: don't refuse logins when RTC is wrong
2020-09-22 20:51:39 +02:00
Zbigniew Jędrzejewski-Szmek
2b2919a5ff
Merge pull request #17109 from fbuihuu/udev-opts-tweaks
...
Udev opts tweaks
2020-09-22 18:54:48 +02:00
Lennart Poettering
36f8cf0163
Merge pull request #17086 from keszybz/developer-mode-default
...
Update dbus docs, make developer mode default
2020-09-22 16:29:28 +02:00
Lennart Poettering
fce93d7aa3
ptyfwd: use ERRNO_IS_DISCONNECT() when checking for disconnection on foreign fds
2020-09-22 16:25:22 +02:00
Lennart Poettering
065b47749d
tree-wide: use ERRNO_IS_PRIVILEGE() whereever appropriate
2020-09-22 16:25:22 +02:00
Luca Boccassi
c848516f3f
dissect-image: do not refuse verity GPT without /usr partition
...
Only enforce that /usr verity partition is present if a /usr
partition is there
2020-09-22 15:24:59 +01:00
Luca Boccassi
7025fa8b1a
dissect-image: use correct path variable when reading verity signatures
...
Copypasta slipped in via https://github.com/systemd/systemd/pull/17101
2020-09-22 13:19:19 +01:00
Hubert Kario
0b220a5f2a
Try stopping MD RAID devices in shutdown too
...
Currently the systemd-shutdown command attempts to stop swaps, DM
(crypt, LVM2) and loop devices, but it doesn't attempt to stop MD
RAID devices, which means that if the RAID is set up on crypt,
loop, etc. device, it won't be able to stop those underlying devices.
This code extends the shutdown application to also attempt stopping
the MD RAID devices.
Signed-off-by: Hubert Kario <hubert@kario.pl >
2020-09-22 10:41:59 +02:00
Franck Bui
027f96c851
udevadm: rename option '--log-priority' into '--log-level'
...
Let's be consistent with systemctl(1).
'--log-priority' i still kept only for backward compatibility.
2020-09-22 09:05:57 +02:00
Franck Bui
64a3494c3d
udev: rename kernel option 'log_priority' into 'log_level'
...
Let's be consistent with the rest of the project.
'log_priority' is still supported for backward compatibility.
2020-09-22 09:05:57 +02:00
Anita Zhang
06ca077ba2
meson: remove multi-line statement with trailing '\'
...
Error on meson 0.47:
```
meson.build:885:47: ERROR: Expecting colon got eol_cont.
crypt_header = conf.get('HAVE_CRYPT_H') == 1 ? \
^
```
This seems to have been fixed in meson 0.50 after a report from
https://github.com/mesonbuild/meson/issues/4720
2020-09-21 21:20:39 +02:00
Lennart Poettering
a512e330ce
homed: in images that lack mkfs.btrfs automatically fall back to ext4
...
It's better to tweak suboptimal defaults than to just fail with
compiled-in defaults.
2020-09-21 18:02:35 +02:00
Lennart Poettering
f2ba663ea5
homed: show actual file system in messages about file systems
2020-09-21 18:02:35 +02:00
Lennart Poettering
3e0b54867e
user-record: don't refuse login when last pw change time is in the future
...
The RTC is like just off, it's a weird system state, let's continue
without requiring pw change.
2020-09-21 18:02:35 +02:00
Lennart Poettering
61a29a020c
homed: ignore ratelimiting counters when timestamp is from future
...
This likely indicates that the system clock is simply wrong, hence allow
access in this case.
Fixes : #15917
2020-09-21 18:02:35 +02:00
Lennart Poettering
51a95db6dc
homed: don't block logins into accounts with future change time
...
This might happen if the system clock is wrong, and we should allow
access in this case (though certainly log about it).
2020-09-21 18:02:31 +02:00
Lennart Poettering
55e11ace68
Merge pull request #17101 from poettering/gpt-usr
...
add gpt types for /usr/, similar to how we have it for root partitions
2020-09-21 13:45:04 +02:00
Zbigniew Jędrzejewski-Szmek
198fda4f48
update-dbus-docs: skip test if python is too old
2020-09-20 13:15:44 +02:00
Lennart Poettering
cd8de997f2
update TODO
2020-09-19 21:20:35 +02:00
Lennart Poettering
329cde79c4
doc: document the new GPT partition type UUIDs
2020-09-19 21:20:16 +02:00
Lennart Poettering
461836a4e9
man: emphasize that part table shown by systemd-dissect is not complete
2020-09-19 21:19:56 +02:00
Lennart Poettering
aee36b4ea2
dissect-image: process /usr/ GPT partition type
2020-09-19 21:19:51 +02:00