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

Bug#497561: live-initramfs: mount-call in scripts/init-bottom/udev has wrong syntax



Package: live-initramfs
Severity: important
Tags: patch


The udev-script in scripts/init-bottom/ on the ramdisk created for live-initramfs seems to
use an deprecated syntax for the mount-call:

mount -n -o move /dev $rootmnt/dev

This will cause the booting live system to abort with a kernel-panic (mount complaining
with "You must specify the filesystem-type").

Unpacking the ramdisk, replacing the above line with:

mount --move /dev $rootmnt/dev

fixed it and the live-system will boot properly.

The initrd I used was created by "make-fai-nfsroot" in the fai-server-package, but the fai-maintainers
told me this would rather be a bug in "live-initramfs", so I post it here.


Regards,

Adrian

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages live-initramfs depends on:
ii  busybox                       1:1.10.2-1 Tiny utilities for small and embed
ii  file                          4.25-1     Determines file type using "magic"
ii  initramfs-tools               0.92f      tools for generating an initramfs
ii  sudo                          1.6.9p17-1 Provide limited super user privile
ii  udev                          0.125-5    /dev/ and hotplug management daemo
pn  user-setup                    <none>     (no description available)

Versions of packages live-initramfs recommends:
ii  eject                       2.1.5+deb1-1 ejects CDs and operates CD-Changer
pn  uuid-runtime                <none>       (no description available)
ii  wget                        1.11.4-1     retrieves files from the web

Versions of packages live-initramfs suggests:
pn  curlftpfs                     <none>     (no description available)
pn  genext2fs                     <none>     (no description available)
pn  httpfs2                       <none>     (no description available)
pn  loop-aes-utils                <none>     (no description available)
pn  mtd-tools                     <none>     (no description available)
pn  squashfs-tools                <none>     (no description available)



Reply to: