Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1290320
| From | Christoph Biedl <debian.axhn@manchmal.in-ulm.de> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1132900: clevis-dracut: systemctl fails in /usr/lib/dracut/modules.d/60clevis/module-setup.sh |
| Date | 2026-04-20 18:40 +0200 |
| Message-ID | <MLZPb-gFnk-7@gated-at.bofh.it> (permalink) |
| References | <MH9Pc-djtI-17@gated-at.bofh.it> <MH9Pc-djtI-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
# https://github.com/latchset/clevis/commit/v22-1-gcadeeea
Control: tags 1132900 pending upstream
> the
>
> systemctl -q --root "$initdir" add-wants cryptsetup.target clevis-luks-askpass.path
>
> call in /usr/lib/dracut/modules.d/60clevis/module-setup.sh fails with:
>
> Failed to add dependency on unit: Unit cryptsetup.target does not exist
This was fixed upstream recently, see the URL above for details.
Those who want to patch an existing installation, that's
straightforward:
--- /usr/lib/dracut/modules.d/60clevis/module-setup.sh
+++ /usr/lib/dracut/modules.d/60clevis/module-setup.sh
@@ -32,6 +32,7 @@
inst_multiple \
$systemdsystemunitdir/clevis-luks-askpass.service \
$systemdsystemunitdir/clevis-luks-askpass.path \
+ $systemdsystemunitdir/cryptsetup.target \
/usr/lib/systemd/systemd-reply-password \
/usr/libexec/clevis-luks-askpass
Cheers,
Christoph
Back to linux.debian.bugs.dist | Previous | Next | Find similar
Bug#1132900: clevis-dracut: systemctl fails in /usr/lib/dracut/modules.d/60clevis/module-setup.sh Christoph Biedl <debian.axhn@manchmal.in-ulm.de> - 2026-04-20 18:40 +0200
csiph-web