[artix-general] [s6] system not decrypting/mounting (lvm on luks) a non root volume at boot

Dudemanguy dudemanguy at artixlinux.org
Tue Apr 21 17:39:53 CEST 2020


On 4/20/20 7:48 PM, Javier via artix-general wrote:> So, if run by hand 
works, so I have no clue why it doesn't when launched during init. 
Perhaps some dependency missing when launched (perhaps some lvm stuff 
that's happening in parallel I'd guess)?

Investigating this one a little further, it appears like the bash 
functions actually don't get executed. Apparently the way read_crypttab 
calls do_unlock to feed arguments to it does not work with 
s6-rc-oneshot-runner. In the older version, this probably just silently 
failed. I think the best course of action is to just rewrite the script 
at this point. For now, I'll remove the testing version from the repo 
since it's more broken.


More information about the artix-general mailing list