You are not logged in.
^ Copy the patch to a file at /tmp/cryptdisks.patch, remove the .orig bit in the first line and then run this command as root:
cd /lib/cryptsetup && patch -p1 < /tmp/cryptdisks.patch
Probably wise to backup the file first though:
# cp /lib/cryptsetup/cryptdisks.functions{,.bak}
EDIT: ninja'd by rolfie...
Will this work for Ceres? I'm not thinking it will. I glanced over it and they seem a bit different.
cryptdisks.functions
is also now named
cryptdisks-functions
.
Offline
For Beowulf/Ceres:
https://dev1galaxy.org/viewtopic.php?id=2690, entry #7.
rolfie
Offline
For Beowulf/Ceres:
https://dev1galaxy.org/viewtopic.php?id=2690, entry #7.rolfie
Is entry #7 quoted script the only required modification?
EDIT: I replaced
do_stop()
with the one supplied in entry #7 and shutdown was quick.
I notice others are talking about this possibly isn't a solution due to errors? I didn't see any but not sure where to check logs at.
Last edited by duck (2019-05-06 20:13:48)
Offline
What remains is:
[ ok ] Unmounting local filesystems ... done
* ERROR: cryptdisks failed to stop
* ERROR: cryptdisks-early failed to stop
I have got that in my 3 Beowulf installations (and ASCII too). I would expect that you see that too.
Rolf
Last edited by rolfie (2019-05-06 20:21:54)
Offline
BTW: this patch is not yet in the repos. The last cryptsetup update shipped yesterday? removed the patch again.
Rolf
Offline
BTW: this patch is not yet in the repos. The last cryptsetup update shipped yesterday? removed the patch again.
Rolf
Thanks for the warning. I kept a copy of my modified cryptdisks-functions before upgrading, and the only differences between that and the latest version are my edits, so I only need to copy the modified file into place again.
Nobody has volunteered to adopt this package in devuan, and I believe this is a 'wontfix' bug upstream. Keep a copy of your edits handy.
Offline