Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98566 - sys-fs/lvm2-2.01.09 tries to use xargs from /usr/bin/xargs when /usr has been unmounted
Summary: sys-fs/lvm2-2.01.09 tries to use xargs from /usr/bin/xargs when /usr has been...
Status: RESOLVED DUPLICATE of bug 93326
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-10 07:41 UTC by Jani Averbach
Modified: 2005-07-10 10:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***