| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
While not really "wrong", the text we had could use a little editing.
Fixes #18458.
|
|\
| |
| | |
oom: parse properties with 1/10000 precision instead of 1/100
|
| |
| |
| |
| |
| |
| |
| | |
Requested in
https://github.com/systemd/systemd/pull/15206#discussion_r505506657,
preserve the full granularity for memory pressure limits (permyriad)
instead of capping out at percent.
|
| | |
|
|\ \
| | |
| | | |
resolvectl: Add show-multicast verb to show discovered LLMNR/mDNS hosts
|
| | |
| | |
| | |
| | |
| | | |
The show-multicast verb calls the GetMulticastHosts() D-Bus method
and displays all its results formatted into a table.
|
| | |
| | |
| | |
| | |
| | |
| | | |
GetMulticastHosts() returns an array of hostnames/addresses discovered via
LLMNR or Multicast DNS. It does not trigger any discovery on its own.
Instead, it simply returns whatever is already in resolved's cache.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
systemd is compiled with relative source file paths so we need to
issue a directory command to make sure gdb can find systemd's
source files. Let's put this in a .gdbinit file so it's executed
automatically when we run gdb.
|
|\ \ \
| | | |
| | | | |
timestamp fixes in copy.c
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
fifos
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This is what nspawn and machine-image.[ch] actually look for, hence us
it here too.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Let's make sure we still look at the etags reported by http 304 (i.e.
the cache management code). Otherwise we won't properly realize we
already downloaded this before.
This fixes a bug introduced in 6792cbbcf84b730f465decbeaf247c6b1ccf1c18
|
|\ \ \ \
| | | | |
| | | | | |
shared: rename machine-image.[ch] → discover-image.[ch]
|
| | | | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The old name originates when this was used to discover "machine" images,
as managed by machined/machinectl. But nowadays this is also used by
portable services and system extensions, hence let's use a more generic
name for this API. Taking inspiration from "dissect-image.[ch]", let's call
this "discover-image.[ch]".
This is pure renaming, no other changes.
|
|/ / /
| | |
| | |
| | |
| | | |
This tightens the path_is_valid() checking: it now tests whether each
component in the path is bound by FILENAME_MAX in its size.
|
| | |
| | |
| | |
| | | |
This should speed the tests up.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There is no technical reason to support systems with split-usr, except for
backwards compatibility. Even though systemd itself makes an effort to support
this, many other tools aren't as careful. Despite those efforts, we
(collectively) get it wrong often, because doing it "wrong" on systems with
merged-usr has no consequences. Since almost all developers are on such
systems, any issues are only discovered late. Supporting this split-usr mode
makes both code and documentation more complicated. The split is purely
artificial and has no justification except to allow old installation to not
update. Mechanisms to update existing systems are available though: Fedora
did that in https://fedoraproject.org/wiki/Features/UsrMove, Debian has
the usrmerge package.
The next version of Debian will only support systems with split-usr=false,
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978636#178:
The Technical Committee resolves that Debian 'bookworm' should
support only the merged-usr root filesystem layout, dropping support
for the non-merged-usr layout.
Let's start warning if split-usr mode is used, in preparation to removing the
split in one of the future releases.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently translated at 94.1% (178 of 189 strings)
Co-authored-by: Göran Uddeborg <goeran@uddeborg.se>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/sv/
Translation: systemd/main
|
| | |
| | |
| | |
| | |
| | | |
The output parameter of `sd_rtnl_message_neigh_get_ifindex` is called `index`,
not `family`.
|
|\ \ \
| | | |
| | | | |
network,udev: move TransmitQueues=/ReceiveQueues= from .network to .link
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As the settings are mostly hardware setup, and merely see from network
layer.
See also discussions in
https://github.com/systemd/systemd/pull/18170#issuecomment-758807497
https://github.com/orgs/systemd/teams/systemd/discussions/1
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As we usually (unfortunately not always though) do not use abbreviations.
Tx may be standard abbreviation, but we already have e.g.
TransmitChecksumOffload=. So, let's use Transmit instead of Tx.
Follow-up for ef4a91a7e8d8337a9d65177b09eb7580b25b8f5d.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Let's split out the two codepaths a bit, and emphasize which ones it the
new-style and which the old-style codepath, and let's clearly convert
the params of the old-stye into the new style for further processing, so
that the old style path is brief and isolated.
No change in behaviour.
Follow-up for: 8885fed4e3a52cf1bf105e42043203c485ed9d92
|
|\ \ \ \
| |/ / /
|/| | | |
More sd-boot cleanups
|
| | | |
| | | |
| | | |
| | | | |
Adapted from string-util
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These are implemented as bit-shifting functions that allow reading
and writing UEFI variables stored as little endian 64-bit unsigned
values.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Let's clearly indicate that these are used to set/get uints that
are stored as strings.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Let's make these functions a little more generic so we can have
them work on more than one GUID. More specifically, this allows
using them with the global guid which will be used a bit more to
extend the secure boot support.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Avoids having to use the address operator all the time and
avoids having to cast or do other unintuitive stuff.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of using -nostdinc, we use -nostdlib. This is necessary
to allow moving to C99 as efibind.h includes stdint.h when C99
is enabled. It isn't necessarily problematic to use some standard
library headers as long as they don't contain functions defined in
libc or another system library (or in other words, header only
headers are fine to use in sd-boot).
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
Prompted by: https://github.com/systemd/systemd/pull/18400#issuecomment-771602705
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Let's tighten the logic behind path_extract_filename() a bit: first of
all, refuse all cases of invalid paths with -EINVAL. More importantly
though return a recognizable error when a valid path is specified that
does not contain any filename. Specifically, "/" will now result in
-EADDRNOTAVAIL.
This changes API, but none of the existing callers care about the return
value, hence the change should be fine.
|
|\ \ \ \
| | | | |
| | | | | |
Mark oomd as supported and other tweaks
|
| | | | |
| | | | |
| | | | |
| | | | | |
C.f. 1d3a473b4a0a4a0c49963297103af16ff6d841fa.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's on by default in Fedora 34 [1], so we can't say it's just a preview.
[1] https://fedoraproject.org/wiki/Changes/EnableSystemdOomd
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The wiki was slightly stale, and almost all the information there
was already present in the man page. I moved the remaing part (discussion)
into the man page and adjusted all links to point to the man page instead.
daemon(7) has a some examples of packaging scriptlets… I don't think it fits
there very well. Most likely they should be moved to systemd.preset(5) or maybe
even removed, but I'm leaving that for later.
|
| | | | |
| | | | |
| | | | |
| | | | | |
bindir is the default, c.f. a1fd722b5df83e526cb5feb3fb271ffe1d903472.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
libudev: cleanups for libudev-list
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
udev_list_entry_free() also removes the entry from LIST if the flag is
set. This slightly optimizes the cleanup logic.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Otherwise, the list becomes dirty when an entry is freed.
This also remove the entry from the hashmap only when its name is set.
The name should be always set, so that does not change anything. But
just for safety.
|