| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Currently translated at 89.4% (169 of 189 strings)
Co-authored-by: Adolfo Jayme Barrientos <fitoschido@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/es/
Translation: systemd/main
|
|
|
|
|
|
| |
format string"
This reverts commit c97bef458b6e59079c9613ec755c1c6513c1c655.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes compilation with new-enough libcryptsetup (2.4.0+) & clang:
```
$ CC=clang CXX=clang++ meson build --werror -Dlibcryptsetup-plugins=true
...
$ ninja -C build
...
../src/cryptsetup/cryptsetup-tokens/luks2-fido2.c:23:53: error: unused variable 'v' [-Werror,-Wunused-variable]
_cleanup_(json_variant_unrefp) JsonVariant *v = NULL;
...
```
|
|
|
|
|
|
|
| |
This commit was done to add sensor rule for Hometech Wi101. Note that this rule might be too general and need fixes. I couldn't test this on any other device since this one is the only one I have.
Co-authored-by: Simeonlps <Simeonlps@users.noreply.github.com>
Signed-off-by: Wind/owZ <windowz414@gnuweeb.org>
|
|
|
|
|
| |
* Add force-release for HP Omen 15 calculator key.
The key doesn't create release event so I have come up with this fix to make it work properly.
|
|
|
|
|
|
|
|
| |
When a job is skipped, it's useful to know exactly which condition failed so
let's add this information to the error message. Because we now return an
allocated string from job_done_message_format(), make sure we strdup() the
other formats as well so the caller can safely free the string returned by
job_done_message_format().
|
|
|
|
|
|
| |
passthru mode MACVLAN/MACVTAP
For similar reason to the case of a bridge slave: we don't want any IP configuration for it.
|
|\
| |
| | |
udev: follow-ups for coalesce feature support
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Otherwise, 99-default.link may introduce something like the
following warnings:
----
Aug 26 03:23:59 systemd-udevd[519]: wlan0: Could not set coalesce settings, ignoring: Operation not supported
Aug 26 03:24:00 systemd-udevd[547]: wlp59s0: Could not set coalesce settings, ignoring: Operation not supported
----
Follow-up for 6c35ea5ef0231d519ff24d43a57a72cebab6a121.
|
| |
| |
| |
| | |
I'd like to locate all conf parsers at end of file.
|
|\ \
| | |
| | | |
pid1: make find_executable() work with MountAPIVFS=no
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Follow-up for 888f65ace6296ed61285d31db846babf1c11885e.
Hopefully fixes #20514.
|
| | | |
|
|\ \ \
| |_|/
|/| | |
core: Check unit start rate limiting earlier
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes #17433. Currently, if any of the validations we do before we
check start rate limiting fail, we can still enter a busy loop as
no rate limiting gets applied. A common occurence of this scenario
is path units triggering a service that fails a condition check.
To fix the issue, we simply move up start rate limiting checks to
be the first thing we do when starting a unit. To achieve this,
we add a new method to the unit vtable and implement it for the
relevant unit types so that we can do the start rate limit checks
earlier on.
|
| | |
| | |
| | |
| | |
| | |
| | | |
service.h includes socket.h and socket.h includes service.h. Move
service.h include from socket.h to socket.c to remove the circular
dependency.
|
| | |
| | |
| | | |
Turning on ECN was reverted by 1e190df.
|
|\ \ \
| |/ /
|/| | |
Typos and meson
|
| | |
| | |
| | |
| | | |
All the others in this section use "EFI"…
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The verity partition types are per-architecture already, and they contain the
hash data independently of whether we are on a given architecture. (Or in other
words, we would make *use* this partition on some architecture, but the
contents always *exists*.)
|
|/ /
| |
| |
| | |
The usual: "searched" vs. "searched for".
|
|\ \
| |/
|/| |
Translations update from Weblate
|
| |
| |
| |
| |
| |
| |
| |
| | |
Currently translated at 1.5% (3 of 189 strings)
Co-authored-by: Jan Kuparinen <copper_fin@hotmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/fi/
Translation: systemd/main
|
|/
|
|
|
|
|
|
| |
Currently translated at 70.3% (133 of 189 strings)
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/de/
Translation: systemd/main
|
|\
| |
| | |
network: dhcp4,ndisc: make addresses in Allow/DenyList= optionally take prefix length
|
| | |
|
| |
| |
| |
| |
| |
| | |
prefix length
Closes #20505.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compound statements
Compound statements is this stuff: ({ … })
Compound literals is this stuff: (type) { … }
We use compound statements a lot in macro definitions: they have one
drawback though: they define a code block of their own, hence if macro
invocations are nested within them that use compound literals their
lifetime is limited to the code block, which might be unexpected.
Thankfully, we can rework things from compound statements to compund
literals in the case of json.h: they don't open a new codeblack, and
hence do not suffer by the problem explained above.
The interesting thing about compound statements is that they also work
for simple types, not just for structs/unions/arrays. We can use this
here for a typechecked implicit conversion: we want to superficially
typecheck arguments to the json_build() varargs function, and we do that
by assigning the specified arguments to our compound literals, which
does the minimal amount of typechecks and ensures that types are
propagated on correctly.
We need one special tweak for this: sd_id128_t is not a simple type but
a union. Using compound literals for initialzing that would mean
specifiying the components of the union, not a complete sd_id128_t. Our
hack around that: instead of passing the object directly via the stack
we now take a pointer (and thus a simple type) instead.
Nice side-effect of all this: compound literals is C99, while compound
statements are a GCC extension, hence we move closer to standard C.
Fixes: #20501
Replaces: #20512
|
|\
| |
| | |
network: fix logic for checking gateway address
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the followings:
- The corresponding route or address to the gateway address must be in
the same link.
- IPv6 link local address is not necessary to be reachable.
Fixes an issue reported in https://github.com/systemd/systemd/issues/8686#issuecomment-902562324.
|
| |
| |
| |
| | |
Co-authored-by: Jan Kuparinen <copper_fin@hotmail.com>
|
| | |
|
|\ \
| |/
|/| |
{core, login}: respect install_sysconfdir_samples in meson file
|
| |
| |
| |
| |
| |
| |
| | |
The refactoring done in c900d89faa0 caused the configuration files to be
installed into the pkgsysconfdir regardless of the state of the
install_sysconfdir_samples boolean that indicates whether or not the
sample files should be installed.
|
| |
| |
| |
| |
| |
| |
| | |
The refactoring done in e11a25cadbe caused the configuration files to be
installed into the pkgsysconfdir regardless of the state of the
install_sysconfdir_samples boolean that indicates whether or not the
sample files should be installed.
|
| | |
|
|\ \
| | |
| | | |
a few minor tweaks/bugfixlets to importd backends
|
| | |
| | |
| | |
| | | |
There's no reason not to create these in advance if they are missing.
|
| | |
| | |
| | |
| | |
| | |
| | | |
part of the file
Otherwise we'll copy more than we were told to.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only if we create a file we know for sure that it is empty and hence our
sparse file logic of skipping over NUL bytes can can work. If we hwoever
are called to write data to some existing file/block device, we must do
regular writes to override everything that might be in place before.
Hence, conditionalize sparse file writing on the write offset not being
configured (which is how we internally distinguish write to existing
file and write to new file)
|
| | |
| | |
| | |
| | | |
This is just too useful.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we only allows http/https urls, let's open this up a bit.
Why? Because it makes testing *so* *much* *easier* as we don't need to
run a HTTP server all the time.
CURL mostly abstracts the differences of http/https away from us, hence
we can get away with very little extra work.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Let's lock things down a bit and now allow curl's weirder protocols to
be used with our use. i.e. stick to http:// + https:// + file:// and
turn everything else off. (Gopher!)
This is cde that interfaces with the network after all, and we better
shouldn't support protocols needlessly that are much less tested.
(Given that HTTP redirects (and other redirects) exist, this should give
us a security benefit, since we will then be sure that noone can forward
us to a weird protocol, which we never tested, and other people test
neither)
|
|\ \ \
| | | |
| | | | |
ALIGN_TO() tweaks
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The helper call rounds up to next multiple of specified boundary. If one
passes a very large value as first argument, then there might not be a
next multiple. So far we ignored that. Let's handle this now and return
SIZE_MAX in this case, as special indicator that we reached the end.
Of course, IRL this should not happen. With this new change we at least
do something somewhat reasonable, leaving it to the caller to handle it
further.
|
| |/ /
| | |
| | |
| | |
| | | |
No changes in code, just a split out of tests for stuff from macro.h
into test-macro.c
|