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

Bug#525606: initramfs-tools: update-initramfs breaks if /etc/mtab is a symlink to /proc/mounts



On Sat, 25 Apr 2009, Sascha Silbe wrote:

> Package: initramfs-tools
> Version: 0.93.2
> Severity: important
> 
> 
> update-initramfs breaks since /etc/mtab is a symlink to /proc/mounts on this system.
> The normal Debian init scripts (like mtab.sh) take special care to continue working in that case and the initramfs-tools documentation does not 
> mention this case to be unsupported, so I'm assuming it's supposed to work (thus severity important instead of wishlist).
> 
> Error encountered (during update):
> 
> Processing triggers for initramfs-tools ...
> update-initramfs: Generating /boot/initrd.img-2.6.26-2-amd64
> /dev/root: error opening volume
> mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
> mkinitramfs: workaround is MODULES=most
> mkinitramfs: Error please report the bug
> update-initramfs: failed for /boot/initrd.img-2.6.26-2-amd64
> dpkg: subprocess post-installation script returned error exit status 1
> E: Sub-process /usr/bin/dpkg returned an error code (2)
> A package failed to install.  Trying to recover:
> Setting up initramfs-tools (0.93.2) ...
> update-initramfs: deferring update (trigger activated)
> Processing triggers for initramfs-tools ...
> update-initramfs: Generating /boot/initrd.img-2.6.26-2-amd64
> /dev/root: error opening volume
> mkinitramfs: for root /dev/disk/by-uuid missing disk/by-uuid /sys/block/ entry
> mkinitramfs: workaround is MODULES=most
> mkinitramfs: Error please report the bug
> update-initramfs: failed for /boot/initrd.img-2.6.26-2-amd64
> dpkg: subprocess post-installation script returned error exit status 1
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
> E: Could not regain the system lock!  (Perhaps another apt or dpkg is running?)
> E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
> 
> 
> === Begin /proc/mounts ===
> rootfs / rootfs rw 0 0
> /dev/root / ext3 rw,noatime,errors=remount-ro,user_xattr,acl,data=journal 0 0
> tmpfs /lib/init/rw tmpfs rw,nosuid,mode=755 0 0
> proc /proc proc rw,nosuid,nodev,noexec 0 0
> sysfs /sys sysfs rw,nosuid,nodev,noexec 0 0
> varrun /var/run tmpfs rw,nosuid,mode=755 0 0
> varlock /var/lock tmpfs rw,nosuid,nodev,noexec 0 0
> tmpfs /dev tmpfs rw,size=10240k,mode=755 0 0
> shmfs /dev/shm tmpfs rw,nosuid,nodev 0 0
> devpts /dev/pts devpts rw,nosuid,noexec,gid=5,mode=620 0 0
> === End /proc/mounts ===
> 
> 

please send belows log as the output of
sh -x mkinitramfs -o /tmp/fooo > /tmp/log >/dev/null 2>&1

thanks



Reply to: