Your message dated Fri, 28 Jan 2011 14:48:25 +0000 with message-id <e1pipcf-0002sk...@franck.debian.org> and subject line Bug#608339: fixed in initramfs-tools 0.98.8 has caused the Debian Bug report #608339, regarding initramfs-tools: MODULES=dep fails when / is ubifs (reopen) to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 608339: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608339 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: initramfs-tools Severity: normal Similar to #582858, however for me it still does not work. When I set MODULES=dep, root cannot be found as the root mountpoint device does not start with '^/dev/' (thanks to my symlinking /etc/mtab to /proc/mounts I also get two /'s also): ---- output of 'mount' ---- rootfs on / type rootfs (rw) ubi0:rootfs on / type ubifs (rw,relatime) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,relatime,mode=755) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) varrun on /var/run type tmpfs (rw,nosuid,relatime,mode=755) varlock on /var/lock type tmpfs (rw,nosuid,nodev,noexec,relatime) tmpfs on /dev type tmpfs (rw,relatime,size=10240k,mode=755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=32768k) tmpfs on /var/tmp type tmpfs (rw,nosuid,nodev,noexec,relatime,size=8192k) /dev/sda1 on /root/moo type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro) ---- contents of /proc/mounts ---- rootfs / rootfs rw 0 0 ubi0:rootfs / ubifs rw,relatime 0 0 tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0 sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 varrun /var/run tmpfs rw,nosuid,relatime,mode=755 0 0 varlock /var/lock tmpfs rw,nosuid,nodev,noexec,relatime 0 0 tmpfs /dev tmpfs rw,relatime,size=10240k,mode=755 0 0 tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0 tmpfs /tmp tmpfs rw,nosuid,nodev,noexec,relatime,size=32768k 0 0 tmpfs /var/tmp tmpfs rw,nosuid,nodev,noexec,relatime,size=8192k 0 0 /dev/sda1 /root/moo vfat rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro 0 0 ---- This is trivially resolved by amending the routines that search for the root block device and fstype in /usr/share/initramfs-tools/hook-functions to the following instead: ---- # findout root block device + fstype eval "$(mount | awk '!/^rootfs / && / on \/ type / {print "root=" $1 "\nFSTYPE=" $5; exit}')" # On failure fallback to /proc/mounts if readable if [ -z "$root" ] && [ -r /proc/mounts ]; then eval "$(awk '!/^rootfs / && / \/ / {print "root=" $1 "\nFSTYPE=" $3; exit}' /proc/mounts)" fi ---- This filters out the useless '^rootfs' entry (enabling embedded folk to continue symlinking) and permits anything (not just '^/dev/...') as the root device. Now the ubifs root filesystem detection functions. It should also be noted, the original 'failure fallback' does not work anyway as it incorrectly refers to $5 (over eager cutting and pasting it seems) when it should refer to $3 for FSTYPE. Cheers ---- System Info (armel - orion5x) ---- root@(none):~# cat /proc/cpuinfo Processor : Feroceon rev 0 (v5l) BogoMIPS : 332.59 Features : swp half thumb fastmult edsp CPU implementer : 0x41 CPU architecture: 5TEJ CPU variant : 0x0 CPU part : 0x926 CPU revision : 0 Hardware : Technologic Systems TS-78xx SBC Revision : 0000 Serial : 0000000000000000
--- End Message ---
--- Begin Message ---Source: initramfs-tools Source-Version: 0.98.8 We believe that the bug you reported is fixed in the latest version of initramfs-tools, which is due to be installed in the Debian FTP archive: initramfs-tools_0.98.8.dsc to main/i/initramfs-tools/initramfs-tools_0.98.8.dsc initramfs-tools_0.98.8.tar.gz to main/i/initramfs-tools/initramfs-tools_0.98.8.tar.gz initramfs-tools_0.98.8_all.deb to main/i/initramfs-tools/initramfs-tools_0.98.8_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 608...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. maximilian attems <m...@debian.org> (supplier of updated initramfs-tools package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Fri, 28 Jan 2011 15:11:10 +0100 Source: initramfs-tools Binary: initramfs-tools Architecture: source all Version: 0.98.8 Distribution: unstable Urgency: high Maintainer: Debian kernel team <debian-kernel@lists.debian.org> Changed-By: maximilian attems <m...@debian.org> Description: initramfs-tools - tools for generating an initramfs Closes: 608339 608538 608865 Changes: initramfs-tools (0.98.8) unstable; urgency=high . [ maximilian attems ] * [67c1d32] initramfs-tools: MODULES=dep fix for ubifs / (Closes: #608339) * [ca4d08a] mkinitramfs: Fix noexec /tmp detection for long device names. (Closes: #608865) Thanks to Ian Campbell <i...@hellion.org.uk> . [ Ben Hutchings ] * [78d9e04] initramfs-tools: Handle hidden dependency of libcrc32c on crc32c. (Closes: #608538) Checksums-Sha1: c35a1f91eeea135efb5b3e59d266c9ed88d26313 973 initramfs-tools_0.98.8.dsc eed439c0ec0db77684d86f0dc24497def63bc0f2 83169 initramfs-tools_0.98.8.tar.gz df235fd729ec526340d6c7a4874617f17596580e 89496 initramfs-tools_0.98.8_all.deb Checksums-Sha256: f7fc2339af15e4cbc1c2fe7088934a53df81607c0d81e2b315b5f8c8792003a5 973 initramfs-tools_0.98.8.dsc 43342b7222eb5209f42a2d3146d4d1e9431baca536ed8a31800eb9f09a74c2bd 83169 initramfs-tools_0.98.8.tar.gz 3115c15333e0327e8c4646b47e34490a1c2ae84da97dea811677c78c00df3460 89496 initramfs-tools_0.98.8_all.deb Files: 32c35f10a6d3d9ee114d2d2709eda2e5 973 utils optional initramfs-tools_0.98.8.dsc 933ff0d675ed86aa29c34453c3d07989 83169 utils optional initramfs-tools_0.98.8.tar.gz d8060188797be39c0d82e360d6436cd8 89496 utils optional initramfs-tools_0.98.8_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1C0I0ACgkQeW7Lc5tEHqiangCggvsSpXc46i717T76QbQTZLLa JGYAn2xrhze7otXfFFizM/LuIIp+hNE/ =9mEK -----END PGP SIGNATURE-----
--- End Message ---