]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
2 years agorepart: Add DefaultSubvolume= setting
Daan De Meyer [Fri, 29 Mar 2024 14:56:01 +0000 (15:56 +0100)] 
repart: Add DefaultSubvolume= setting

We already have Subvolumes= to create subvolumes, let's add
DefaultSubvolume= as well to set the default subvolume.

2 years agomanager: Freeze/Thaw: Don't fail units w/o cgroup
Adrian Vovk [Fri, 29 Mar 2024 00:38:09 +0000 (20:38 -0400)] 
manager: Freeze/Thaw: Don't fail units w/o cgroup

Previously, it was impossible to freeze or thaw a slice if it is an
ancestor to a unit that had no running cgroup (i.e. a service with
RemainAfterExit=yes). Instead of failing with EBUSY (which would
confusingly get reported as "Unit has pending job") we just silently
no-op.

I noticed this because we now have user-runtime-dir@.service, which
would make it impossible to freeze/thaw user.slice or user-<UID>.slice

2 years agoMerge pull request #32010 from bluca/reexec_rate_limit
Luca Boccassi [Fri, 29 Mar 2024 17:16:36 +0000 (17:16 +0000)] 
Merge pull request #32010 from bluca/reexec_rate_limit

core: serialize reload rate limit and apply ReloadLimit to reexec too

2 years agomkosi: Switch to linux-virtual on Ubuntu
Daan De Meyer [Fri, 29 Mar 2024 07:28:57 +0000 (08:28 +0100)] 
mkosi: Switch to linux-virtual on Ubuntu

This now finally has support for credentials and erofs so let's switch
to this much smaller kernel package that doesn't pull in linux-firmware.

2 years agoudevadm-test: prettify test results
Yu Watanabe [Fri, 29 Mar 2024 04:03:49 +0000 (13:03 +0900)] 
udevadm-test: prettify test results

2 years agocore: apply ReloadLimit to reexec too 32010/head
Luca Boccassi [Fri, 29 Mar 2024 01:29:07 +0000 (01:29 +0000)] 
core: apply ReloadLimit to reexec too

Same reason as the reload, reexec is disruptive and it requires the
same privileges, so if somebody wants to limit reloads, they'll also
want to limit reexecs, so use the same setting.

2 years agocore: serialize reload rate limit
Luca Boccassi [Fri, 29 Mar 2024 01:15:26 +0000 (01:15 +0000)] 
core: serialize reload rate limit

Otherwise the rate limit is lost on reexec, and the privileges to call it
are the same as reloads

2 years agoMerge pull request #32013 from yuwata/align-table
Daan De Meyer [Fri, 29 Mar 2024 07:30:59 +0000 (08:30 +0100)] 
Merge pull request #32013 from yuwata/align-table

core: align table

2 years agounit-def: append trailing comma for the last entry 32013/head
Yu Watanabe [Fri, 29 Mar 2024 04:53:01 +0000 (13:53 +0900)] 
unit-def: append trailing comma for the last entry

2 years agocore: align table
Yu Watanabe [Fri, 29 Mar 2024 04:51:15 +0000 (13:51 +0900)] 
core: align table

2 years agoMerge pull request #31998 from yuwata/udev-event-mode
Yu Watanabe [Fri, 29 Mar 2024 02:31:58 +0000 (11:31 +0900)] 
Merge pull request #31998 from yuwata/udev-event-mode

udev: make udevadm test and test-builtin not destructive

2 years agoportable: the 'flags' parameter is now used in DetachImageWithExtensions() and Reatta...
Luca Boccassi [Thu, 28 Mar 2024 22:17:26 +0000 (22:17 +0000)] 
portable: the 'flags' parameter is now used in DetachImageWithExtensions() and ReattachImageWithExtensions()

2 years agoudev: make udevadm test and test-builtin not destructive 31998/head
Yu Watanabe [Thu, 28 Mar 2024 07:24:59 +0000 (16:24 +0900)] 
udev: make udevadm test and test-builtin not destructive

Previously, 'udevadm test' performs not only processing udev rules,
but made several destructive change on the system; updating udev
database, device node permission, devlinks, network interface
properties, and so on.

Similary, 'udevadm test-builtin' may perform something destructive,
especially by 'keyboard', 'kmod', and 'net_setup_link' builtins.

Let's make these commands and test executables not change device
configurations.

2 years agoMerge pull request #31986 from YHNdnzj/suspend-mem-mode
Yu Watanabe [Fri, 29 Mar 2024 00:30:54 +0000 (09:30 +0900)] 
Merge pull request #31986 from YHNdnzj/suspend-mem-mode

sleep: add SleepMemMode= setting for configuring /sys/power/mem_sleep

2 years agonetwork: save the real rdnss address
Ronan Pigott [Thu, 28 Mar 2024 00:19:43 +0000 (17:19 -0700)] 
network: save the real rdnss address

... instead of the router that informed us

Fixes: 86a66e9b9504 ("network: also save NTP servers and friends obtained by other protocols")
2 years agotest: make coverage runs happy with capsule@.service
Frantisek Sumsal [Thu, 28 Mar 2024 13:57:26 +0000 (14:57 +0100)] 
test: make coverage runs happy with capsule@.service

capsule@.service uses DynamicUser=yes, so let's use the same tweak we
use for other such units.

2 years agologin: Fix fallback error handling
Daan De Meyer [Thu, 28 Mar 2024 16:05:33 +0000 (17:05 +0100)] 
login: Fix fallback error handling

2 years agoportable: fix 'portablectl list' to show the actual state for extensions 31435/head
Luca Boccassi [Thu, 28 Mar 2024 14:16:39 +0000 (14:16 +0000)] 
portable: fix 'portablectl list' to show the actual state for extensions

When listing images they are inspected one by one, so in case of a
portable with extensions they always resulted as not found.
Allow a partial match when listing, so that we can find the appropriate
unit that an image belongs to, and list the correct state as attached.

2 years agoEnsure that a portable is not detached when another portable that shares the same...
Luca Boccassi [Thu, 28 Mar 2024 11:11:45 +0000 (11:11 +0000)] 
Ensure that a portable is not detached when another portable that shares the same base is detached

The matches line includes all images, but the logic returned
immediately with a successful match if the first element matches.

2 years agoos-util: allow matching versioned image with extension-release file
Luca Boccassi [Wed, 21 Feb 2024 19:31:14 +0000 (19:31 +0000)] 
os-util: allow matching versioned image with extension-release file

Currently app_1.0.raw is refused if it contains extension-release.d/extension-release.app,
which stops one from using versioned images without using the force flag to disable
the check. Relax it so that only the actual name, and not the version, is compared, like
it already happens in other places.

2 years agotest: disable IPv6AcceptRA= for test network interfaces with static address
Yu Watanabe [Thu, 28 Mar 2024 03:52:01 +0000 (12:52 +0900)] 
test: disable IPv6AcceptRA= for test network interfaces with static address

This hopefully improves test performance.

2 years agoMerge pull request #31994 from yuwata/network-dhcp-server-follow-ups
Luca Boccassi [Thu, 28 Mar 2024 12:35:13 +0000 (12:35 +0000)] 
Merge pull request #31994 from yuwata/network-dhcp-server-follow-ups

network: several fixlets for PersistLeases=

2 years agondisc-option: allow to set valid time of options
Yu Watanabe [Sun, 17 Mar 2024 06:23:38 +0000 (15:23 +0900)] 
ndisc-option: allow to set valid time of options

When an option is delegated from an upstream server, its lifetime
may be limited by a time. Such functionality will be used later by
sd-radv.

This also remove 'offset' argument from the option setter
ndisc_option_set_xyz(), and make it update existing option.
See comments in ndisc_option_add_link_layer_address() for more details.

2 years agojournalctl-filter: use add_match_boot_id() instead of add_match_this_boot()
Yu Watanabe [Fri, 22 Mar 2024 08:46:00 +0000 (17:46 +0900)] 
journalctl-filter: use add_match_boot_id() instead of add_match_this_boot()

The function add_match_this_boot() calls sd_journal_add_conjunction(),
hence, we cannot specify multiple devices in the extra match arguments,
e.g., "journalctl /dev/sda /dev/sdb" shows no entry.

2 years agosleep: add SleepMemMode= setting for configuring /sys/power/mem_sleep 31986/head
Mike Yuan [Wed, 27 Mar 2024 11:45:34 +0000 (19:45 +0800)] 
sleep: add SleepMemMode= setting for configuring /sys/power/mem_sleep

