Gentoo Archives: gentoo-ppc-user

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