summaryrefslogtreecommitdiffstats
path: root/src/fundamental (unfollow)
Commit message (Collapse)AuthorFilesLines
10 daysuserdbctl: fix countingLennart Poettering1-4/+8
Fixes: #35294
10 daysuserbdctl: show 'mapped' user range only inside of usernsLennart Poettering1-0/+14
Outside of userns the concept makes no sense, there cannot be users mapped from further outside.
10 daysbash-completion: add --list-devices to systemd-cryptenrollAntonio Alvarez Feijoo1-9/+2
And also use it to list suitable block devices.
10 dayscore/service: service_add_fd_store() consumes passed fdYu Watanabe1-3/+1
Without this change, the fd is closed twice on failure. Fixes a bug introduced by dff9808a628c31b7ecb1f1aba8fdc3be06ce8372. Fixes #35288.
10 dayshwdb: Add quirk for Logitech MX Keys for MacTobias Zimmermann1-0/+5
The KEY_102ND and KEY_GRAVE keys are switched on the Logitech MX Keys for Mac, so switch them back
10 dayspo: Translated using Weblate (Ukrainian)Yuri Chornoivan1-5/+5
Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Yuri Chornoivan <yurchor@ukr.net> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/ Translation: systemd/main
10 daystmpfiles: add period at end of the sentenceZbigniew Jędrzejewski-Szmek19-19/+19
The license that is immediately above is properly punctuated and it looks sloppy when our line below isn't.
10 daystmpfiles: narrow scope of HAVE_SYSV_COMPAT condition for legacy.confZbigniew Jędrzejewski-Szmek2-5/+6
That file contains a bunch of entries of which only some are related to SysV. The rest are just "traditional APIs" that need to stay. In particular, /var/lock a.k.a. /run/lock is used by many programs (LVM, iscsi, alsactl). Similarly, the README about /var/log is something that should stay as long as we have people migrating from older systems or using the copiuos documentation that mentions /var/log/messages.txt on the Internet. /var/lock/subsys is only used by sysvinit, and our code to support /forcefsck, /fastboot, and /forcequotacheck is conditionalized on HAVE_SYSV_COMPAT, so conditionalize those here on HAVE_SYSV_COMPAT too.
11 dayscgroup-util: fix memory leak on errorLuca Boccassi1-2/+2
CID#1565824 Follow-up for f6793bbcf0e3f0a6daa77add96183b88d5ec2117
11 dayspo: Translated using Weblate (Slovenian)Martin Srebotnjak1-10/+5
Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Martin Srebotnjak <miles@filmsi.net> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sl/ Translation: systemd/main
11 dayspo: Translated using Weblate (Finnish)Jiri Grönroos1-11/+7
Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Jiri Grönroos <jiri.gronroos@iki.fi> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fi/ Translation: systemd/main
11 dayspo: Translated using Weblate (Ukrainian)Dmytro Markevych1-12/+8
Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Dmytro Markevych <hotr1pak@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/ Translation: systemd/main
11 dayspo: Translated using Weblate (French)Léane GRASSER1-3/+3
Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Léane GRASSER <leane.grasser@proton.me> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/ Translation: systemd/main
11 daystest-network: actually check metric and preferenceYu Watanabe1-2/+2
Otherwise, nexthop ID may contain e.g. 300, then === AssertionError: '300' unexpectedly found in 'default nhid 3860882700 via fe80::1034:56ff:fe78:9a99 proto ra metric 512 expires 1798sec pref high\n default nhid 2639230080 via fe80::1034:56ff:fe78:9a98 proto ra metric 2048 expires 1798sec pref low' ===
11 daysnetwork: update state files before replying bus methodYu Watanabe1-0/+8
Follow-up for 2b07a3211ba8b1b81d6cebb9650d5cb24554b08a.
11 dayskillall: gracefully handle processes inserted into containers via nsenter -aLennart Poettering2-2/+10
"nsenter -a" doesn't migrate the specified process into the target cgroup (it really should). Thus the cgroup will remain in a cgroup that is (due to cgroup ns) outside our visibility. The kernel will report the cgroup path of such cgroups as starting with "/../". Detect that and print a reasonably error message instead of trying to resolve that.
11 daysprocess-util: refuse to operate on remote PidRefMike Yuan1-1/+28
Follow-up for 7e3e540b88db5546d0c63103619d96b033871b7b
11 dayscryptenroll: fix typoAntonio Alvarez Feijoo1-1/+1
11 daystest-audit-util: Migrate to new assertion macrosDaan De Meyer1-6/+8
12 daysunits: add initrd directory to list of conditions for systemd-confextLuca Boccassi1-0/+1
systemd-sysext has the same check, but it was forgotten for confexts. Needed to activate confexts from the ESP in the initrd.
12 dayshwdb: add new Cube Mix Plus (i18D) rotation info Xuanjun Wen1-1/+2
Added rotation information for the new version of Cube Mix Plus (i18D).
12 dayssd-varlink: mark sd_varlink_server_{ref,unref} as _public_ (#35241)Mike Yuan2-1/+3
Co-authored-by: Thorsten Kukuk <kukuk@suse.com>
12 daysman/kernel-command-line: fix typoAntonio Alvarez Feijoo1-1/+1
13 dayscryptenroll: show better log message if slot to wipe does not existAntonio Alvarez Feijoo1-1/+4
``` $ systemd-cryptenroll /dev/vda3 SLOT TYPE 0 password $ systemd-cryptenroll --wipe-slot 1 /dev/vda3 Failed to wipe slot 1, continuing: No such file or directory ```
13 daysupdate TODOLennart Poettering1-0/+4
13 dayspo: Translated using Weblate (Hebrew)Yaron Shahrabani1-45/+29
Currently translated at 100.0% (257 of 257 strings) Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/he/ Translation: systemd/main
13 daysssh-generator: silence "Binding to socket" messagesMantas Mikulėnas1-8/+8
13 daysuser-record: distinguish explicit and implicit empty modifiable lists caseLennart Poettering1-6/+13
We now distinguish two cases: where the list of self modifiable fields is explicitly set to empty, and where the default is empty. Let's display them differently in the output. When set explicitly to empty let's mention the admin, otherwise just say "none".
13 daysuser-record: only synthesize default list of self-modifiable fields for ↵Lennart Poettering2-4/+17
*regular* users For system users we should lock things down, hence generate an empty list. This is mostly a safety precaution, but also hides really confusing output of "userdbctl user" for an system user. Follow-up for: a192250eda1e5cc1f8fc799cf9b85d37e7fa0519
13 daysvmspawn: enable memory pressure logic for vmspawnLennart Poettering1-0/+4
13 dayssystemctl: grey out tasks limit the same way we grey out the fd store limit ↵Lennart Poettering1-1/+1
in the output "systemctl status systemd-logind" otherwise looks a bit weird, since the tasks and the fdstore lines are so close to each other but formatted quite differently when it comes to coloring.
13 daysstyle: Fix formattingFederico Giovanardi1-2/+2
13 dayscore/exec-invoke: suppress placeholder home only in build_environment()Mike Yuan2-8/+28
Currently, get_fixed_user() employs USER_CREDS_SUPPRESS_PLACEHOLDER, meaning home path is set to NULL if it's empty or root. However, the path is also used for applying WorkingDirectory=~, and we'd spuriously use the invoking user's home as fallback even if User= is changed in that case. Let's instead delegate such suppression to build_environment(), so that home is proper initialized for usage at other steps. shell doesn't actually suffer from such problem, but it's changed too for consistency. Alternative to #34789
13 dayscore/exec-invoke: minor cleanup for apply_working_directory() error handlingMike Yuan1-15/+7
Assign exit_status at the same site where error log is emitted, for readability.
13 daysbasic/user-util: split out placeholder suppression from USER_CREDS_CLEAN ↵Mike Yuan4-15/+16
into its own flag No functional change, preparation for later commits.
13 daysbasic/user-util: introduce shell_is_placeholder() helperMike Yuan2-7/+13
13 daysmkosi: Enable clangd execution for all distributionsDaan De Meyer2-4/+7
13 daysupdate TODOLennart Poettering1-0/+10
13 daystest-network: add test case for IPv6 Core Conformance test v6LC.2.2.23Yu Watanabe1-0/+18
13 daystest-network: split out check_router_preference() from test_router_preference()Yu Watanabe3-90/+32
This also drop high2.network and low2.network, and edit high.network and low.network during the test.
13 daysnetwork/ndisc: first process options with zero lifetimeYu Watanabe1-20/+50
Fixes IPv6 Core Conformance test failures reported at #33468. https://www.ipv6ready.org/docs/Core_Conformance.pdf Test v6LC.2.2.23 h and j: Processing Router Advertisement with Route Information Option (Host Only) When a RA contains route option with ::/0 prefix, then previously that may contradict with the default route requested with the RA header. If the route option has zero lifetime, the existing default route should be removed, and a new route based on the RA header should be configured. If the route option has non-zero lifetime, the RA header should be ignored. So, we first need to process options with zero lifetime (not only route option, as the similar reasons), then configure the default route based on the RA, finally process options with non-zero lifetime.
13 daysnetwork/ndisc: sd_ndisc_router_route_get_preference() does not return ↵Yu Watanabe1-4/+0
-EOPNOTSUPP anymore
13 daysndisc-option: use memcpy_safe() at one more placeYu Watanabe1-1/+1
As 'len' may be 8. Follow-up for a163404cc88914142ef8bbfaab0eb39d1a990c02.
13 daysukify: fix parsing of SignTool configuration optionZbigniew Jędrzejewski-Szmek2-32/+25
This partially reverts 02eabaffe98c9a3b5dec1c4837968a4d3e2ff7db. As noted in https://github.com/systemd/systemd/pull/35211: > The configuration parsing simply stores the string as-is, rather than > creating the appropriate object One way to fix the issue would be to store the "appropriate object", i.e. actually the class. But that makes the code very verbose, with the conversion being done in two places. And that still doesn't fix the issue, because we need to map the class objects back to the original name in error messages. So instead, store the setting as a string and only map it to the class much later. This makes the code simpler and fixes the error messages too. Resolves https://github.com/systemd/systemd/pull/35193
14 daysman: fix copy-and-paste errorYu Watanabe1-3/+3
Follow-up for 85a1360ecffd8929151e09279ea62dedea364dfa.
14 daysman: add several future version info tagsYu Watanabe1-0/+3
14 dayspo: update Japanese translationsYu Watanabe1-7/+4
14 daysnetwork/netdev: fix typoYu Watanabe1-1/+1
Follow-up for 09db4106064dd600c64d12a4e06bd88143b2e4f7.
14 daysnspawn: Include arm_fadvise64_64 in syscall allow_listMichał Górny1-0/+1
Add the `arm_fadvise64_64` syscall to the allow_list, in addition to the existing `fadvise64` and `fadvise64_64` syscalls, as this is the syscall actually defined for `arm` architecture. Adding it fixes the syscall being rejected in arm32 containers. Fixes #35194
2024-11-17po: Translated using Weblate (Hebrew)Yaron Shahrabani1-27/+15
Currently translated at 89.1% (229 of 257 strings) Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/he/ Translation: systemd/main