The setting is used when /sys/power/state is set to 'mem'
(common for suspend) or /sys/power/disk is set to 'suspend'
(hybrid-sleep). We default to kernel choice here, i.e.
respect what's set through 'mem_sleep_default=' kernel
cmdline option.

2 years agosleep: make write_mode take a path
Mike Yuan [Wed, 27 Mar 2024 11:45:08 +0000 (19:45 +0800)] 
sleep: make write_mode take a path

Similar to the previous commit, preparation
for adding support for /sys/power/mem_sleep.

2 years agosleep-config: make sleep_mode_supported take a path
Mike Yuan [Tue, 26 Mar 2024 16:24:58 +0000 (00:24 +0800)] 
sleep-config: make sleep_mode_supported take a path

Preparation for later commits.

2 years agostring-util: modernize string_contains_word_strv a bit
Mike Yuan [Tue, 26 Mar 2024 16:15:40 +0000 (00:15 +0800)] 
string-util: modernize string_contains_word_strv a bit

Also correct the comment on flags.

2 years agosleep-config: fix potential memory leak
Mike Yuan [Wed, 27 Mar 2024 13:03:30 +0000 (21:03 +0800)] 
sleep-config: fix potential memory leak

Follow-up for 77bd39385eae7b8e3182e66292b9f94bb54e235d

2 years agoman/systemd-sleep: reorder options
Mike Yuan [Wed, 27 Mar 2024 11:59:51 +0000 (19:59 +0800)] 
man/systemd-sleep: reorder options

2 years agosleep-config: make sleep_operation_is_hibernation uppercase
Mike Yuan [Tue, 26 Mar 2024 16:30:06 +0000 (00:30 +0800)] 
sleep-config: make sleep_operation_is_hibernation uppercase

2 years agoudev-event: split out update_clone()
Yu Watanabe [Thu, 28 Mar 2024 05:49:28 +0000 (14:49 +0900)] 
udev-event: split out update_clone()

No functional change, preparation for later commits.

2 years agohomed: Release(): fix assertion failure
Adrian Vovk [Thu, 21 Mar 2024 23:28:38 +0000 (19:28 -0400)] 
homed: Release(): fix assertion failure

This fixes a race condition crash in homed that would happen in the
following sequence of events:

1. Client 1 takes a ref on the home area
2. Client 1 calls some method via dbus
3. Client 2 calls Release()

In homed, the Release() would check if a ref is still held (in this
case: yes it is) and returns an error. Except that is done through a
code-path that asserts that no operations are ongoing. In this case,
it's valid to have an ongoing operation, and so the assertion fails
causing homed to crash.

2 years agonetwork/radv: allow to announce prefix and route information with zero lifetime 31997/head
Yu Watanabe [Thu, 28 Mar 2024 04:25:50 +0000 (13:25 +0900)] 
network/radv: allow to announce prefix and route information with zero lifetime

Setting zero lifetime for prefix or route information option is valid,
and is used for announcing the prefix or route is invalidated.

Fixes #26239.

2 years agonetwork/ndisc: remove routes if lifetime is zero
Yu Watanabe [Thu, 28 Mar 2024 04:22:06 +0000 (13:22 +0900)] 
network/ndisc: remove routes if lifetime is zero

Fixes #31979.

2 years agonetwork/ndisc: NDisc Route option with 0 prefixlength is valid
Yu Watanabe [Thu, 28 Mar 2024 04:13:20 +0000 (13:13 +0900)] 
network/ndisc: NDisc Route option with 0 prefixlength is valid

Fixes #31606.

2 years agorun: fix generated unit name clash after soft-reboot
Luca Boccassi [Wed, 27 Mar 2024 21:14:15 +0000 (21:14 +0000)] 
run: fix generated unit name clash after soft-reboot

When sd-run connects to D-Bus rather than the private socket, it will
generate the transient unit name using the bus ID assigned by the D-Bus
broker/daemon. The issue is that this ID is only unique per D-Bus run,
if the broker/daemon restarts it starts again from 1, and it's a simple
incremental counter for each client.
So if a transient unit run-u6.service starts and fails, and it is not
collected (default on failure), and the system soft-reboots, any new
transient unit might conflict as the counter will restart:

Failed to start transient service unit: Unit run-u6.service was already loaded or has a fragment file.

