| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Mount units can do it, but the command line tool cannot, as it needs a
valid 'what'. If --tmpfs/-T if passed, parse the argument as 'where'
and send a literal 'tmpfs' as the 'what' if not specified.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This metadata (EXTENSION_RELOAD_MANAGER) can be set to "1" to reload the manager
when merging/refreshing/unmerging a system extension image. This can be useful in case the sysext
image provides systemd units that need to be loaded.
With `--no-reload`, one can deactivate the EXTENSION_RELOAD_MANAGER metadata interpretation.
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
|
| |
|
|\
| |
| | |
network: static route - Allow to configure per route hop liimt
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
This currently makes unit_file_get_default() fail if the default
target is transient which shouldn't make us fail to get the default
unit.
|
| | |
|
|\ \
| |/
|/| |
tpm2: give PCR 6 a name
|
| | |
|
|/
|
|
|
|
| |
The specs call this TCG PC Client Platform Firmware Profile
Specification says this PCR is owned by the Host Platform Manufacturer,
at various places. Hence let's give it that name.
|
|
|
|
|
|
| |
Follow-up for 09d04ad325473e05e23e6ba8382d7de1dd819bda
Fixes #28856
|
|\
| |
| | |
network: Route - allow to set TCP RTO
|
| | |
|
| | |
|
|\ \
| | |
| | | |
network: DHCP6 client- Allow to send manual DUID
|
| | | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
```
[DHCPv6]
DUIDType=custom
DUIDRawData=00:00:ab:11:f9:2a:c2:77:29:f9:5c:00
```
```
Client Identifier
Option: Client Identifier (1)
Length: 12
DUID: 0000ab11f92ac27729f95c00
DUID Type: Unknown (0)
```
|
|\ \
| | |
| | | |
systemd-bsod: Add "--continuous" option
|
| | | |
|
| | | |
|
| |/
|/|
| |
| |
| |
| | |
For some use cases we want to operate on the loop device that
systemd-dissect has attached the loop device to, so let's make that
easily accessible.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(#28868)
* test: Check that SELinux policy is available before running SELinux test
---------
Co-authored-by: Frantisek Sumsal <frantisek@sumsal.cz>
|
|\ \
| | |
| | | |
Add LIST_CLEAR() helper that empties the list
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | | |
repart: Make sure we keep trailing slashes in ExcludeFiles=
|
| | | |
| | | |
| | | |
| | | |
| | | | |
We conditionalize behavior based on whether these paths have trailing
slashes or not, so let's make sure we keep them intact.
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | | |
Sometimes its useful to keep a trailing slash in the path so let's
add path_simplify_full() and a flag to do just that.
|
|\ \ \
| | | |
| | | | |
Revert "mount: check right before invoking /bin/umount if it makes sense"
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Setting USEC_INFINITY to timer event source should not cause any
problem. But, disabling timer event source should be preferable.
[zjs: simplify the call to sd_event_source_set_enabled()]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 1483892a421ca34bc841a8e8b1f385744c0407ed.
As the commit says, it does not solve the race. Moreover, it introduces
an regression #28410.
Also, checking by `path_is_mount_point()` may trigger automount. From
statx(2),
> AT_NO_AUTOMOUNT
> Don't automount the terminal ("basename") component of pathname
> if it is a directory that is an automount point.
Similar statements can be found in fstatat(2), which is used in the
fallback call for statx() in glibc, and name_to_handle_at(2), which is
used as the fallback when statx() failed.
So, `path_is_mount_point()` may _do_ trigger automount for parent paths.
That should be avoided especially on shutdown.
The original issue #25527 that is 'fixed' by the commit is not serious,
and should be fixed by making umount command handle path gracefully:
https://github.com/util-linux/util-linux/issues/2132
Fixes #28410.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
install_subdir() does not copy symlinks but copies the file they
point to. We also get a very ugly warning in the meson install
output:
"""
Warning: trying to copy a symlink that points to a file. This will copy the file,
but this will be changed in a future version of Meson to copy the symlink as is. Please update your
build definitions so that it will not break when the change happens.
"""
Let's fix both problems at once by using rsync which does the right
thing. Verified by running systemd-dissect --mtree on both the install
output before and after and all the symlinks are now correctly preserved.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
An error reply from polkit is a valid case and should not be propagated
as failure of async_polkit_callback(). It should only be saved here.
It'll be returned by bus_verify_polkit_async() later, when it's called
for the same method again.
Follow-up for #26365.
|
| |/ /
|/| |
| | |
| | | |
in confidential vms
|
|\ \ \
| | | |
| | | | |
mkosi: Add a swap partition
|
| | | |
| | | |
| | | |
| | | |
| | | | |
systemd-oomd keeps complaining about the lack of swap partition, so
let's add one.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Use macros to reduce indentation in errno error handling
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
exec_child() is supposed to set *exit_status when returning failure.
Unfortunately, we didn't do that in two cases. The result would be:
- a bogus error message "Failed at step SUCCESS spawning foo: …",
- a bogus success exit status.
Bugs introduced in 390902012c5177b6b01bc634b2e9c704073d9e7d and
ad21e542b20f0fb292d1958d3a759bf3403522c2.
The code is reworked to add some asserts and not set exit_status in the caller
so that it's clearer (also to the compiler) that it needs to be set.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also rebreak comments and lines.
No functional change.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Once we know the return value, we can just return it, no need to
exit the loop.
|