Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82853 - cannot mount filesystems if /usr is on different partition
Summary: cannot mount filesystems if /usr is on different partition
Status: RESOLVED DUPLICATE of bug 81793
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 11:06 UTC by martin mittendorfer
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 martin mittendorfer 2005-02-21 11:06:45 UTC
when /usr resides on a different partition, the /etc/init.d/checkfs-script bails out, since it uses (g)awk (which depends on /usr/lib/libexpat.so.0). since /usr at that point is not yet mounted, awk cannot be loaded and the script drops into fsck. i think in 08/2004 xmlsupport was added to gawk via expat (patch).

workaround: link gawk statically or copy libexpat.so.0 from the real /usr/lib to the mountpoint (umount USERDEV /usr; mount USERDEV /mnt/tmp; mkdir /usr/lib/ -p; cp /mnt/tmp/lib/libexpat.* /usr/lib; etc.etc.) so that during bootup awk uses the copy, later on uses the real thing



Reproducible: Always
Steps to Reproduce:
1.move /usr to different partition
2.adjust /etc/fstab 
3.reboot


Actual Results:  
dropped into fsck. was flabbergasted.

Expected Results:  
performed checkfs, mounted /usr and the rest and moved on
Comment 1 SpanKY gentoo-dev 2005-02-21 11:08:21 UTC

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