systemd/docs
Adrian Vovk a5b009d935
homework: Lock/Unlock: Freeze/Thaw user session
Whenever a home directory is in a locked state, accessing the files of
the home directory is extremely likely to cause the thread to hang. This
will put the session in a strange state, where some threads are hanging
due to file access and others are not hanging because they are not
trying to access any of the user's files.

This can lead to a whole slew of consequences. For example, imagine a
likely situation where the Wayland compositor is not hanging, but the
user's open apps are. Eventually, the compositor will detect that none
of the apps are responding to its pings, assume that they're frozen
(which they are), and kill them. The systemd user instance can end up in
a similarly confused state and start killing user services. In the worst
case, killing an app at an unexpected moment can lead to data loss.

The solution is to suspend execution of the whole user session by
freezing the user's slice.
2024-03-05 12:12:36 -05:00
..
_data docs: update link for Arch Linux bugtracker 2024-02-25 11:27:18 +00:00
_includes update footer to 2023 2023-01-29 20:26:28 +09:00
_layouts docs: adapt forward layout to systemd.io design 2022-05-21 18:09:50 +02:00
assets docs: add documentation for developers 2024-02-22 10:11:09 +01:00
fonts docs: make it pretty 2019-12-11 17:04:20 +01:00
sysvinit tree-wide: use https for the 0pointer.de doc links 2023-06-23 13:46:56 +01:00
var-log tree-wide: use https for the 0pointer.de doc links 2023-06-23 13:46:56 +01: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
_config.yml Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
API_FILE_SYSTEMS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
ARCHITECTURE.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
AUTOMATIC_BOOT_ASSESSMENT.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
AUTOPKGTEST.md Fixing bad link to Debian packages tests 2024-03-05 11:22:13 +01:00
BACKPORTS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
BLOCK_DEVICE_LOCKING.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
BOOT.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
BOOT_LOADER_INTERFACE.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
BOOT_LOADER_SPECIFICATION.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
BUILDING_IMAGES.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
CATALOG.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
CGROUP_DELEGATION.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
CODE_OF_CONDUCT.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
CODE_QUALITY.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
CODING_STYLE.md docs/CODING_STYLE: fix typo (CLONE_VORK -> VFORK) 2024-02-24 13:26:19 +08:00
CONTAINER_INTERFACE.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
CONTRIBUTING.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
CONTROL_GROUP_INTERFACE.md docs: fix typo 2024-02-24 11:30:39 +09:00
CONVERTING_TO_HOMED.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
COREDUMP.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
COREDUMP_PACKAGE_METADATA.md docs: rename COREDUMP_PACKAGE_METADATA → ELF_PACKAGE_METADATA 2022-05-21 18:08:19 +02:00
CREDENTIALS.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
DAEMON_SOCKET_ACTIVATION.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
DEBUGGING.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
DESKTOP_ENVIRONMENTS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01: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 Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
ELF_PACKAGE_METADATA.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
ENVIRONMENT.md homework: Lock/Unlock: Freeze/Thaw user session 2024-03-05 12:12:36 -05:00
FAQ.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01: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 Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
GROUP_RECORD.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
HACKING.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
HOME_DIRECTORY.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
INCOMPATIBILITIES.md docs: fix typo 2024-02-24 11:30:39 +09:00
index.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
INHIBITOR_LOCKS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
INITRD_INTERFACE.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
JOURNAL_EXPORT_FORMATS.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
JOURNAL_FILE_FORMAT.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
JOURNAL_NATIVE_PROTOCOL.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
MEMORY_PRESSURE.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
MINIMAL_BUILDS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +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_REATLIME.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
NETWORK_ONLINE.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
OPTIMIZATIONS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
PASSWORD_AGENTS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
PORTABILITY_AND_STABILITY.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
PORTABLE_SERVICES.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +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 Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
PRESET.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
RANDOM_SEEDS.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
RELEASE.md docs: update translation-related instructions 2024-03-04 10:12:20 +01: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: drop .md suffixes again 2024-02-23 09:56:00 +01:00
SECURITY.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
SEPARATE_USR_IS_BROKEN.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
style.css docs: desaturate dark-mode background color 2022-06-10 13:52:31 +02:00
SYSLOG.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
SYSTEMD_FILE_HIERARCHY_REQUIREMENTS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +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 Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
TIPS_AND_TRICKS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
TPM2_PCR_MEASUREMENTS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
TRANSIENT-SETTINGS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
TRANSLATORS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
UIDS-GIDS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
USER_GROUP_API.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
USER_NAMES.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
USER_RECORD.md user-record: Add preferredSession{Type,Launcher} 2024-03-01 16:28:10 +00:00
USER_RECORD_BLOB_DIRS.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
USERDB_AND_DESKTOPS.md docs: drop .md suffixes again 2024-02-23 09:56:00 +01:00
VIRTUALIZED_TESTING.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
WRITING_DESKTOP_ENVIRONMENTS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
WRITING_DISPLAY_MANAGERS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00
WRITING_NETWORK_CONFIGURATION_MANAGERS.md docs: fix typo 2024-02-24 11:30:39 +09:00
WRITING_RESOLVER_CLIENTS.md docs: fix typo 2024-02-24 11:30:39 +09:00
WRITING_VM_AND_CONTAINER_MANAGERS.md Revert "docs: use collections to structure the data" 2024-02-23 09:48:47 +01:00