summaryrefslogtreecommitdiffstats
path: root/man (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: use "_" rather than "-" as separator in kernel cmdline optionsLennart Poettering2024-02-287-17/+17
| | | | | | | | | | | Most of our kernel cmdline options use underscores as word separators in kernel cmdline options, but there were some exceptions. Let's fix those, and also use underscores. Since our /proc/cmdline parsers don't distinguish between the two characters anyway this should not break anything, but makes sure our own codebase (and in particular docs and log messages) are internally consistent.
* Merge pull request #31293 from ragazenta/netdev_rpsLuca Boccassi2024-02-281-0/+15
|\ | | | | udevd: Add ReceivePacketSteeringCPUMask for systemd.link
| * udevd: Add ReceivePacketSteeringCPUMask for systemd.linkRenjaya Raga Zenta2024-02-281-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Takes a list of CPU indices or ranges separated by either whitespace or commas. Alternatively, takes the special value "all" in which will include all available CPUs in the mask. CPU ranges are specified by the lower and upper CPU indices separated by a dash (e.g. "2-6"). This option may be specified more than once, in which case the specified CPU affinity masks are merged. If an empty string is assigned, the mask is reset, all assignments prior to this will have no effect. Defaults to unset and RPS CPU list is unchanged. To disable RPS when it was previously enabled, use the special value "disable". Currently, this will set CPU mask to all `rx` queue of matched device (if it has multiple queues). The `/sys/class/net/<dev>/queues/rx-<n>/rps_cpus` only accept cpu bitmap mask in hexadecimal. Fix: #30323
* | network/ndisc: drop redundant sd_ndisc_router_get_icmp6_ratelimit()Yu Watanabe2024-02-281-10/+0
| | | | | | | | | | | | | | | | | | | | This effectively reverts 9175002864d8876f375e0df089d142d239282528. The retrans time field in RA message is for neighbor solicitation, and the commit d4c8de21a07d015f2f2c787e0735be5e4d02fb3c makes the value assigned to the correct sysctl property. Let's deprecate the option, and drop the redundant functions.
* | Merge pull request #31515 from ↵Luca Boccassi2024-02-271-31/+34
|\ \ | | | | | | | | | | | | keszybz/small-cleanups-after-review-of-stable-batch Small cleanups after review of stable batch
| * | man/sd_bus_service_reconnect.c: normalize whitespaceZbigniew Jędrzejewski-Szmek2024-02-271-31/+34
| | | | | | | | | | | | For man pages, we generally indent with 2 spaces and wrap to ~80 columns.
* | | man, shell-completion: fix a few typos/language issuesŠtěpán Němec2024-02-272-3/+3
|/ /
* | Merge pull request #31000 from flatcar-hub/krnowak/mutable-overlaysLuca Boccassi2024-02-261-2/+97
|\ \ | | | | | | systemd-sysext: Implement optional mutability for extensions
| * | man/systemd-sysext.xml: document mutable extensionsThilo Fromm2024-02-231-2/+97
| | | | | | | | | | | | Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
* | | vmspawn: use our own ptyfwd code for the console of a VMLennart Poettering2024-02-261-8/+36
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Let's make systemd-nspawn use our own ptyfwd logic to handle the TTY by default. This adds a new setting --console=, inspired by nspawn's setting of the same name. If --console=interactive= is used, then we'll do the TTY dance on our own via ptyfwd, and thus get tinting, our usual hotkey handling and similar. Since qemu's own console is useful too, let's keep it around via --console=native. FInally, replace the --qemu-gui switch by --console=gui.
* | ssh-generator: add mention of ssh.authorized_keys.root to man pageSam Leonard2024-02-231-0/+5
| |
* | network: introduce per-interface IP forwarding settingsYu Watanabe2024-02-222-18/+61
|/ | | | | | | | | | | | | | This deprecates IPForward= setting, which unconditionally controled the global setting, even though it is a setting in .network file. Instead, this introduces new IPv4Forwarding= and IPv6Forwarding= settings both in .network and networkd.conf. If these settings are specified in a .network file, then the per-interface forwarding setting will be configured. If specified in networkd.conf, then the global IP forwarding setting will be configured. Closes #30648.
* Merge pull request #31414 from poettering/bsod-tweaksLuca Boccassi2024-02-221-0/+11
|\ | | | | bsod: some small bsod tweaks
| * bsod: add new option --tty= to specify TTY to output onLennart Poettering2024-02-211-0/+11
| | | | | | | | | | | | If specified we'll not try to find a free V, but instead just output directly to the specified TTY. This is particularly useful for debugging, as it means "systemd-bsod --tty=/dev/tty" just works.
* | Merge pull request #31432 from poettering/vmspawn-qemu-renameLuca Boccassi2024-02-221-10/+11
|\ \ | | | | | | vmspawn: drop "qemu" word from most switches
| * | vmspawn: rename "qemu" specific switches to not carry the "qemu" prefixLennart Poettering2024-02-211-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames a few of the switches vmspawn takes, such as --qemu-mem= and --qemu-smp= to names without the "qemu" moniker and uses less cryptic names (i.e. --ram= and --cpus=). I think it's a bit unsystematic that so far we use the "qemu" prefix for some options but not for others. At least I could not figure out a system when we use it and when we don't. Hence let's clean it up and just use simpler names without suffix. After all we might want to plug other hypervisors behind vmspawn one day, hence I think there's value in sticking to generic names for these switches that allow us to switch out backends easily. In particular for --ram= and --cpus= which are probably the most fundamental of VM settings there are. The old switches are support for compat, but not advertised in man page or --help text anymore. I left "--qemu-gui" under its current name, since it fundamentally is a a qemu concept, exposing a qemu specific graphical UI.
| * | vspawn: prefer "VSOCK" spelling over "vsock" and "VSock"Lennart Poettering2024-02-211-4/+5
| |/ | | | | | | | | The vsock(7) man page appears to prefer "VSOCK" spelling for the concept, let's also use it as much as we can.
* / netdev/macvlan: allow to set the broadcast queueing thresholdSusant Sahani2024-02-221-0/+13
|/ | | | | | Allow to set the broadcast queueing threshold on macvlan devices. This controls which multicast packets will be processed in a workqueue instead of inline.
* Merge pull request #31326 from CodethinkLabs/vmspawn/extra_drivesLuca Boccassi2024-02-211-0/+9
|\ | | | | vmspawn: add --extra-drive= and correctly escape ',' in certain qemu arguments
| * vmspawn: add --extra-drive=Sam Leonard2024-02-211-0/+9
| |
* | networkd: support setting dhcp server portMartin Ivicic2024-02-211-0/+9
|/
* Merge pull request #31405 from yuwata/network-ndisc-reachable-timeYu Watanabe2024-02-211-0/+11
|\ | | | | network/ndisc: set neighbor reachable time
| * network/ndisc: set IPv6 neighbor reachable timeYu Watanabe2024-02-201-0/+11
| | | | | | | | Closes #31402.
* | Merge pull request #31400 from poettering/askpw-reworkLuca Boccassi2024-02-213-9/+68
|\ \ | | | | | | Password Asking rework
| * | man: tweak cryptsetup credentials docs a bitLennart Poettering2024-02-202-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | Let's bring the credentials into a better order, in order of relevance. Also, let's clarify what the generic LUKS PIN is about. Finally, list the credentials in system-credentials(7) too, after all people might want to unlock a disk with this via SMBIOS Type 11 or so.
| * | man: now that the crdentials used by systemd-cryptenroll are in order, ↵Lennart Poettering2024-02-201-0/+45
| |/ | | | | | | | | | | document them Replaces: #31370
* / analyze: always recommend saving the output to a fileZbigniew Jędrzejewski-Szmek2024-02-201-3/+9
|/ | | | | | | | The command will refuse to write to a TTY, so give a strong hint that redirecting to a file is recommended. This makes the synopsis, man page text, and --help output consistent. Also drop the space after the redirection operator everywhere.
* udev: String substitutions can be done in ENV, tooruniq2024-02-201-7/+8
| | | | | | | | Precedence for example in https://github.com/systemd/systemd/blob/ac63c8df309e37960618610d8b57ac19ac657254/rules.d/99-systemd.rules.in#L75. Add ENV to the list of keys where string substitutions can be used. While I'm at it, also sort the list in that paragraph alphabetically.
* home: fix typoYu Watanabe2024-02-201-1/+1
| | | | | Follow-up for 25c89b89771adf3251b2398eaddc3a49c22752e3 and a4d72746c776f820a440d72eaadd49ad158e10dc.
* Merge pull request #31357 from keszybz/cleanups-vmspawnLuca Boccassi2024-02-191-104/+124
|\ | | | | Cleanups vmspawn
| * man: reword paragraph about --forward-journal= and adjust spacingZbigniew Jędrzejewski-Szmek2024-02-191-104/+124
| | | | | | | | | | | | | | The previous text did not look right when rendered. The text is much easier to read when paragraphs are separated by an empty line, latex-style.
* | homectl: Add flags to edit blob directoriesAdrian Vovk2024-02-191-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to edit blob directories using homectl. The following syntax is available: * `--blob-directory=/path/somewhere`: Replaces the entire blob directory with the contents of /path/somewhere * `--blob-directory=foobar=/path/somewhere`: Replaces just the file foobar in the blob directory with the contents of /path/somewhere * `--blob-directory=foobar=`: Deletes the file foobar from the blob directory * `--blob-directory=`: Resets all previous flags * `--avatar=`, etc: Shortcuts for `--blob-directory=FILENAME=` for the known files in the blob directory
* | homework: Handle Update & Create w/ blob dirAdrian Vovk2024-02-191-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces new extended variants of the various incarnations of Create and Update, which take a map of filenames to FDs. This map is then used to populate the bulk directory. FDs are used to prevent the client from abusing homed's blob directory permissions (everything is made world-readable by homed) to open files that they normally aren't allowed to open. Passing along an FD ensures that the client has read access to the file it wants homed to make world-readable. Internally, homework uses the map to overwrite the system blob dir. Later, homework's existing blob dir reconciliation logic will propagate the new contents from the system blob dir into the embedded blob dir
* | homed: Create & advertise blob directoryAdrian Vovk2024-02-191-0/+4
| | | | | | | | | | | | | | | | | | This ensures that a user-specific blob directory exists in /var/cache/systemd/homed for as long as the user exists, and gets deleted if the user gets deleted. It also advertises this blob directory via the user record, so that clients can find and use it.
* | Merge pull request #31364 from bluca/vpick_extLuca Boccassi2024-02-195-16/+27
|\ \ | | | | | | core: add support for vpick for ExtensionImages=/ExtensionDirectories=
| * | core: add support for vpick for ExtensionDirectories=Luca Boccassi2024-02-171-0/+2
| | |
| * | core: add support for vpick for ExtensionImages=Luca Boccassi2024-02-171-0/+2
| | |
| * | man: create reusable snippet for 'vpick' entriesLuca Boccassi2024-02-175-16/+23
| | |
* | | man: fix typo in uid0.xmlLuca Boccassi2024-02-181-1/+1
|/ / | | | | | | Follow-up for 72eb3081b21a12252159e24188e25d04f14af83c
* | Merge pull request #31338 from ssahani/network-bond-missedYu Watanabe2024-02-161-0/+12
|\ \ | |/ |/| network: netdev - bond add support for ARP missed max
| * network: netdev - bond add support for ARP missed maxSusant Sahani2024-02-161-0/+12
| | | | | | | | | | | | Allows to configure bond arp_missed_max is the maximum number of arp_interval monitor cycle for missed ARP replies. If this number is exceeded, link is reported as down.
* | Merge pull request #31218 from CodethinkLabs/vmspawn/journal_forwardingLuca Boccassi2024-02-163-15/+74
|\ \ | |/ |/| vmspawn: support journal forwarding
| * vmspawn: add --forward-journal=Sam Leonard2024-02-151-0/+19
| |
| * journald: implement socket forwardingSam Leonard2024-02-152-15/+55
| | | | | | | | | | | | | | | | | | | | | | This commit adds a new way of forwarding journal messages - forwarding over a socket. The socket can be any of AF_INET, AF_INET6, AF_UNIUX or AF_VSOCK. The address to connect to is retrieved from the "journald.forward_address" credential. It can also be specified in systemd-journald's unit file with ForwardAddress=
* | man: enchance sd_bus_set_watch_bind() example to handle one more failureLuca Boccassi2024-02-151-5/+23
|/ | | | | | | | In case the D-Bus policy is not set up correctly the example just loops forever. Check the return of sd_bus_request_name_async() in a callback and exit if the error is not temporary. Follow-up for 34bbda18a5f07fa5a52e8d85d20637ce1c00c4ec
* nspawn: add support for owneridmap bind optionBenjamin Franzke2024-02-151-6/+11
| | | | | | | | | | | owneridmap bind option will map the target directory owner from inside the container to the owner of the directory bound from the host filesystem. This will ensure files and directories created in the container will be owned by the directory owner of the host filesystem. All other users will remain unmapped. Files to be written as other users in the container will not be allowed. Resolves: #27037
* Improve IgnoreSIGPIPE descriptionWinterhuman2024-02-141-3/+3
| | | Reword the description of the `IgnoreSIGPIPE=` service option to be more grammatical.
* systemctl: don't warn unit needs reload if --no-warnMike Yuan2024-02-141-1/+4
|
* man: update D-Bus docs with new callsLennart Poettering2024-02-142-10/+46
|
* logind: add ability to upgrade session class from 'user-incomplete' to 'user'Lennart Poettering2024-02-141-1/+0
|