initramfs 0.92 doesn't seem to copy from /etc/initramfs-tools/scripts/local-bottom/

Marc MERLIN marc at
Tue Dec 16 17:38:41 UTC 2008


I'm not sure if the change is in the debian initramfs or upstream
but after upgrading from 0.85 to 0.92, it stopped copying 
init scripts with a '-' in their filename.

I figured it is likely not you, but you hopefully know who to pass this on,

I'm going to guess it was intentional, and if so I just wanted to pass on 
the feedback that it sucks to change such behaviour and break existing
installs (especially since '-' is pretty common in init script names).

If it wasn't intentional, then just wanted to let you know about the 
unfortunate change.


----- Forwarded message from Marc MERLIN <marc at> -----

From: Marc MERLIN <marc at>
To: pkg-cryptsetup-devel at

On Mon, Dec 15, 2008 at 11:08:47PM +0100, Jonas Meurer wrote:
> Hey Marc,
> On 28/11/2008 Marc MERLIN wrote:
> > After upgrading from 0.85 to 0.92, I had problems which I traced to the
> > fact that my script in
> > /etc/initramfs-tools/scripts/local-bottom/
> > wasn't being automatically copied to the initramfs anymore.
> > 
> > For fun, I copied my script in
> > /usr/share/initramfs-tools/scripts/local-bottom/
> > from where it did not get automatically copied either.
> > 
> > In the end, I had to update my /etc/initramfs-tools/hooks/cryptgetpw
> > with
> > copy_exec /etc/initramfs-tools/scripts/local-bottom/cryptroot-copypwd /scripts/local-bottom/cryptroot-copypwd 
> > 
> > Was that meant to break?
> Sounds like a bug in initramfs, but shouldn't have anything to do with
> the cryptsetup package.
> Please ask initramfs maintainers if you still discover this issue.
Sure enough, you were right. I finally traced it down to the fact that the
initramfs folks changed their code so that init scripts cannot have a '-'
in them. Grumble, that took a while to track down :-/

Thanks for your reply,

----- End forwarded message -----

"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page:  

More information about the kernel-team mailing list