Summary: | Moving/Symlinking "/usr/lib" breaks Gentoo Linux | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | takken <d.h.j.takken> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | ebjohnso, netbox253, rich0, tim-gentoobugzilla |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
takken
2005-11-13 06:53:38 UTC
> When you move the /usr/lib directory to another location
then you should use mount --bind instead symlinks.
Symlinking is wholly inappropriate. Either: 1) Migrate the contents of /usr/lib to an independent filesystem then mount the filesystem at /usr/lib 2) Bind mount the new location to /usr/lib (mount -o bind /mnt/more_space/lib /usr/lib) Suggesting that symlinks should not be used in a useful context so that a user-imlemented symlink may be used in a daft context or that portage should be modified on account of this will almost certainly be given short shrift. I am totally unfamiliar with the bind option of mount, and when I look at the Gentoo forums, I see that am not the only one why screwed the system by symlinking. It would be really nice for me and other users who are unfamiliar with the mount trick, to display a hint that says using symlinks will probably cause portage to fail. Did you have to manually redo all of the symlinks? I just did the same thing. *** Bug 134506 has been marked as a duplicate of this bug. *** *** Bug 126873 has been marked as a duplicate of this bug. *** *** Bug 154934 has been marked as a duplicate of this bug. *** *** Bug 184862 has been marked as a duplicate of this bug. *** What is considered the appropriate place to perform a bind mount of /usr? Is it supported to have /usr be a symlink during initial booting and then overlay it with a mount --bind once local.start runs? I'd rather not make usr its own partition, but it won't fit on the root... (In reply to comment #9) > What is considered the appropriate place to perform a bind mount of /usr? /etc/fstab supports bind mounts just fine :) |