Summary: | sys-fs/udev removal of all volume-manager calls from udev-start.sh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Schwarzott <zzam> |
Component: | New packages | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | base-system, m.debruijne |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matthias Schwarzott
2007-03-20 17:42:33 UTC
i dont think i got back to you on this after we chatted about it in the base channel ... for baselayout-1.12.x, we'll happily move the volume crap into the checkfs script for 1.13.x and beyond, we'll move to proper init.d scripts The problem is now reduced to baselayout-1. udev-start.sh no longer executes this code for baselayout-2. @robbat, Cardoe: I found some code, that basically is/was the Phase I of volume-init we talked about yesterday. This code is from udev-start-104-r12.sh: # Create nodes that udev can't ebegin "Finalizing udev configuration" [ -x /sbin/dmsetup ] && /sbin/dmsetup mknodes &>/dev/null [ -x /sbin/lvm ] && \ /sbin/lvm vgscan -P --mknodes --ignorelockingfailure &>/dev/null # Running evms_activate on a LiveCD causes lots of headaches [ -z "${CDBOOT}" ] && [ -x /sbin/evms_activate ] && \ /sbin/evms_activate -q &>/dev/null eend 0 It got reduced for newer udev versions to (from udev-start-115-r6.sh): # Only do this for baselayout-1* if [ ! -e /lib/librc.so ]; then # Create nodes that udev can't ebegin "Finalizing udev configuration" [ -x /sbin/lvm ] && \ /sbin/lvm vgscan -P --mknodes --ignorelockingfailure &>/dev/null # Running evms_activate on a LiveCD causes lots of headaches [ -z "${CDBOOT}" -a -x /sbin/evms_activate ] && \ /sbin/evms_activate -q &>/dev/null eend 0 fi zzam: yeah, make that code run always, and we should be good for the PhaseI. I don't think is of any relevance with current stable, 197-r3 and the separate udev-init-scripts package. Did brief research using qlist, xargs and grep. |