bitlocker-luks-tools icon indicating copy to clipboard operation
bitlocker-luks-tools copied to clipboard

sed command for /etc/crypttab doesn't work

Open therealmaxmoon opened this issue 1 year ago • 2 comments

The install.sh script tries to replace a line, which doesn't exist:

sed -i "s/none luks,discard/[UUID] luks,discard,keyscript=\/bin\/luksunlockusb/g" /etc/crypttab

I am using MX Linux 23.3 (AHS) and the term "none luks,discard" doesn't exist, because it looks like this:

luks,no-read-workqueue,no-write-workqueue,discard

And the script doesn't fail.

therealmaxmoon avatar Jul 17 '24 20:07 therealmaxmoon

This is a feature request for MX Linux support. I didn't test on anything else than Debian, Ubuntu and Mint. Maybe this should be added to the readme.

mevdschee avatar Jul 18 '24 05:07 mevdschee

The workqueues have a negative impact in write heavy situations and disabling might be good, see:

https://www.reddit.com/r/linux/comments/zkyzmh/if_your_system_is_installed_on_dmcrypt_and/

mevdschee avatar Jul 18 '24 05:07 mevdschee