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
This commit is contained in:
Lennart Poettering
2026-09-22 16:04:26 +02:00
committed by Luca Boccassi
parent b0edc60661
commit 6a16394cd6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
<citerefentry><refentrytitle>systemd-escape</refentrytitle><manvolnum>1</manvolnum></citerefentry>'s
<option>--path</option> to properly escape a file system path.</para>
<para>This unit invokes <command>systemd-dissect --attach --quiet --loop-ref-auto</command> on the
<para>This unit invokes <command>systemd-dissect --attach --relax --quiet --loop-ref-auto</command> on the
specified files, see
<citerefentry><refentrytitle>systemd-dissect</refentrytitle><manvolnum>1</manvolnum></citerefentry> for
details.</para>
+1 -1
View File
@@ -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