Get the soft-reboot counter, and if it's greater than zero, append it
to the autogenerated unit name to avoid clashes.

2 years agoMerge pull request #31989 from mrc0mmand/test-loop-dev-check
Yu Watanabe [Thu, 28 Mar 2024 02:19:32 +0000 (11:19 +0900)] 
Merge pull request #31989 from mrc0mmand/test-loop-dev-check

test: check for /dev/loop-control when checking lodev availability

2 years agoMerge pull request #31963 from yuwata/journalctl-authenticate-cleanups
Yu Watanabe [Thu, 28 Mar 2024 02:19:21 +0000 (11:19 +0900)] 
Merge pull request #31963 from yuwata/journalctl-authenticate-cleanups

journalctl-authenticate: several cleanups

2 years agotest-network: add test cases for PersistLeases=no 31994/head
Yu Watanabe [Thu, 28 Mar 2024 02:07:35 +0000 (11:07 +0900)] 
test-network: add test cases for PersistLeases=no

2 years agonetwork: make [DHCPServer] in networkd.conf work
Yu Watanabe [Thu, 28 Mar 2024 01:39:26 +0000 (10:39 +0900)] 
network: make [DHCPServer] in networkd.conf work

Follow-up for a3ed665a29ea9355c78a2a6b3a032b9504499dd6.

Fixes https://github.com/systemd/systemd/pull/31977#discussion_r1542196572.

2 years agonetwork: fix typo
Yu Watanabe [Thu, 28 Mar 2024 01:37:35 +0000 (10:37 +0900)] 
network: fix typo

Follow-up for a3ed665a29ea9355c78a2a6b3a032b9504499dd6.

2 years agoMerge pull request #31985 from DaanDeMeyer/mkosi
Yu Watanabe [Thu, 28 Mar 2024 01:21:34 +0000 (10:21 +0900)] 
Merge pull request #31985 from DaanDeMeyer/mkosi

mkosi: Copy built packages to output directory

2 years agotimedate: fix typo
Yu Watanabe [Thu, 28 Mar 2024 00:54:48 +0000 (09:54 +0900)] 
timedate: fix typo

Follow-up for 3a51e31be9f626cf772733cb289ed64739fab0e4.

2 years agojournalctl-authenticate: return earlier if we are not on a TTY 31963/head
Yu Watanabe [Tue, 26 Mar 2024 14:42:21 +0000 (23:42 +0900)] 
journalctl-authenticate: return earlier if we are not on a TTY

No functional change, just refactoring.

2 years agojournalctl-authenticate: use open_tmpfile_linkable() and link_tmpfile()
Yu Watanabe [Tue, 26 Mar 2024 14:39:43 +0000 (23:39 +0900)] 
journalctl-authenticate: use open_tmpfile_linkable() and link_tmpfile()

This also
- use path_join(),
- rename variables to more descriptive names.

2 years agojournalctl-authenticate: drop unnecessary safe_close()
Yu Watanabe [Tue, 26 Mar 2024 13:40:43 +0000 (22:40 +0900)] 
journalctl-authenticate: drop unnecessary safe_close()

Follow-up for 7560fffcd2531786b9c1ca657667a43e90331326.

Addresses https://github.com/systemd/systemd/pull/31879#discussion_r1539063239.

2 years agojournalctl-authenticate: use is_dir() and refuse symlink for /var/log/journal
Yu Watanabe [Mon, 25 Mar 2024 13:15:51 +0000 (22:15 +0900)] 
journalctl-authenticate: use is_dir() and refuse symlink for /var/log/journal

I am not sure it is explicitly documented that /var/log/journal should
be a directory, rather than a symlink to a directory, but the current
code of journald seems not to support symlinked directory well. Let's
refuse that at least here and now.

2 years agoanalyze: fix plot with soft-reboot
Luca Boccassi [Wed, 27 Mar 2024 16:35:20 +0000 (16:35 +0000)] 
analyze: fix plot with soft-reboot

Clamp times and start counting from when soft-reboot is started
to avoid creating a huge graph, like it's done for the user
instance.

2 years agotest: cleanup the test script a bit 31989/head
Frantisek Sumsal [Wed, 27 Mar 2024 19:13:24 +0000 (20:13 +0100)] 
test: cleanup the test script a bit

