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

Γιώργος Πάλλας gpall at ccf.auth.gr
Sun Jul 6 13:13:18 UTC 2008


maximilian attems wrote:
> 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.
>
>   

Hi again... The bug report is not bogus, in the sense that it happens.
Everytime I run  update-initramfs -u, my
/etc/initramfs-tools/conf.d/cryptroot gets an extra line
target=lukspace,source=/dev/hda3,key=none,lvm=evg-root
added.

I do not know what these 'hooks' are, but I run update-initramfs -u with
strace and I send you the output in case this might help you. I found a
directory /etc/initramfs-tools/hooks, but it is empty. Is there
something I can check and report back, in order to see why is this
happening?

Thanks!

Giorgos Pallas

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: update.strace.log
Url: http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080706/8d6ef52f/attachment.txt 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 6418 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080706/8d6ef52f/attachment.bin 


More information about the pkg-cryptsetup-devel mailing list