public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Seemant Kulleen <seemant@gentoo.org>
To: gentoo-announce@gentoo.org, gentoo-user@gentoo.org,
	gentoo-dev@gentoo.org
Subject: [gentoo-dev] GLGA for Portage
Date: Tue, 29 Oct 2002 02:51:52 -0800	[thread overview]
Message-ID: <20021029025152.0f8f8305.seemant@gentoo.org> (raw)

[-- 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 --]

                 reply	other threads:[~2002-10-29 10:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021029025152.0f8f8305.seemant@gentoo.org \
    --to=seemant@gentoo.org \
    --cc=gentoo-announce@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    --cc=gentoo-user@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox