[Pkg-cryptsetup-devel] /usr/sbin/update-initramfs: update-initramfs edits /etc/initramfs-tools/conf.d/cryptroot

David Härdeman david at hardeman.nu
Fri Jul 4 23:16:04 UTC 2008


On Fri, Jul 04, 2008 at 11:56:59PM +0200, maximilian attems wrote:
>> Look at that: (updating initrd, duplicates the content of the cryptroot
>> config file...)
>
>
>right cryptsetup should maybe not write into /etc/i-t/conf.d
>but in /usr/share/i-t/conf.d but those could also be mounted ro?!?
>
>anyway i'd like to hear from cryptsetup maintainers before reassgning.

I'm not sure I understand the question. The cryptsetup initramfs hook 
writes its config file by doing:

echo "$OPTIONS" >> "$DESTDIR/conf/conf.d/cryptroot"

If that is below /etc, that would be due to initramfs-tools, wouldn't 
it?

-- 
David Härdeman



More information about the pkg-cryptsetup-devel mailing list