* [gentoo-dev] GLGA for Portage
@ 2002-10-29 10:51 Seemant Kulleen
0 siblings, 0 replies; only message in thread
From: Seemant Kulleen @ 2002-10-29 10:51 UTC (permalink / raw
To: gentoo-announce, gentoo-user, gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 2878 bytes --]
- - --------------------------------------------------------------------
GENTOO LINUX GENERAL ANNOUNCEMENT 200210-001
- - --------------------------------------------------------------------
PACKAGE : Portage
SUMMARY : library symlink mangling / deletion
SEVERITY: System Disabling
IMPACT : All Systems
DATE : 2002-10-28 22:00 UTC
- - --------------------------------------------------------------------
A bug involving the interaction of 'ldconfig' and portage has been
identified for all systems using masked libraries. Libraries that
have been installed but are now masked in portage will be downgraded
by portage. In versions of portage prior to 2.0.43, portage creates
symlinks in the library directories properly for newly merged, but
older, library. A call to ldconfig causes these symlinks to be over-
written with what the system(ldconfig) assumes is the best, the
highest version, and then portage procedes to remove the symlinks
as they match how the previous version had set them. This problem
can result in users being locked out of systems as required libraries
are effectively disabled.
AFFECTED SYSTEMS
All systems using portage prior to portage-2.0.43 are succeptable.
Systems that have installed the latest versions of libraries that
have since been masked in portage are of major concern, and systems
with ncurses-5.3 installed can disable logins if 'emerge -u world'
is performed with ncurses-5.3 masked.
SOLUTION
Users experiencing missing library symlinks can do the following:
# ldconfig
# emerge rsync
# emerge '=portage-2.0.43'
If a root console is not accessable the following method may be used:
Systems using Grub:
press 'e' on your kernel
press 'e' over your kernel line
append without the quotes:
" init=/bin/sash"
press enter to finish the changes
press 'b' to boot the kernel
Systems using LILO:
at boot hold in left shift to get the prompt
type in your kernel's label (name)
You can get the list of kernel names by hitting <tab> at this point.
append to that label the following: ' init=/bin/sash'
You may also have to specify a 'root=' or other information.
press enter to boot the kernel
When at the '>' prompt type the following:
> mount -o remount,rw /
> /sbin/ldconfig
> mount -o remount,ro
> reboot
After running the above Grub or LILO commands, users should update to
portage-2.0.43 as stated above for users not locked out of their consoles.
- - --------------------------------------------------------------------
carpaski@gentoo.org
seemant@gentoo.org
- - --------------------------------------------------------------------
--
Seemant Kulleen
Developer and Project Co-ordinator,
Gentoo Linux http://www.gentoo.org/~seemant
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x225EF866
Key fingerprint = 592A 35F7 09CA FAB4 17B3 6E97 72E6 23CC 225E F866
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-29 10:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 10:51 [gentoo-dev] GLGA for Portage Seemant Kulleen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox