After emerging baselayout-1.11.3 as put of emerge world -uvD and running dispatch-conf the system fails to reboot. I dies when trying to access programs on LVM volume that were never mounted. After sulogin, vgchange -ay failes with "Locking type 1 initialization failed" Reproducible: Always Steps to Reproduce: 1.emerge baselayout 2.reboot 3. Actual Results: see details Expected Results: normal boot Cannot boot effected system
*** Bug 68833 has been marked as a duplicate of this bug. ***
when you sulogin, what does `cat /proc/mounts` and `ls /dev/` show ?
cat /proc/mounts rootfs / rootfs rw 00 /dev/sda2 / reiserfs ro,noatime 0 0 none /proc proc none /sys sysfs none /dev ramfs none /dev/pts devpts ls /dev show lots of devs and specifically all lvm related stuff is there. When I remounted / as rw, and modprob dm-mod, vgchange -ay worked. But init 5 from there still didn't mount the lvm volumes in fstab. I am checking further.
Lots seems to be wrong. When I run mount -a all the LVM2 volumes show they are mounted but aren't really. If I mount /var /home and /var individually they mount properly. Also services are showing as started that aren't. Lastly PATH is getting messed up on restart and sometimes doesn't include /usr/X11R6/bin. By manually messing around I have managed to get back up but a reboot is a definite nogo.
Created attachment 42570 [details, diff] Remove -A from fsck /
Sorry. My text dissapeared. It should look like this: I had the same problem. And traced it down to the fact that checkroot did fsck -A before LVM was activated. The patch I posted worked for me.
that addition came from Bug 39212
Removing -A from fsck got the system to boot. I am still having a problem with DHCP on eth0. It is not working from /etc/init.d/net.eth0 start after boot but after signon I can run # dhcpcp eth0 and get an immediate IP etc. The /etc/conf.d is modules=( "iproute2" ) ipaddr_eth0=( "dhcp" ) dhcpcd_eth0="-h custom2 -t 10" /etc/init.d/net.eth0 restart stops dependent services and again fails to get an IP. # dhcpcd -t 10 -h custom2 eth0 followed by /etc/init.d/net.eth0 start shows the service as starting properly using the aready received network setting but fails to restart any of the dependent services it stopped while stopping
ok, will be fixed for 1.11.4, here's the fix i went with to satisfy everyone: http://bugs.gentoo.org/show_bug.cgi?id=39212#c3