Bug#469312: Reopen 469312, still unfixed, also in Etch (initramfs-tools: awk reports syntax error in update-initramfs)
Hi,
On Fri, May 30, 2008 at 02:11:23PM +0200, maximilian attems wrote:
> thanks for the useful report, fixed in latest trunk.
thanks for the very fast response and fix. :-)
> > There's one more line which potentially has a similar bug:
> >
> > && dev=$(awk "/${groot}/{ print \$NF}" /boot/grub/device.map)
> >
> > It's line 195 in Sid and line 154 in Etch.
>
> no there it can't happen due to groot beeing a grub naming style
> variable aka fdX or hdX
Ok, I haven't looked at that very close. Just did a grep awk over the
script and looked for variables in regexps. :-)
> http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary
Ok, that's also a way to fix it. But I wonder if that could make
problems with other device names with slashes like LVM logical volumes
or other (e.g. crypted) device manager devices and such...
Kind regards, Axel Beckert
--
Axel Beckert <beckert@phys.ethz.ch> support: +41 44 633 2668
IT Support Group, HPR E 86.1 voice: +41 44 633 4189
Departement Physik, ETH Zurich fax: +41 44 633 1239
CH-8093 Zurich, Switzerland http://nic.phys.ethz.ch/
Reply to: