Hi Guilhem,

I agree, the concept of dropbear-initramfs creating the root directory and /etc/passwd also seemed  a bit weird to me.

However, the intended purpose of my patch was to first and foremost fix the reproducibility bug, and not change the general process of root directory creation.

Would you be open to a two step approach like this:

1. fix the reproducibility bug
2. improve the root directory creation process (I can create another bug to track this)

Best regards
Yannik

On 20.11.23 09:43, Guilhem Moulin wrote:
Control: retitle -1 dropbear-initramfs makes initramfs non-reproducible
Control: severity -1 wishlist
Control: tag -1 - patch

Hi,

On Sun, 19 Nov 2023 at 15:45:22 +0100, Yannik Sembritzki wrote:
One solution would be to simply always use /root-dropbear-initramfs.
I'm not in favour of that solution, as ~root doesn't belong to
dropbear-initramfs.  I think it would be best if the root user and its
homedir were created by initramfs-tools itself; failing that it could be
created by another directory hook outside src:dropbear (possibly your
own custom hook), and dropbear-initramfs's hook could use that.


Reply via email to