Am Dienstag 22 Februar 2011 schrieb Dan McGee:
On Tue, Feb 22, 2011 at 5:35 AM, Ionuț Bîru <ibiru@archlinux.org> wrote:
Hi,
The util-linux-ng project has been renamed back to util-linux.
Huge -1 on this one.
I just hosed my system during an upgrade, trimmed log below. The explanation- when we do replaces in pacman, we do all of the removes upfront. This is by no means ideal, we should fix this, but it isn't happening tomorrow. So during this upgrade where both the kernel and util-linux are being installed, we have a period of time where the util-linux utilities are not on the system, we try to generate our initrd, and then we fail to locate the blkid binary. I didn't even see this until I rebooted and got dropped to a shell; thankfully the rootfstype parameter exists.
I can guarantee we get bug reports if we let this situation make its way to core; I'm not sure what the solution is but this definitely doesn't work as is.
-Dan
[2011-02-22 11:53] Running 'pacman -Syu' [2011-02-22 11:53] synchronizing package lists [2011-02-22 11:53] starting full system upgrade [2011-02-22 11:53] removed util-linux-ng (2.18-4) ..... [2011-02-22 11:54] >>> Updating module dependencies. Please wait ... [2011-02-22 11:54] >>> MKINITCPIO SETUP [2011-02-22 11:54] >>> ---------------- [2011-02-22 11:54] >>> If you use LVM2, Encrypted root or software RAID, [2011-02-22 11:54] >>> Ensure you enable support in /etc/mkinitcpio.conf . [2011-02-22 11:54] >>> More information about mkinitcpio setup can be found here: [2011-02-22 11:54] >>> http://wiki.archlinux.org/index.php/Mkinitcpio [2011-02-22 11:54] [2011-02-22 11:54] >>> Generating initial ramdisk, using mkinitcpio. Please wait... [2011-02-22 11:54] ==> Building image "default" [2011-02-22 11:54] ==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26.img [2011-02-22 11:54] :: Begin build [2011-02-22 11:54] :: Parsing hook [base] [2011-02-22 11:54] which: no blkid in (/sbin) [2011-02-22 11:54] ERROR: '/sbin/blkid' is not a file [2011-02-22 11:54] :: Parsing hook [udev] [2011-02-22 11:54] :: Parsing hook [autodetect] [2011-02-22 11:54] ERROR: Root file system type detection failed. [2011-02-22 11:54] :: Parsing hook [pata] [2011-02-22 11:54] :: Parsing hook [scsi] [2011-02-22 11:54] :: Parsing hook [sata] [2011-02-22 11:54] :: Parsing hook [mdadm] [2011-02-22 11:54] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays. [2011-02-22 11:54] :: Parsing hook [filesystems] [2011-02-22 11:54] :: Generating module dependencies [2011-02-22 11:54] :: Generating image '/boot/kernel26.img'...SUCCESS [2011-02-22 11:54] ==> SUCCESS [2011-02-22 11:54] ==> Building image "fallback" [2011-02-22 11:54] ==> Running command: /sbin/mkinitcpio -k 2.6.37-ARCH -c /etc/mkinitcpio.conf -g /boot/kernel26-fallback.img -S autodetect [2011-02-22 11:54] :: Begin build [2011-02-22 11:54] :: Parsing hook [base] [2011-02-22 11:54] which: no blkid in (/sbin) [2011-02-22 11:54] ERROR: '/sbin/blkid' is not a file [2011-02-22 11:54] :: Parsing hook [udev] [2011-02-22 11:54] :: Parsing hook [pata] [2011-02-22 11:54] :: Parsing hook [scsi] [2011-02-22 11:55] :: Parsing hook [sata] [2011-02-22 11:55] :: Parsing hook [mdadm] [2011-02-22 11:55] Custom /etc/mdadm.conf file will be used in initramfs for assembling arrays. [2011-02-22 11:55] :: Parsing hook [filesystems] [2011-02-22 11:55] :: Generating module dependencies [2011-02-22 11:55] :: Generating image '/boot/kernel26-fallback.img'...SUCCESS [2011-02-22 11:55] ==> SUCCESS [2011-02-22 11:55] upgraded kernel26 (2.6.37-6 -> 2.6.37.1-1) ..... [2011-02-22 11:55] installed util-linux (2.19-3) adding util-linux>=2.19 to kernel would that help?
-- Tobias Powalowski Archlinux Developer & Package Maintainer (tpowa) http://www.archlinux.org tpowa@archlinux.org