| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
It is now a supported executable, so add manpage.
Fixes https://github.com/systemd/systemd/issues/26289
|
|\
| |
| | |
ci: Test with secure boot enabled under mkosi
|
| | |
|
| |
| |
| |
| |
| | |
This way, people do not need efitools installed to generate these as
sbsigntools has everything needed to produce signed EFI variables.
|
|\ \
| |/
|/| |
Two doc updates
|
| |
| |
| |
| | |
Inspired by https://bugzilla.redhat.com/show_bug.cgi?id=2165433.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Config options are -Ddefault-timeout-sec= and -Ddefault-user-timeout-sec=.
Existing -Dupdate-helper-user-timeout= is renamed to -Dupdate-helper-user-timeout-sec=
for consistency. All three options take an integer value in seconds. The
renaming and type-change of the option is a small compat break, but it's just
at compile time and result in a clear error message. I also doubt that anyone was
actually using the option.
This commit separates the user manager timeouts, but keeps them unchanged at 90 s.
The timeout for the user manager is set to 4/3*user-timeout, which means that it
is still 120 s.
Fedora wants to experiment with lower timeouts, but doing this via a patch would
be annoying and more work than necessary. Let's make this easy to configure.
|
|/
|
|
|
|
|
| |
Checking for gnu-efi is not enough, since ukify can be explicitly
disabled.
Resolves: #26274
|
|\
| |
| | |
sleep: several fixlets
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before v252, HibernateDelaySec= specifies the maximum timespan that the
system in suspend state, and the system hibernate after the timespan.
However, after 96d662fa4c8cab24da57523c5e49e6ef3967fc13, the setting is
repurposed as the default interval to measure battery charge level and
estimate the battery discharging late. And if the system has enough
battery capacity, then the system will stay in suspend state and not
hibernate even if the time passed. See issue #25269.
To keep the backward compatibility, let's introduce another setting
SuspendEstimationSec= for controlling the interval to measure
battery charge level, and make HibernateDelaySec= work as of v251.
This also drops implementation details from the man page.
Fixes #25269.
|
|/ |
|
| |
|
|\
| |
| | |
Various fixups to recent commits
|
| |
| |
| |
| | |
Fixup for 53c368d71ba43da7414ac86c58291a11da05ba84.
|
|/
|
|
|
|
|
|
|
| |
journal entry
One would think this was clear already, but apparently it's not clear
enough, hence let's be more explicit.
Fixes: #26175
|
|\
| |
| | |
Revert "Resolves #26142 - Fix list of supported personalities"
|
| |
| |
| |
| |
| |
| |
| |
| | |
Let's make clear personalities are supported on ARM (as per
https://github.com/systemd/systemd/pull/26152#issuecomment-1400321944).
Also, clarify that on many archs this functionality is pretty pointless,
i.e. where only a single native arch was ever known.
|
| |
| |
| |
| | |
This reverts commit fdbbb5ffc04c48e6e1b97ddfff366672c2f8a073.
|
|/ |
|
| |
|
|
|
|
| |
Closes #26154
|
|
|
|
|
|
| |
.link files are handled by systemd-udevd, not by systemd-networkd,
so fix the man page to say that the Credential= match uses credentials set
on the systemd-udevd.service
|
| |
|
|\
| |
| | |
mkfs-util: Remove user namespace owner => root mapping
|
| | |
|
|\ \
| | |
| | | |
Two man page tweaks
|
| | |
| | |
| | |
| | |
| | |
| | | |
Whether we use a newline at the beginning of <programlisting> or not doesn't
seem to have any effect. So let's use the newline in multi-line examples; it is
easier to get the indentation right this way.
|
| | |
| | |
| | |
| | | |
Two issues that were missed in 8b9f092112ce097dd5c72a58a092c4176458889c.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
--help text
grub (at least on fedora) nowadays implements the boot loader spec, but
not the boot loader interface. Hence let's split out the commands
specific to each in two groups in the --help text. This way the first
group just covers boot lodaer spec stuff (i.e. stuff on disk in the
ESP/XBOOTLDR partition). And the other covers talking to the boot loader
via EFI var.
|
| | |
| | |
| | |
| | | |
Let's call them kernel *images*, not just *kernels*.
|
|\ \ \
| | | |
| | | | |
sd-login: add sd_pidfd_* APIs
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Same as the sd_pid_* counterparts, but take a pid file descriptor instead of
a pid, so that the callers can be sure that the returned values are really
about the process they asked for, and not about a recycled PID.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Offer the firmware date as an epoch instead of the literal DMI string.
Closes #25679
|
|\ \ \
| |_|/
|/| | |
bootctl: unlink and cleanup functions
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The unlink command removes an entry from the ESP including
referenced files that are not referenced in other entries. That is
useful eg to have multiple entries that use the same kernel with
different options.
The cleanup command removes all files that are not referenced by any
entry.
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| | |
DeviceAllow= and others are applied to the whole cgroup via bpf, so
using '+' on an Exec line will not bypass them. Explain this in the
manpage.
Fixes https://github.com/systemd/systemd/issues/26035
|
|\ \
| | |
| | | |
systemd-analyze: Add JSON and table output to systemd-analyze's plot
|
| | | |
|
|\ \ \
| |/ /
|/| | |
bootctl: add is-uki command
|
| | |
| | |
| | |
| | |
| | |
| | | |
Takes a kernel image as argument. Prints details about the kernel.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
|
| | |
| | |
| | |
| | |
| | | |
The command takes a kernel as argument and checks what kind of kernel
the image is. Returns one of uki, pe or unknown.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A pid can be recycled, but a pidfd is pinned. Add a new method that is safer
as it takes a pidfd as input.
Return not only the D-Bus object path, but also the unit id and the last
recorded invocation id, as they are both useful (especially the id, as
converting from a path object to a unit id from a script requires another
round-trip via D-Bus).
Note that the manager still tracks processes by pid, so theorethically this
is not fully error-proof, but on the other hand the method response is
synchronous and the manager is single-threaded, so once a call is being
processed the unit database will not change anyway. Once the manager
switches to use pidfds everywhere, this can be further hardened.
|
|\ \ \
| |_|/
|/| | |
repart: Allow configuring sector size
|
| | |
| | |
| | |
| | |
| | |
| | | |
Let's allow users to configure the (logical) sector size of their
image. This is required when building images for a 4k sector size
disk on a 512b sector size host or vice-versa.
|
| | | |
|
| | | |
|