1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-09 12:58:26 +03:00

72936 Commits

Author SHA1 Message Date
Jonathan Conder
08ef6998e3 man: document other keyname options for pam_systemd_loadkey 2024-04-18 20:56:58 +12:00
Luca Boccassi
4d3d187493
Merge pull request #32324 from mrc0mmand/more-website-fixes
docs: use absolute links for our pages
2024-04-18 10:55:01 +02:00
Lennart Poettering
778abdbfa1 doc: fix .ssh credential examples
Let's create the .ssh dir with the right perms first.

Suggested by @gcb.

Fixes: #28172
2024-04-18 10:53:20 +02:00
Daan De Meyer
9fede461ca docs: Add note on packages produced by mkosi builds 2024-04-18 09:58:50 +02:00
Norbert Lange
81d61d6aa7 openssl-util: compatible with restricted openssl3
openssl can be built without support for engines or with deprecated
definitions disabled.
This also will not pull in most headers automatically,
so add the rsa.h and ec.h header explicitly.

Remove Engine stuff from the header - it is only needed in one
source file.

Make Engine support dependent on the macros.
2024-04-18 09:23:15 +02:00
Norbert Lange
2219ccc182 resolved-dnstls: remove deprecated openssl functions
There are replacements available in OpenSLL 1.1.0,
but those should not be needed. To quote the docs:

> As of version 1.1.0 OpenSSL will automatically allocate all resources
> that it needs so no explicit initialisation is required.
> Similarly it will also automatically deinitialise as required.
2024-04-18 09:23:15 +02:00
Yu Watanabe
5e485e1aa2 udev: fix assignment of ret_truncated
Follow-ups for 089bef66316e5bdc91b9984148e5a6455449c1da.
2024-04-18 08:25:03 +02:00
Yu Watanabe
955d5012e0 blockdev-util: fix typo
Follow-up for 33ff155957327f51dde740a7a75f19122bff1ebc.
2024-04-18 13:08:14 +09:00
Yu Watanabe
f846002fa2
Merge pull request #32192 from yuwata/part-scan
blockdev-util: fix detection of partscan
2024-04-18 11:38:48 +09:00
Yu Watanabe
d2a0ef6073
Merge pull request #32249 from CodethinkLabs/vmspawn/predicatable_tap_names
vmspawn: generate predicatable TAP device names and MAC addresses
2024-04-18 10:26:07 +09:00
Yu Watanabe
33ff155957 blockdev-util: also read 'ext_range' sysattr to check if the partscan is enabled
The 'capability' sysattr was deprecated by
e81cd5a983 (v6.3).
2024-04-18 09:48:26 +09:00
Yu Watanabe
705c418f20 sd-device: introduce device_get_sysattr_unsigned_full() 2024-04-18 09:46:57 +09:00
Yu Watanabe
87fe0a6960
man: fix wrong version info (#31949)
Fixes #31920.
2024-04-18 09:45:51 +09:00
MaxHearnden
bccd7be328
systemctl: allow user to suppress output when no action scheduled (#32278) 2024-04-18 09:44:22 +09:00
Winterhuman
ad938537ef
journalctl: update help to say "priority range" (#32323)
Clarify that `-p, --priority=` always treats its option as a priority range, even when given
a single log level per the full man page description.

Co-authored-by: Mike Yuan <me@yhndnzj.com>
2024-04-18 09:43:28 +09:00
Yu Watanabe
3b4eeccd27 test-network: add test case of RS sent by the same interface 2024-04-18 09:40:23 +09:00
Yu Watanabe
45c2bbbaea test-network: introduce check_networkd_log() helper function 2024-04-18 09:40:23 +09:00
Yu Watanabe
864c7980c0 test-network: drop trailing spaces
Follow-up for fb573007430ab0dbe45517b58837d2fa5cfa1a48.
2024-04-18 09:40:23 +09:00
Yu Watanabe
769f9744b7 network/ndisc: disable Neighbor discovery client if RADV is enabled
Running both sd-ndisc and sd-radv should be mostly a misconfiguration,
but may not. So, let's only disable sd-ndisc by default when sd-radv is
enabled, but allow when both are explicitly requested.
2024-04-18 09:40:23 +09:00
Yu Watanabe
50ba4e401a sd-radv: refuse packet from the same interface
Prompted by https://github.com/systemd/systemd/pull/32267#discussion_r1566721306.
2024-04-18 09:40:23 +09:00
Yu Watanabe
258729a3b8
Merge pull request #32308 from yuwata/sd-ndisc-disable-timer-on-recv
sd-ndisc: disable one more timer event source
2024-04-18 09:28:16 +09:00
Yu Watanabe
52fb945cb7
Merge pull request #32318 from YHNdnzj/skip-leading-char
journal-gatewayd: use skip_leading_chars
2024-04-18 06:18:09 +09:00
Jonathan Conder
0bf317b620 man: add pam_gnome_keyring to auth section after pam_systemd_loadkey
This is required because pam_sm_open_session [1] only looks at
gkr_system_authtok, which is copied from the kernel keyring in
pam_sm_authenticate.

[1] https://gitlab.gnome.org/GNOME/gnome-keyring/-/blob/46.1/pam/gkr-pam-module.c?ref_type=tags
2024-04-18 08:32:15 +12:00
Lennart Poettering
94c5c55e3e
Merge pull request #32320 from bluca/softreboot_serialize
Soft reboot timestamp follow-ups
2024-04-17 22:12:49 +02:00
Zbigniew Jędrzejewski-Szmek
aea6787f78 man: mention that sd_journal_test_cursor() needs a positioning call
Fixes #30331.
2024-04-17 22:01:53 +02:00
Daan De Meyer
617a2be0d5
Merge pull request #32317 from DaanDeMeyer/mkosi
mkosi: Set up -ffile-prefix-map= correctly when building debuginfo packages
2024-04-17 21:29:28 +02:00
Frantisek Sumsal
0d592a5e17 docs: use absolute links for our pages
Since 56b2970 has proven to be a no-go for us, as it breaks existing
links, let's embrace the trailing slash and use absolute links
everywhere for our pages. This way we'll get around browser cleverly
appending the relative link to the current location (since it ends with
a slash), and given our docs/ layout is flat it's not much of a hassle
either.

Converted using this beauty:
  $ sed -ri 's/(\[.+\]\()([A-Z_]+\))/\1\/\2/g' *.md

Resolves: #32088 (again) and #32310
2024-04-17 21:21:23 +02:00
Frantisek Sumsal
87c22d4377 Revert "docs: don't suffix page permalink with a slash"
This breaks existing links with a trailing slash, so it's a no-go.

This reverts commit d1a7e030c5daa4a09ee93b8af6b28ecaac5d34d0.
2024-04-17 20:53:49 +02:00
Luca Boccassi
b3f548615f core: rename SoftRebootStartTimestamp -> ShutdownStartTimestamp and generalize
Follow-up for 54f86b86ba8168faccbfc2ad16ceeccefde98a51
2024-04-17 18:19:27 +01:00
Luca Boccassi
8c15bf36e1 manager: serialize current objective
So that we can tell what happened before the exec. It is overwritten
shortly after deserialization. Use it to bump the soft reboots counter.
2024-04-17 18:19:27 +01:00
Lennart Poettering
c6d817830f
Merge pull request #32315 from poettering/hwdb-256
hwdb/autosuspend/NEWS update for 256-rc1
2024-04-17 19:18:44 +02:00
Zbigniew Jędrzejewski-Szmek
9f74901a1e Merge pull request #31648 from neighbourhoodie/review-content
I did the merge manually to resolve a trivial conflict.
2024-04-17 17:41:07 +02:00
Daan De Meyer
22fa7cbccc mkosi: Drop workarounds
With the latest Github Actions image release none of these should
be required anymore (20240414.1.1).
2024-04-17 17:36:36 +02:00
Daan De Meyer
241d792c92 mkosi: Switch to O0 and disable FORTIFY_SOURCE
-Og still causes a lot of "<optimized out>" in GDB so let's use -O0
instead and disable FORTIFY_SOURCE as it doesn't work without
optimizations enabled.
2024-04-17 17:36:33 +02:00
Lennart Poettering
7e16650d83
Merge pull request #32143 from yuwata/magic
basic/linux: copy magic.h from kernel to our code
2024-04-17 17:03:48 +02:00
Lennart Poettering
07341fda48 NEWS: prepare -rc1 2024-04-17 16:23:51 +02:00
Lennart Poettering
03eb843b40 autosuspend: update for v256 2024-04-17 16:23:51 +02:00
Lennart Poettering
3e54d1b633 hwdb: update for v256 2024-04-17 16:23:51 +02:00
Lennart Poettering
c3d1dbfcdf
Merge pull request #32311 from YHNdnzj/write-ellipsis
Some minor cleanup for string-util (ellipsis)
2024-04-17 16:20:51 +02:00
Daan De Meyer
42ca6c2773 mkosi: Disable DWARF debug info optimization
We care more about fast builds in this case so disable the DWARF
debug optimization that's done by default.
2024-04-17 16:11:35 +02:00
Mike Yuan
89ca92db39
NEWS: udev and networkd pick up more things from creds 2024-04-17 22:05:37 +08:00
Mike Yuan
ee0373cb80
journal-gatewayd: use skip_leading_chars where appropriate
Prompted by c5d675472588815dedf67af8c36da0fac398fb3e
2024-04-17 21:50:22 +08:00
Mike Yuan
3d6d879d26
journal-gatewayd: add missing assertions 2024-04-17 21:50:05 +08:00
Daan De Meyer
7f1d7fed80 mkosi: Override build_cflags instead of _distro_extra_cflags
The latter is not supported on CentOS Stream 9.
2024-04-17 15:38:24 +02:00
Antonio Alvarez Feijoo
c5d6754725 journal-gatewayd: remove duplicate call to startswith() 2024-04-17 21:34:08 +08:00
Daan De Meyer
8e728c14ec mkosi: Set up -ffile-prefix-map= correctly when building debuginfo packages
This makes sure that the debuginfo files contain source files pointing
to the source files shipped by the debugsource package.

Normally this should be done automatically by rpm invoking debugedit
but for some unknown reason debugedit refuses to rewrite the source
files in our binaries.

Given that debugedit is completely undebugable (does not generate any
logs at all, and its source code is ridiculously obtuse), let's set
-ffile-prefix-map= when building instead which achieves the same
effect.
2024-04-17 15:21:01 +02:00
dependabot[bot]
224e0a8a90 build(deps): bump pkg/debian from e477254 to 30c77a7
Bumps pkg/debian from `e477254` to `30c77a7`.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-17 12:25:23 +02:00
Mike Yuan
ed67739ad5
core/show-status: use strlen where appropriate
We don't use sizeof() outside of array definitions
these days. The compiler should be capable of
optimizing this out.
2024-04-17 17:04:24 +08:00
Mike Yuan
c498b2f7ee
string-util: use mempcpy where appropriate 2024-04-17 17:04:23 +08:00
Yu Watanabe
d723363a86
string-util: use special_glyph() at one more place
No functional change, just refactoring.
2024-04-17 17:03:49 +08:00