1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-09 01:18:19 +03:00
systemd/docs
Daan De Meyer d9f4dad986 ask-password: Allow configuring the keyring timeout via an environment variable
In mkosi, we want an easy way to set the keyring timeout for every
tool we invoke that might use systemd-ask-password to query for a
password which is then stored in the kernel keyring. Let's make this
possible via a new $SYSTEMD_ASK_PASSWORD_KEYRING_TIMEOUT_SEC environment
variable.

Using an environment variable means we don't have to modify every separate
tool to add a CLI option allowing to specify the timeout. In mkosi specifically,
we'll set up a new session keyring for the mkosi process linked to the user keyring
so that any pins in the user keyring are used if available, and otherwise we'll query
for and store password in mkosi's session keyring with a zero timeout so that they stay
in the keyring until the mkosi process exits at which point they're removed from the
keyring.
2024-10-30 17:43:53 +01:00
..
_data docs: drop outdated documents about os-release and cgroupsv1 2024-05-01 01:30:12 +01:00
_includes docs: update footer to 2024 2024-03-16 03:14:23 +09:00
_layouts docs: adapt forward layout to systemd.io design 2022-05-21 18:09:50 +02:00
assets docs/DEBUGGING: add screenshot and fix path to it 2024-03-27 06:53:46 +01:00
fonts docs: make it pretty 2019-12-11 17:04:20 +01:00
sysvinit man: update links to "Compatibility with SysV" 2024-05-28 14:46:44 +02:00
var-log tree-wide: use https for the 0pointer.de doc links 2023-06-23 13:46:56 +01:00
_config.yml Revert "docs: don't suffix page permalink with a slash" 2024-04-17 20:53:49 +02:00
.gitattributes docs: mark spdx headers with the default license to website files 2021-10-18 09:43:18 +02:00
.gitignore gitignore: add jekyll cache directory 2021-06-24 10:20:29 +02:00
API_FILE_SYSTEMS.md docs/API_FILE_SYSTEM: format text 2024-03-27 07:11:53 +01:00
APPSTREAM_BUNDLE.md sysupdate: Support changelogs & appstream metadata 2024-07-12 14:38:09 +01:00
ARCHITECTURE.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
AUTOMATIC_BOOT_ASSESSMENT.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
BACKPORTS.md docs/BACKPORTS: format text 2024-03-27 07:11:54 +01:00
BLOCK_DEVICE_LOCKING.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
BOOT_LOADER_INTERFACE.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
BOOT_LOADER_SPECIFICATION.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
BOOT.md Change OS X to macOS in BOOT.md (#34358) 2024-09-11 09:15:39 +02:00
BUILDING_IMAGES.md docs/BUILDING_IMAGES: format text 2024-03-27 07:11:55 +01:00
CATALOG.md docs/CATALOG: format text 2024-03-27 07:11:55 +01:00
CGROUP_DELEGATION.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
CODE_OF_CONDUCT.md docs/CODE_OF_CONDUCT: format text 2024-03-27 07:11:55 +01:00
CODE_QUALITY.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
CODING_STYLE.md man: document preference for secure_getenv() in coding style 2024-10-14 12:31:37 +01:00
CONTAINER_INTERFACE.md docs: Mention the new mount API in the container interface doc 2024-08-13 12:20:43 +02:00
CONTRIBUTING.md docs/CONTRIBUTING.md: Fix links in CONTRIBUTING 2024-05-28 12:53:18 +02:00
CONTROL_GROUP_INTERFACE.md CONTROL_GROUP_INTERFACE: fix link to systemd-run code 2024-09-17 15:09:48 +09:00
CONVERTING_TO_HOMED.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
COREDUMP_PACKAGE_METADATA.md docs: rename COREDUMP_PACKAGE_METADATA → ELF_PACKAGE_METADATA 2022-05-21 18:08:19 +02:00
COREDUMP.md treewide: fix a few typos in NEWS, docs, comments, and log messages 2024-04-27 12:11:13 +02:00
CREDENTIALS.md docs: minor improvements to CREDENTIALS.md 2024-05-07 11:02:31 +02:00
DAEMON_SOCKET_ACTIVATION.md docs/DAEMON_SOCKET_ACTIVATION 2024-06-03 15:22:54 +09:00
DEBUGGING.md docs/DEBUGGING.md: use an underscore in the kernel command line option 2024-04-29 14:16:57 +02:00
DESKTOP_ENVIRONMENTS.md doc: fix typo 2024-10-17 00:49:59 +09:00
DISCOVERABLE_PARTITIONS.md docs: DPS and BLS have moved to uapi-group.org 2022-11-02 07:31:18 +09:00
DISTRO_PORTING.md docs/DISTRO_PORTING: format text 2024-03-27 07:12:04 +01:00
ELF_DLOPEN_METADATA.md docs/ELF_DLOPEN_METADATA: add detailed example 2024-09-13 14:53:17 +02:00
ELF_PACKAGE_METADATA.md docs/ELF_PACKAGE_METADATA: add detailed example 2024-09-13 14:51:44 +02:00
ENVIRONMENT.md ask-password: Allow configuring the keyring timeout via an environment variable 2024-10-30 17:43:53 +01:00
FAQ.md docs: fix typo in filename: REATLIME -> REALTIME 2024-09-17 10:21:54 +02:00
favicon.png docs: make it pretty 2019-12-11 17:04:20 +01:00
favicon.svg docs: mark spdx headers with the default license to website files 2021-10-18 09:43:18 +02:00
FILE_DESCRIPTOR_STORE.md Fix reference to FileDescriptorStoreMax= directive 2024-09-25 16:16:29 +02:00
GROUP_RECORD.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
HACKING.md docs: Update instructions for building distribution packages in HACKING.md 2024-10-30 11:16:42 +01:00
HOME_DIRECTORY.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
INCOMPATIBILITIES.md treewide: fix a few typos in NEWS, docs, comments, and log messages 2024-04-27 12:11:13 +02:00
index.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
INHIBITOR_LOCKS.md logind: drop new delay-weak inhibitor 2024-09-13 12:32:42 +02:00
INITRD_INTERFACE.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
JOURNAL_EXPORT_FORMATS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
JOURNAL_FILE_FORMAT.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
JOURNAL_NATIVE_PROTOCOL.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
MEMORY_PRESSURE.md docs: fix dead link to GNOME documentation 2024-06-28 09:39:56 +02:00
MINIMAL_BUILDS.md docs/MINIMAL_BUILDS: format text 2024-03-27 07:11:58 +01:00
MOUNT_REQUIREMENTS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
MY_SERVICE_CANT_GET_REALTIME.md docs: fix typo in filename: REATLIME -> REALTIME 2024-09-17 10:21:54 +02:00
NETWORK_ONLINE.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
OPTIMIZATIONS.md docs/OPTIMIZATIONS: format text 2024-03-27 07:11:59 +01:00
PASSWORD_AGENTS.md man: update PASSWORD_AGENTS spec, and introduce unpriv pw queries 2024-10-21 14:14:13 +02:00
PAX_CONTROL_GROUPS.md docs: drop invalid links 2024-04-26 14:57:22 +02:00
PORTABILITY_AND_STABILITY.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
PORTABLE_SERVICES.md docs/PORTABLE_SERVICES: format text 2024-03-27 07:12:06 +01:00
PORTING_TO_NEW_ARCHITECTURES.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
PREDICTABLE_INTERFACE_NAMES.md docs/PREDICTABLE_INTERACES: format text 2024-03-27 07:26:56 +01:00
PRESET.md docs/PRESET: format text 2024-03-27 07:12:00 +01:00
RANDOM_SEEDS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
RELEASE.md docs: Document how to do stable releases 2024-07-19 16:33:36 +02:00
RESOLVED-VPNS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
ROOT_STORAGE_DAEMONS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
SECURITY.md docs/SECURITY: format text 2024-03-27 07:12:01 +01:00
SEPARATE_USR_IS_BROKEN.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
style.css docs: desaturate dark-mode background color 2022-06-10 13:52:31 +02:00
SYSLOG.md docs/SYSLOG: format text 2024-03-27 07:12:01 +01:00
SYSTEMD_FILE_HIERARCHY_REQUIREMENTS.md docs/SYSTEMD_FILE_HIERARCHY: format text 2024-03-27 07:17:08 +01:00
TEMPORARY_DIRECTORIES.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
TESTING_WITH_SANITIZERS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
THE_CASE_FOR_THE_USR_MERGE.md tree-wise: use "lightweight" spelling 2024-10-18 18:43:40 +02:00
TIPS_AND_TRICKS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
TPM2_PCR_MEASUREMENTS.md stub: Add support for .initrd addon files 2024-10-09 14:06:10 +01:00
TRANSIENT-SETTINGS.md cgroup: Add ManagedOOMMemoryPressureDurationSec= override setting for units 2024-10-16 20:12:38 -07:00
TRANSLATORS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
UIDS-GIDS.md docs/UIDS-GIDS: drop obsolete comment about Fedora 2024-08-31 13:36:09 +02:00
USER_GROUP_API.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
USER_NAMES.md docs/USER_NAMES: format text 2024-03-27 07:12:04 +01:00
USER_RECORD_BLOB_DIRS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
USER_RECORD.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
USERDB_AND_DESKTOPS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
VIRTUALIZED_TESTING.md docs/VIRTUALIZED_TESTING: format text 2024-03-27 07:26:55 +01:00
VM_INTERFACE.md docs: fix typo 2024-03-15 04:04:01 +09:00
WRITING_DESKTOP_ENVIRONMENTS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00
WRITING_DISPLAY_MANAGERS.md docs: drop link to obsolete multiseat page 2024-05-28 14:48:56 +02:00
WRITING_NETWORK_CONFIGURATION_MANAGERS.md docs/WRITING_NETWORK_CONFIG_MANAGERS: format text 2024-03-27 07:31:54 +01:00
WRITING_RESOLVER_CLIENTS.md docs/WRITING_RESOLVER_CLIENTS: update manpage link 2024-03-27 07:11:50 +01:00
WRITING_VM_AND_CONTAINER_MANAGERS.md docs: use absolute links for our pages 2024-04-17 21:21:23 +02:00