2 years agotest: check for /dev/loop-control when checking lodev availability
Frantisek Sumsal [Wed, 27 Mar 2024 18:35:30 +0000 (19:35 +0100)] 
test: check for /dev/loop-control when checking lodev availability

losetup in util-linux 2.40 started reporting lost loop devices [0] and
it has an unfortunate side-effect where it reports lost devices even in
containers, which then makes the loop device check "falsely" pass [1].

Let's just check for /dev/loop-control explicitly to "work around" this.

[0] https://github.com/util-linux/util-linux/commit/a6ca0456cc6d704a786f6b66d8bb2d89ff18eba7
[1] https://github.com/util-linux/util-linux/issues/2824

2 years agotimedated: Respond on org.freedesktop.timedate1.SetNTP only when really finished
Michal Koutný [Tue, 20 Feb 2024 18:26:16 +0000 (19:26 +0100)] 
timedated: Respond on org.freedesktop.timedate1.SetNTP only when really finished

The method returns prematurely (before jobs it triggers terminate). This
is externally visible because other methods may fail if jobs did not
finish.
Postpone the DBus method response until we collect all signals for
finished jobs.
systemd-timedated keeps track of in-flight DBus requests and answers
them all in unspecified order when jobs finish. The capacity of requests
in systemd-timedated is limited.

Fixes: #17739
2 years agomkosi: Copy built packages to output directory 31985/head
Daan De Meyer [Wed, 27 Mar 2024 13:05:44 +0000 (14:05 +0100)] 
mkosi: Copy built packages to output directory

This allows the built packages to be inspected if needed, or installed
on the host system for anyone who's daring enough to do so.

2 years agomkosi: Update to latest
Daan De Meyer [Wed, 27 Mar 2024 14:49:06 +0000 (15:49 +0100)] 
mkosi: Update to latest

2 years agonetwork/dhcp-server: introduce PersistLeases= setting
Yu Watanabe [Fri, 15 Mar 2024 17:32:50 +0000 (02:32 +0900)] 
network/dhcp-server: introduce PersistLeases= setting

Requested at https://github.com/systemd/systemd/pull/31772#issuecomment-2000053357.

2 years agojournalctl-show/util: add missing header
Antonio Alvarez Feijoo [Wed, 27 Mar 2024 07:45:19 +0000 (08:45 +0100)] 
journalctl-show/util: add missing header

```
[1237/2836] Compiling C object journalctl.p/src_journal_journalctl-show.c.o
FAILED: journalctl.p/src_journal_journalctl-show.c.o
cc -Ijournalctl.p -I. -I.. -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -Isrc/shared -I../src/shared -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused-result -Werror=shadow -fno-strict-aliasing -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -MD -MQ journalctl.p/src_journal_journalctl-show.c.o -MF journalctl.p/src_journal_journalctl-show.c.o.d -o journalctl.p/src_journal_journalctl-show.c.o -c ../src/journal/journalctl-show.c
../src/journal/journalctl-show.c: In function ‘setup_event’:
../src/journal/journalctl-show.c:330:38: error: ‘STDOUT_FILENO’ undeclared (first use in this function)
  330 |         r = sd_event_add_io(e, NULL, STDOUT_FILENO, EPOLLHUP|EPOLLERR, NULL, INT_TO_PTR(-ECANCELED));
      |                                      ^~~~~~~~~~~~~
../src/journal/journalctl-show.c:330:38: note: each undeclared identifier is reported only once for each function it appears in
[1238/2836] Compiling C object journalctl.p/src_journal_journalctl-util.c.o
FAILED: journalctl.p/src_journal_journalctl-util.c.o
cc -Ijournalctl.p -I. -I.. -Isrc/basic -I../src/basic -Isrc/fundamental -I../src/fundamental -Isrc/systemd -I../src/systemd -I../src/libsystemd/sd-bus -I../src/libsystemd/sd-device -I../src/libsystemd/sd-event -I../src/libsystemd/sd-hwdb -I../src/libsystemd/sd-id128 -I../src/libsystemd/sd-journal -I../src/libsystemd/sd-netlink -I../src/libsystemd/sd-network -I../src/libsystemd/sd-resolve -Isrc/shared -I../src/shared -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -g -Wno-missing-field-initializers -Wno-unused-parameter -Wno-nonnull-compare -Warray-bounds -Warray-bounds=2 -Wdate-time -Wendif-labels -Werror=format=2 -Werror=format-signedness -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=int-conversion -Werror=missing-declarations -Werror=missing-prototypes -Werror=overflow -Werror=override-init -Werror=return-type -Werror=shift-count-overflow -Werror=shift-overflow=2 -Werror=undef -Wfloat-equal -Wimplicit-fallthrough=5 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-aliasing=2 -Wstrict-prototypes -Wsuggest-attribute=noreturn -Wunused-function -Wwrite-strings -Wzero-length-bounds -fdiagnostics-show-option -fno-common -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -Wno-unused-result -Werror=shadow -fno-strict-aliasing -fvisibility=hidden -fno-omit-frame-pointer -include config.h -pthread -MD -MQ journalctl.p/src_journal_journalctl-util.c.o -MF journalctl.p/src_journal_journalctl-util.c.o.d -o journalctl.p/src_journal_journalctl-util.c.o -c ../src/journal/journalctl-util.c
../src/journal/journalctl-util.c: In function ‘acquire_journal’:
../src/journal/journalctl-util.c:36:60: error: ‘STDIN_FILENO’ undeclared (first use in this function)
   36 |                 r = sd_journal_open_files_fd(&j, (int[]) { STDIN_FILENO }, 1, arg_journal_additional_open_flags);
      |                                                            ^~~~~~~~~~~~
../src/journal/journalctl-util.c:36:60: note: each undeclared identifier is reported only once for each function it appears in
```

