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

maximilian attems max at stro.at
Sat Jul 5 11:04:13 UTC 2008


On Sat, 05 Jul 2008, David Härdeman wrote:

> 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?

okay it was quite late yesterday, aboves should be in the initramfs
itself. not sure if that bug report is not completly bogus

it is saying that /etc/initramfs-tools/conf.d/cryptroot is modified
on an update-initramfs -u run. i don't see any hook on my box
that would do that.

-- 
maks



More information about the pkg-cryptsetup-devel mailing list