From 6a16394cd6e40f796b19619f8aae992f38065908 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 5 Sep 2026 06:35:59 +0200 Subject: [PATCH] units: use --relax in systemd-loop@.service Our primary usecase for this service is to deal with sector issues around CDROMs. For that insisting on proper DDI layout and a root partition is overkill. Let's hence relax the logic for this. Fixes: #43605 --- man/systemd-loop@.service.xml | 2 +- units/systemd-loop@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd-loop@.service.xml b/man/systemd-loop@.service.xml index 57ed181263..61d984c6db 100644 --- a/man/systemd-loop@.service.xml +++ b/man/systemd-loop@.service.xml @@ -33,7 +33,7 @@ systemd-escape1's to properly escape a file system path. - This unit invokes systemd-dissect --attach --quiet --loop-ref-auto on the + This unit invokes systemd-dissect --attach --relax --quiet --loop-ref-auto on the specified files, see systemd-dissect1 for details. diff --git a/units/systemd-loop@.service b/units/systemd-loop@.service index a063dcec86..2b31c7b2b6 100644 --- a/units/systemd-loop@.service +++ b/units/systemd-loop@.service @@ -20,5 +20,5 @@ After=modprobe@loop.service Type=oneshot RemainAfterExit=yes TimeoutSec=infinity -ExecStart=systemd-dissect --attach --loop-ref-auto --quiet %f +ExecStart=systemd-dissect --attach --relax --loop-ref-auto --quiet %f ExecStop=systemd-dissect --detach %f