Fixes ade2db83fe7fa5011490f94fbeb5cf9263f26514

2 years agosd-ndisc-router: introduce sd_ndisc_router_set_sender_address()
Yu Watanabe [Wed, 6 Mar 2024 03:28:51 +0000 (12:28 +0900)] 
sd-ndisc-router: introduce sd_ndisc_router_set_sender_address()

Currently this is not used, but will be used later to modify the sender
address.

2 years agondisc-option: add HomeAgent option support
Yu Watanabe [Sat, 16 Mar 2024 06:52:18 +0000 (15:52 +0900)] 
ndisc-option: add HomeAgent option support

Currently, these are not used, but will be used later in sd-radv.

2 years agoMerge pull request #31965 from yuwata/logs-show-cleanups
Luca Boccassi [Wed, 27 Mar 2024 13:09:56 +0000 (13:09 +0000)] 
Merge pull request #31965 from yuwata/logs-show-cleanups

logs-show: several cleanups

2 years agoMerge pull request #31964 from yuwata/journalctl-filter-cleanups
Luca Boccassi [Wed, 27 Mar 2024 13:07:43 +0000 (13:07 +0000)] 
Merge pull request #31964 from yuwata/journalctl-filter-cleanups

journalctl-filter: several cleanups

2 years agoMerge pull request #31954 from DaanDeMeyer/mkosi
Daan De Meyer [Wed, 27 Mar 2024 12:27:44 +0000 (13:27 +0100)] 
Merge pull request #31954 from DaanDeMeyer/mkosi

mkosi: Re-enable OpenSUSE build

2 years agomkosi: Specify --without docs if needed for fedora/centos 31954/head
Daan De Meyer [Wed, 27 Mar 2024 12:00:11 +0000 (13:00 +0100)] 
mkosi: Specify --without docs if needed for fedora/centos

2 years agoUpdate pkg/fedora to latest
Daan De Meyer [Wed, 27 Mar 2024 11:58:17 +0000 (12:58 +0100)] 
Update pkg/fedora to latest

2 years agomkosi: Merge base and system images
Daan De Meyer [Wed, 27 Mar 2024 10:07:52 +0000 (11:07 +0100)] 
mkosi: Merge base and system images

The only reason to have these split up is to be able to build extension
images that use the base image as a base tree and install extra packages.
Until we have such a use case, let's merge the base and system images to
simplify things a bit.

We keep the mkosi.images/ directory to not cause too many conflicts with
the integration tests PR.

2 years agomkosi: Re-enable OpenSUSE build
Daan De Meyer [Tue, 26 Mar 2024 09:42:00 +0000 (10:42 +0100)] 
mkosi: Re-enable OpenSUSE build

