From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_NONE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_DYNAMIC, WEIRD_PORT autolearn=no autolearn_force=no version=4.0.0 Received: from okhomes.homedns.org (ca-stmnca-cuda1-blade2a-165.stmnca.adelphia.net [68.65.194.165]) by chiba.3jane.net (Postfix) with ESMTP id 7E4C1ABB05; Tue, 29 Oct 2002 04:51:55 -0600 (CST) Received: by okhomes.homedns.org (Postfix, from userid 1000) id 46D0A1A9F3F; Tue, 29 Oct 2002 02:51:53 -0800 (PST) Date: Tue, 29 Oct 2002 02:51:52 -0800 From: Seemant Kulleen To: gentoo-announce@gentoo.org, gentoo-user@gentoo.org, gentoo-dev@gentoo.org Message-Id: <20021029025152.0f8f8305.seemant@gentoo.org> X-Mailer: Sylpheed version 0.8.5claws (GTK+ 1.2.10; ) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.9iGBwOsQHu8m0a" Subject: [gentoo-dev] GLGA for Portage Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 5397d753-3111-4320-a5d1-b2c1ac599bf2 X-Archives-Hash: b81642da4d0bc4919a9470022881f9d0 --=.9iGBwOsQHu8m0a Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit - - -------------------------------------------------------------------- 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 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 --=.9iGBwOsQHu8m0a Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9vmhJcuYjzCJe+GYRAkyZAJ9AGkgy40Moi3w1IbTVE95q+uOJGACcDy5z pGT3+NwfAXmyEZVsFWcY634= =Cj7M -----END PGP SIGNATURE----- --=.9iGBwOsQHu8m0a--