Gentoo Archives: gentoo-user-es

From: Seemant Kulleen <seemant@g.o>
To: gentoo-announce@g.o, gentoo-user@g.o, gentoo-dev@g.o
Subject: [gentoo-user-es] [gentoo-announce] GLGA for Portage
Date: Tue, 29 Oct 2002 04:52:05
Message-Id: 20021029025152.0f8f8305.seemant@gentoo.org
1 - - --------------------------------------------------------------------
2 GENTOO LINUX GENERAL ANNOUNCEMENT 200210-001
3 - - --------------------------------------------------------------------
4
5 PACKAGE : Portage
6 SUMMARY : library symlink mangling / deletion
7 SEVERITY: System Disabling
8 IMPACT : All Systems
9 DATE : 2002-10-28 22:00 UTC
10
11 - - --------------------------------------------------------------------
12
13 A bug involving the interaction of 'ldconfig' and portage has been
14 identified for all systems using masked libraries. Libraries that
15 have been installed but are now masked in portage will be downgraded
16 by portage. In versions of portage prior to 2.0.43, portage creates
17 symlinks in the library directories properly for newly merged, but
18 older, library. A call to ldconfig causes these symlinks to be over-
19 written with what the system(ldconfig) assumes is the best, the
20 highest version, and then portage procedes to remove the symlinks
21 as they match how the previous version had set them. This problem
22 can result in users being locked out of systems as required libraries
23 are effectively disabled.
24
25 AFFECTED SYSTEMS
26
27 All systems using portage prior to portage-2.0.43 are succeptable.
28 Systems that have installed the latest versions of libraries that
29 have since been masked in portage are of major concern, and systems
30 with ncurses-5.3 installed can disable logins if 'emerge -u world'
31 is performed with ncurses-5.3 masked.
32
33 SOLUTION
34
35 Users experiencing missing library symlinks can do the following:
36 # ldconfig
37 # emerge rsync
38 # emerge '=portage-2.0.43'
39
40 If a root console is not accessable the following method may be used:
41 Systems using Grub:
42 press 'e' on your kernel
43 press 'e' over your kernel line
44 append without the quotes:
45 " init=/bin/sash"
46 press enter to finish the changes
47 press 'b' to boot the kernel
48 Systems using LILO:
49 at boot hold in left shift to get the prompt
50 type in your kernel's label (name)
51 You can get the list of kernel names by hitting <tab> at this point.
52 append to that label the following: ' init=/bin/sash'
53 You may also have to specify a 'root=' or other information.
54 press enter to boot the kernel
55 When at the '>' prompt type the following:
56 > mount -o remount,rw /
57 > /sbin/ldconfig
58 > mount -o remount,ro
59 > reboot
60
61 After running the above Grub or LILO commands, users should update to
62 portage-2.0.43 as stated above for users not locked out of their consoles.
63
64 - - --------------------------------------------------------------------
65 carpaski@g.o
66 seemant@g.o
67 - - --------------------------------------------------------------------
68
69
70
71 --
72 Seemant Kulleen
73 Developer and Project Co-ordinator,
74 Gentoo Linux http://www.gentoo.org/~seemant
75
76 Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x225EF866
77 Key fingerprint = 592A 35F7 09CA FAB4 17B3 6E97 72E6 23CC 225E F866