[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On Sun, Jul 06, 2008 at 04:13:18PM +0300, ?????????????? ???????????? wrote:
> 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!

right send output of
a) sh -x mkinitramfs -o /tmp/foo
b) sh -x update-initramfs -u


thanks

-- 
maks



Reply to: