Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 98566

Summary: sys-fs/lvm2-2.01.09 tries to use xargs from /usr/bin/xargs when /usr has been unmounted
Product: Gentoo Linux Reporter: Jani Averbach <jaa>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: stian
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jani Averbach 2005-07-10 07:41:36 UTC
lvm2 tries to use xargs during shutdown, but xargs isn't available during this
stage because /usr has been unmounted at the time.



Reproducible: Always
Steps to Reproduce:
grep xargs /lib/rcscripts/addons/*
/lib/rcscripts/addons/lvm-stop.sh:	LOGICAL_VOLUMES=`lvdisplay |grep "LV
Name"|awk '{print $3}'|sort|xargs echo`
/lib/rcscripts/addons/lvm-stop.sh:	VOLUME_GROUPS=`vgdisplay |grep "VG Name"|awk
'{print $3}'|sort|xargs echo`
/lib/rcscripts/addons/lvm-stop.sh:		VG_HAS_ACTIVE_LV=`vgdisplay ${x}|grep "Open
LV"|awk '{print $3}'|xargs echo`

and
which xargs
/usr/bin/xargs

cat /etc/gentoo-release 
Gentoo Base System version 1.6.12
Comment 1 Stian Skjelstad 2005-07-10 09:15:34 UTC
xargs should perhaps be located in /bin instead?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-10 10:49:23 UTC

*** This bug has been marked as a duplicate of 93326 ***