2 years agomkosi: Update to latest
Daan De Meyer [Tue, 26 Mar 2024 10:16:55 +0000 (11:16 +0100)] 
mkosi: Update to latest

2 years agoMerge pull request #31980 from bluca/soft_reboot_timestamps
Luca Boccassi [Wed, 27 Mar 2024 10:30:12 +0000 (10:30 +0000)] 
Merge pull request #31980 from bluca/soft_reboot_timestamps

soft-reboot: fix timestamps accounting for sd-analyze, add new timestamp, add new counter

2 years agobuild(deps): bump pkg/debian from `1932e19` to `44fe1d4`
dependabot[bot] [Wed, 27 Mar 2024 09:12:48 +0000 (09:12 +0000)] 
build(deps): bump pkg/debian from `1932e19` to `44fe1d4`

Bumps pkg/debian from `1932e19` to `44fe1d4`.

---
updated-dependencies:
- dependency-name: pkg/debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agodocs/RANDOM_SEEDS: update NetBSD link 31648/head
hulkoba [Wed, 13 Mar 2024 08:59:06 +0000 (09:59 +0100)] 
docs/RANDOM_SEEDS: update NetBSD link

2 years agochore(docs): change permalink at the Jekyll config
hulkoba [Tue, 5 Mar 2024 10:57:58 +0000 (11:57 +0100)] 
chore(docs): change permalink at the Jekyll config

Some of the internal links didn't work.
To make them work we had two options:

1. Keep the trailing slash at the jecyll config:
The built structure of the html files is one directory for each file, including a html file.
This is why a relative link including the `../` is required to get out of the built folder and make it work.
e.g.
config: permalink: /:title/
HACKING.md: [Coding Style](../CODING_STYLE)

2. Remove the trailing slash, the built structure is like the structure in dev: one html file for each markdown file.
In this case, the links as they are implemented just work.
e.g.
config: permalink: /:title
HACKING.md: [Coding Style](CODING_STYLE)

We use option 2 :)

2 years agodocs/JOURNAL_FILE_FORMAT: format text
hulkoba [Tue, 5 Mar 2024 10:45:58 +0000 (11:45 +0100)] 
docs/JOURNAL_FILE_FORMAT: format text

2 years agodocs/COREDUMP: use internal link
hulkoba [Tue, 5 Mar 2024 10:32:35 +0000 (11:32 +0100)] 
docs/COREDUMP: use internal link

for ELF_PACKAGE_METADATA

2 years agodocs/WRITING_DESKTOP_ENVIRONMENTS: format text
hulkoba [Tue, 5 Mar 2024 10:28:59 +0000 (11:28 +0100)] 
docs/WRITING_DESKTOP_ENVIRONMENTS: format text

2 years agodocs/WRITING_NETWORK_CONFIG_MANAGERS: format text
hulkoba [Mon, 26 Feb 2024 13:40:15 +0000 (14:40 +0100)] 
docs/WRITING_NETWORK_CONFIG_MANAGERS: format text

2 years agodocs/WRITING_VM_AND_CONTAINER_MANAGERS: format text
hulkoba [Mon, 26 Feb 2024 13:40:00 +0000 (14:40 +0100)] 
docs/WRITING_VM_AND_CONTAINER_MANAGERS: format text

2 years agodocs/RANDOM_SEEDS: format text
hulkoba [Mon, 26 Feb 2024 13:39:39 +0000 (14:39 +0100)] 
docs/RANDOM_SEEDS: format text

2 years agodocs/USERDB_AND_DESKTOPS: format text
hulkoba [Mon, 26 Feb 2024 13:39:30 +0000 (14:39 +0100)] 
docs/USERDB_AND_DESKTOPS: format text

2 years agodocs/WRITING_DISPLAY_MANAGER: format text
hulkoba [Mon, 26 Feb 2024 13:39:16 +0000 (14:39 +0100)] 
docs/WRITING_DISPLAY_MANAGER: format text

2 years agodocs/USER_GROUP_API: format text
hulkoba [Mon, 26 Feb 2024 13:38:49 +0000 (14:38 +0100)] 
docs/USER_GROUP_API: format text

2 years agodocs/PREDICTABLE_INTERACES: format text
hulkoba [Mon, 26 Feb 2024 13:38:41 +0000 (14:38 +0100)] 
docs/PREDICTABLE_INTERACES: format text

