1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00
Files
guix/gnu/tests
Rutherther e3d8fc1147 file-systems: mount-file-system: Guard against missing devices.
When a device with a UUID is missing, canonicalize-device-spec will throw an
error. This error is not handled for mount-may-fail? devices. That means
that if you use UUID device and it isn't available, the boot will hang on
the user-file-systems not being started. All user services depend on that
service.

Also added a test for this behavior.

* gnu/build/file-systems.scm
(mount-file-system): Guard canonicalize-device-spec call.
(canonicalize-device-spec): Throw &partition-lookup-error on missing
partition.
(&partition-lookup-error): New variable.
* gnu/tests/base.scm (%test-missing-file-system): New variable.

Change-Id: I3b8d652251cef421cff6d2fdafb8d9d7d1fc74b5
Reported-By: renbus, on IRC
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
2026-02-23 11:46:09 +09:00
..
2025-12-03 14:38:09 +09:00
2025-12-03 14:38:09 +09:00
2025-12-03 14:38:09 +09:00
2026-01-06 22:00:50 +09:00
2026-01-09 15:22:45 +01:00
2026-01-08 01:53:57 +01:00
2025-12-03 14:38:09 +09:00
2026-02-08 23:53:58 +01:00