Skip to contentSkip to conversation

crypt/parse-crypt.sh: hide encrypted devices from systemd timeout warnings.

PATCH NeilBrown 1 participant 1 message Mar 31, 2015

lore
Share & tools
lore

NeilBrown

author
#0 lore raw

[I was alerted that you had replied to the list, but not to me.
I'm not on the list..]

Quoted 6 lines

Review

Quoted 4 lines
(quoted diff) +3 -0
+    while read _dev _uuid ; do 
+        set_systemd_timeout_for_dev $_dev
+    done

missing redirector from /etc/crypttab I guess

Sorry about that. The missing redirector is actually from
/usr/lib/dracut/modules.d/90crypt/block_uuid.map
but that looks like an openSUSE specific thing...

https://build.opensuse.org/package/view_file/openSUSE:13.2/dracut/0144-90crypt-Fixed-crypttab_contains-to-also-work-with-de.patch?expand=1

It should just use /etc/crypttab, but then the "read" needs to change

while read _mapper _dev _rest; do
set_systemd_timeout_for_dev $_dev
done < /etc/crypttab

Thanks,
NeilBrown