summaryrefslogtreecommitdiffstats
path: root/man/libsystemd.xml (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-10-25machine: operation should not send a response when 'done' callback setIvan Kruglov1-14/+17
2024-10-25test: add brief testcase for systemd-run disconnect handlingLennart Poettering1-0/+3
2024-10-25run: reconnect if our dbus connection is terminatedLennart Poettering1-57/+196
We must be prepared that systemd temporarily drops off the bus or disconnects our direct connections (due to systemctl daemon-reexec or so). Hence automatically reconnect when we watch the unit status, and handle this case gracefully. Fixes: #32906 #27204
2024-10-25update TODOLennart Poettering1-3/+0
2024-10-25run: drop "-" prefix from command line when generating unit descriptionLennart Poettering1-1/+13
Let's not confuse users with the login shell indicator and drop it from the description. This means a run0 session will now usually show up with a description of "[run0] /bin/bash" rather than "[run0] -/bin/bash".
2024-10-25run: prefix unit description with our own process nameLennart Poettering1-2/+4
I think we should try to communicate clearly if something is a run0 session, or a systemd-run invocation. Hence, let's initialize the description so that the command is prefixed by program_invocation_short_name. Effectively this means that our run0 sessions now appear as services with a description of "[run0] -/bin/bash"
2024-10-25run: tweak how we name our transient unitsLennart Poettering1-54/+22
The current logic is a bit complex how systemd-run units are called. It used to be just the unique ID of the dbus connection. Which was nice, since its system-widely, uniquely assigned to us. But this didn't work out well, due to direct connections to PID 1 and due to soft reboots. We nowadays have a better ID to use though, with nicer properties: the kernel manages a pidfd ID for every process after all, and it's globally unique, for any process, and regardless of soft reboots. Hence use that for naming preferably, and just keep one branch with a randomized name as fallback.
2024-10-25run0: optionally show superhero emoji on each shell promptLennart Poettering5-18/+89
This makes use of the infra introduced in 229d4a980607e9478cf1935793652ddd9a14618b to indicate visually on each prompt that we are in superuser mode temporarily. pick ad5de3222f userdbctl: add some basic client-side filtering
2024-10-25ci: add some basic testing of the new --pty and --pipe switchesLennart Poettering2-0/+19
2024-10-25run0: add options to force allocation of PTY or of pipe useLennart Poettering2-1/+42
Fixes: #33033
2024-10-25tree-wide: use isatty_safe() everywhereLennart Poettering2-6/+6
2024-10-25update TODOLennart Poettering1-0/+5
2024-10-24test: add quick test to verify the PAM stack really ran in all run0 modes of ↵Lennart Poettering1-1/+4
operation
2024-10-24core: make sure that if PAMName= is set we always do the full user changing ↵Lennart Poettering1-3/+18
even if no user is specified explicitly When PAMName= is set this should be enough to go through our entire user changing story, so that PAM is definitely run, and environment variables definitely pulled in and so on. Previously, it would happen that under some circumstances we might no do this when transitioning from root to root itself even though PAM was enabled. Fixes: #34682
2024-10-24user-util: tighten shell validation a tiny bitLennart Poettering3-9/+30
2024-10-24ci: give new userdbctl some CI exposureLennart Poettering1-0/+14
2024-10-24user-record: fix indentationLennart Poettering1-24/+24
2024-10-24userdbctl: set shell/home cell type to TABLE_PATHLennart Poettering1-2/+2
This only matters for sorting, and we currently don't support sorting by path, hence this is of no real effect, but it certainly is more correct.
2024-10-24userdbctl: grey out nologin shell in tabular outputLennart Poettering1-4/+8
2024-10-24userdbctl: optionally hide UID range boundaries in outputLennart Poettering2-25/+67
2024-10-24userdbctl: add some basic client-side filteringLennart Poettering6-9/+288
This adds some basic client-side user/group filtering to "userdbctl": 1. by uid/gid min/max 2. by user "disposition" (i.e. show only regular users with "userdbctl user -R") 3. by fuzzy name (i.e. search by substring/levenshtein of user name, real name, and other identifiers of the user/group record). In the long run we also want to support this server side, but let's start out with doing this client-side, since many backends won't support server-side filtering anytime soon anyway, so we need it in either case.
2024-10-24veritysetup-generator: remove unused codeAntonio Alvarez Feijoo1-9/+0
2024-10-24man/veritysetup-generator: document veritytab kernel command line optionAntonio Alvarez Feijoo1-2/+14
2024-10-24man: fix links to veritysetup(8)Antonio Alvarez Feijoo3-4/+4
2024-10-24man: insert a comma before 'and'Yu Watanabe1-1/+1
Follow-up for bd91f23acfecc92ede6965d752540a758b3e6c79.
2024-10-24Revert "TEST-55-OOMD: workaround for kernel regression in 6.12-rcX"Yu Watanabe1-18/+3
This reverts commit 88bbf187a9b2ebe0732caa1e886616ae5f8186da. The kernel regression has been hopefully fixed by https://github.com/torvalds/linux/commit/c6508124193d42bbc3224571eb75bfa4c1821fbb which is included in 6.12-rc4. Let's drop the workaround.
2024-10-24po: Translated using Weblate (Swedish)Anders Jonsson1-4/+4
Currently translated at 100.0% (253 of 253 strings) Co-authored-by: Anders Jonsson <anders.jonsson@norsjovallen.se> Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sv/ Translation: systemd/main
2024-10-23docs: Mention that a local build might be required to use mkosiDaan De Meyer1-26/+31
Currently we need ukify with support for --profile and --join-profile which isn't in an official release yet so mention that a local build from source might be required.
2024-10-23man/network: suggest to not request IA_NA when received RA with Managed bit ↵Yu Watanabe1-0/+2
unset Follow-up for 1f5a052963464755e87a075f6f4a8867b2199311.
2024-10-23core: don't forget about fallback_smack_process_labelŁukasz Stelmach1-1/+1
Call setup_smack() also when only fallback_smack_process_label is set. Fixes: 75689fb2d41f
2024-10-23core/namespace: replace MOUNT_PRIVATE_TMP_READ_ONLY with MOUNT_PRIVATE_TMP ↵Yu Watanabe1-10/+5
with .read_only = true
2024-10-23core/namespace: coding style cleanupsYu Watanabe1-6/+6
2024-10-23core/namespace: honor MountEntry.read_only, .options, and so on in static ↵Yu Watanabe2-7/+21
entries Otherwise, ProtectHome=tmpfs makes /home/ and friends not read-only. Also, mount options for /run/ specified in MountAPIVFS=yes are not applied. The function append_static_mounts() was introduced in 5327c910d2fc1ae91bd0b891be92b30379c7467b, but at that time, there were neither .read_only nor .options in the struct. But, when later the struct is extended, the function was not updated and they were not copied from the static table. The fields has been used in static tables since e4da7d8c796a1fd11ecfa80fb8a48eac9e823f06, and also in 94293d65cd4125347e21b3e423d0e245226b1be2. Fixes #34825.
2024-10-23refactor: replace sizeof in loop with ELEMENTSOF & FOREACH_ELEMENT (#34863)Integral4-15/+12
2024-10-23update TODOLennart Poettering1-0/+2
2024-10-23man/network: fix typoYu Watanabe1-1/+1
Follow-up for 1f5a052963464755e87a075f6f4a8867b2199311.
2024-10-23measure: fix typoYu Watanabe1-1/+1
Follow-up for 0005411352f9bda0d9887c37b9e75a2bce6c1133.
2024-10-23TEST-55-OOMD: fix typoYu Watanabe1-1/+1
Follow-up for 63d4c4271ca529f8357a84cbc075170fffdb3de8.
2024-10-23network: adjust log message about DNRRonan Pigott1-4/+4
The only possible error return in this position is -ENODATA, which is not interesting.
2024-10-23mkosi: update debian commit referenceLuca Boccassi1-1/+1
* 07a294d0c6 Do not mask systemd-gpt-auto-generator in upstream CI builds * 5636398bf7 Backport patch to fix test failures with tzdata 2024b-1 * 354ded4946 Update changelog for 256.7-2 release * e38c7c5345 Backport fixes for upstream autopkgtest suite * 249676834c Disable utmp support, not y2038 safe * 822d44da42 initramfs-tools: support missing /etc/udev/udev.conf * ad71ebf700 systemd-boot: depend on systemd for kernel-install * 5bf7008ef8 d/systemd.postinst: do not restart systemd-binfmt.service if masked * 58d5aa1b41 d/rules: mask systemd-gpt-auto-generator on Ubuntu * 481987d85c Update changelog for 256.7-1 release * ce7f3d4b43 Revert "autopkgtest: skip TEST-64-UDEV-STORAGE due to qemu crash" * 7007e73b22 Mark dependencies on clang and bpftool as :native * 0e120cf704 Update upstream source from tag 'upstream/256.7' |\ | * 914aae055c New upstream version 256.7 * fcea89cb00 d/t/upstream: honor /etc/apt configured by autopkgtest
2024-10-22logind: allow read/write to char-hvc devicesLuca Boccassi1-0/+1
virtio console uses /dev/hvc* so we need access to write wall messages
2024-10-22core: clean up errors for live mountingMike Yuan3-55/+38
* Use SD_BUS_ERROR_NOT_SUPPORTED where appropriate * Use Service object in service_can_live_mount() * Include errno in bus error message
2024-10-22core/service: fix one wordingMike Yuan1-1/+1
2024-10-22core/service: add missing serialization for Service.live_mount_resultMike Yuan1-3/+13
2024-10-22core/service: call service_enter_running() if live mount failsMike Yuan1-1/+1
service_enter_running() would re-arm timer for RuntimeMaxSec=, hence it should be called instead of disabling timer completely when live mount operation fails, in a similar fashion as service_enter_reload_by_notify().
2024-10-22core/service: introduce service_live_mount_finish()Mike Yuan1-8/+7
that combines updating Service.live_mount_result and service_mount_request_reply()
2024-10-22core/service: place occurrences of SERVICE_MOUNTING closer to reload statesMike Yuan2-21/+20
2024-10-22core/unit: put the reload job back to queue if unit is refreshingMike Yuan1-1/+5
2024-10-22shared/bus-util: debug log when falling back to session busMike Yuan1-1/+4
Follow-up for d0316b7a0d356ba12325ce5a00b0cbe0bc359461
2024-10-22basic/fs-util: move unlink_tempfilep() to tmpfile-utilMike Yuan4-13/+13