2 years agodocs/MY_SERVICE_CANT_GET_REALTIME: format text
hulkoba [Mon, 26 Feb 2024 13:38:31 +0000 (14:38 +0100)] 
docs/MY_SERVICE_CANT_GET_REALTIME: format text

2 years agodocs/VIRTUALIZED_TESTING: format text
hulkoba [Mon, 26 Feb 2024 13:38:11 +0000 (14:38 +0100)] 
docs/VIRTUALIZED_TESTING: format text

2 years agodocs/SEPARATE_USR_IS_BROKEN: format text
hulkoba [Mon, 26 Feb 2024 13:38:02 +0000 (14:38 +0100)] 
docs/SEPARATE_USR_IS_BROKEN: format text

2 years agodocs/SYSTEMD_FILE_HIERARCHY: format text
hulkoba [Mon, 26 Feb 2024 13:37:51 +0000 (14:37 +0100)] 
docs/SYSTEMD_FILE_HIERARCHY: format text

2 years agodocs/PORTABLE_SERVICES: format text
hulkoba [Mon, 26 Feb 2024 13:37:36 +0000 (14:37 +0100)] 
docs/PORTABLE_SERVICES: format text

2 years agodocs/USER_RECORD: format text
hulkoba [Mon, 26 Feb 2024 13:37:27 +0000 (14:37 +0100)] 
docs/USER_RECORD: format text

2 years agodocs/PORTABILITY_AND_STABILITY: format text
hulkoba [Mon, 26 Feb 2024 13:37:19 +0000 (14:37 +0100)] 
docs/PORTABILITY_AND_STABILITY: format text

2 years agodocs/DISTRO_PORTING: format text
hulkoba [Mon, 26 Feb 2024 13:37:06 +0000 (14:37 +0100)] 
docs/DISTRO_PORTING: format text

2 years agodocs/INHIBITOR_LOCKS: format text
hulkoba [Mon, 26 Feb 2024 13:36:56 +0000 (14:36 +0100)] 
docs/INHIBITOR_LOCKS: format text

2 years agodocs/USER_NAMES: format text
hulkoba [Mon, 26 Feb 2024 13:36:46 +0000 (14:36 +0100)] 
docs/USER_NAMES: format text

2 years agodocs/TIPS_AND_TRICKS: format text
hulkoba [Mon, 26 Feb 2024 13:36:37 +0000 (14:36 +0100)] 
docs/TIPS_AND_TRICKS: format text

2 years agodocs/INCOMPABILITIES: format text
hulkoba [Mon, 26 Feb 2024 13:36:28 +0000 (14:36 +0100)] 
docs/INCOMPABILITIES: format text

2 years agodocs/HOME_DIRECTORY: format text
hulkoba [Mon, 26 Feb 2024 13:36:16 +0000 (14:36 +0100)] 
docs/HOME_DIRECTORY: format text

2 years agodocs/JOURNAL_EXPORT_FORMATS: format text
hulkoba [Mon, 26 Feb 2024 13:36:05 +0000 (14:36 +0100)] 
docs/JOURNAL_EXPORT_FORMATS: format text

2 years agodocs/ELF_PKG_METADATA: format text
hulkoba [Mon, 26 Feb 2024 13:35:53 +0000 (14:35 +0100)] 
docs/ELF_PKG_METADATA: format text

2 years agodocs/UIDS-GIDS: format text
hulkoba [Mon, 26 Feb 2024 13:35:36 +0000 (14:35 +0100)] 
docs/UIDS-GIDS: format text

2 years agodocs/SYSLOG: format text
hulkoba [Mon, 26 Feb 2024 13:35:24 +0000 (14:35 +0100)] 
docs/SYSLOG: format text

2 years agodocs/SECURITY: format text
hulkoba [Mon, 26 Feb 2024 13:35:16 +0000 (14:35 +0100)] 
docs/SECURITY: format text

2 years agodocs/PRESET: format text
hulkoba [Mon, 26 Feb 2024 13:35:05 +0000 (14:35 +0100)] 
docs/PRESET: format text

2 years agodocs/PASSWORD_AGENTS: format text
hulkoba [Mon, 26 Feb 2024 13:34:56 +0000 (14:34 +0100)] 
docs/PASSWORD_AGENTS: format text