| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This documents that explicit `Before=`/`After=` dependencies can be
used to selectively override implicit ordering coming from default
dependencies. That allows for more granular control compared to the
already documented `DefaultDependencies=no` option.
The alternative approach came up in a discussion around the ordering
of `boot-complete.target`, so this also adds an explicit suggestion
in that direction to the "Automatic Boot Assessment" documentation.
Ref: https://lists.freedesktop.org/archives/systemd-devel/2022-September/048330.html
|
|
|
|
|
|
|
| |
Relying on symbol aliasing seems to be rather unreliable. Instead just
use some light #ifdefery.
Fixes: #24630
|
|
|
|
|
|
|
|
| |
No functional changes, just refactoring.
Note, this also makes synthesize_change() propagate the error from
synthesize_change_one(). However, the caller of synthesize_change()
ignores the failure anyway, hence the change does not take any effect.
|
|
|
|
| |
It provides recognizable error if /proc is not mounted.
|
|
|
|
|
|
|
|
|
| |
This works becuase TPM2_FLAGS_USE_PIN is 1 and bool is a 1 so the bits
line up as expected, however if for some reason flags change values and
for clarity check if the boolean indicates this flag and pass the flag
value.
Signed-off-by: William Roberts <william.c.roberts@intel.com>
|
|
|
|
| |
Follow-up for f93ba375301e43900f1fe5a93a2b33b1efcc73e0.
|
|\
| |
| | |
mkdir: chase_symlinks_and_stat() does not return 0
|
| | |
|
| |
| |
| |
| |
| | |
This reverts commits e22916e61d1fdb7b46918b605ebf783d9017f9d8 and
1e146d738232acbe7f72903e9c5e4d1166ea67f5.
|
|\ \
| |/
|/| |
sd-device: introduce device_opendir()
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
No functional changes, just refactoring.
|
| |
| |
| |
| | |
No functional changes, just refactoring.
|
| | |
|
| |
| |
| |
| | |
No functional changes, just refactoring.
|
| |
| |
| |
| | |
No functional changes, just refactoring.
|
| |
| |
| |
| |
| |
| | |
As the stored values are actually path. Just for safety.
This also drops unnecessary duplication of path.
|
|\ \
| | |
| | | |
hwdb update for v252-rc1
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As usual, it seems to be mostly additions and corrections. Sadly, it seems a
bit of mojibake has crept in in various places. But it's hard to correct, in
particular because it's hard to detect all cases automatically. I think we can
ignore this for now.
When I run this a few weeks ago, ma-large.txt was gutted and 20-OUI.hwdb was
siginificantly smaller. For whatever reasons, it's back to normal now.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
This way we can use it directly in measure.c, and thus remove a bit of
redundant code.
OpenSSL prefers uppercasing the MD names, others don't hence let's be
lenient here.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Systemd's credential interface is not yet natively supported by all
programs yet. Hence it's often required to run scripts to massage
secrets in the way the programs expect it.
This commit allows the ExecStartPre commands to access credentials.
Fixes https://github.com/systemd/systemd/issues/19604
|
| | |
|
|\ \
| | |
| | | |
udev: introduce symlink_atomic_full() and use it
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If the filename of a device symlink is too long, then the temporary
filename may become invalid, and we fail to create symlink.
The function `tempfn_random()` used in symlink_atomic_full() generates
a safe temporary filename.
Note that, thanks to the PR #23043, now only one worker can handle
the same symlink simultaneously. Hence, the device ID based temporary
filename is not necessary.
|
| | |
| | |
| | |
| | | |
These new functions optionally create symlink of relative path.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
yuwata/blockdev-util-introduce-block_device_get_whole_disk
blockdev-util: introduce block_device_get_whole_disk()
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
We already checked that the sd_device object 'dev' is for a whole block
device. So, -ENOENT should not be triggeered here, and if it is, there
exists something spurious. Hence we should not ignore the failure.
|
| | | |
| | | |
| | | |
| | | | |
This should not change anything effectively.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
partition_enumerator_new()
To make it consistent what returned by block_device_get_whole_disk().
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
No functional changes, just preparation for later commits.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
yuwata/dissect-image-drop-reference-to-decrypted-image
dissect-image: introduce dissected_image_relinquish()
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
Addresses https://github.com/systemd/systemd/pull/24646#discussion_r973691797.
|
|\ \ \ \
| | | | |
| | | | | |
dissect-image: make DissectedImage object take reference to DecryptedImage and LoopDevice
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
To make LoopDevice object freed after DissectedImage is freed.
At least currently, this should not change anything. Preparation for
later commits.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
No functional changes. Preparation for later commits.
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | | |
dissect-image: introduce dissected_image_new()
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently, it is not necessary to set partno or architecture in
dissect_image_new(), but just for safety.
Preparation for later commits.
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
To make dissect_image() shorter.
No functional changes, just refactoring.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, even if sd_device_get_subsystem() returns -ENOENT for block
device, we accepted that. This makes the check slightly stricter.
|