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

Javier je-vv at e.email
Tue Apr 14 04:55:59 CEST 2020


On 4/13/20 7:29 AM, Dudemanguy via artix-general wrote:
>> However on boot, I don't get asked to provide the password ever, and instead I see the output:
> 
> I think I know the reason for this. The execline script ends on a call to that bash script. However from the perspective of s6-rc, the script is finished executing so nothing is blocked. I think the simple fix here is to simply add a dummy command after it so s6-rc waits on the script to actually finish. I've added a new version of the script to the gremlins repo. If you could let me know if it works, that would be great.

Just tried out the gremlins new version, "cryptsetup-s6 20200413-1", and it didn't fix the boot issue.  It did fix the echo and the --allow-discards ones...  I'm still not getting prompted/requested for the password to decrypt the partition.

@dudemanguy, you mentioned you used a mkinitcpio hook, but I'm already using it in order to decrypt the root partition.  Is there a way to achieve the same with a non root partition?  If so, how so?  On arch I allowed the initrd to just decrypt and mount root, and then once linux is running in user space already, on the mount stage, the non root encrypted partitions were decrypted and its corresponding volumes mounted...  So the mkinitcpio hook is always required, but AFAIK for the root partition only, given that's the only one decrypted on initrd...

BTW, if you want me to try a newer version, please let me know.

On a side note, clamav-s6 is not upgrading to newer 20200413-1,  given pacman is failing to retrieve from all mirrors with "Maximum file size exceeded", which is pretty weird.  I downloaded the package with wget from the 1st mirror on the list, and installed it manually as a work around, without issues...  Just so you know.

Thanks !

-- 
Javier

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20200413/d463642a/attachment.sig>


More information about the artix-general mailing list