1 |
On Fri, Apr 20 2012, Neil Bothwick wrote: |
2 |
|
3 |
> On Fri, 20 Apr 2012 13:22:20 +0100, Neil Bothwick wrote: |
4 |
> |
5 |
>> > I'll run the update again today, paying more attention, and see what |
6 |
>> > happens. |
7 |
>> |
8 |
>> What happened is it broke again, with no obvious signs of the cause. |
9 |
>> conf-update reported only trivial changes to three files. |
10 |
> |
11 |
> I've just tried it on my netbook and the same happened, but I think I'm |
12 |
> closer to the cause. The three files in /etc/pam.d are login, passwd and |
13 |
> su. After updating, there were ._cfg* versions of these files, but no |
14 |
> originals, so conf-update just deleted them. It turns out these were |
15 |
> owned by shadow but now belong to pambase. I suspect that pambase |
16 |
> installed them as ._cfg versions, because the others already existed, |
17 |
> then shadow removed the originals as they were no longer part of the |
18 |
> package. |
19 |
> |
20 |
> Whether this is a bug in portage, the ebuilds or conf-update is open to |
21 |
> debate, but conf-update ought to handle the situation better. I'll file a |
22 |
> bug later if no one beats me to it. |
23 |
|
24 |
First, thanks for the warning. |
25 |
|
26 |
There is a bug filed https://bugs.gentoo.org/show_bug.cgi?id=412721 |
27 |
|
28 |
The comments there say that if you run etc-update right after the |
29 |
emerge all is well (but this isn't sufficient for people who use |
30 |
screen, detatch, and log out). Someone also mentioned dispatch-conf |
31 |
working. No one mentioned cfg-update, which I use (and I believe |
32 |
neil does as well). Could the problem be dependent on which |
33 |
configuration file updater one uses? |
34 |
|
35 |
I have not updated my primary machine. I did update another one (both |
36 |
machines are ~amd64) including a cfg-update -q, but have not rebooted |
37 |
it. The secondary can su. This seems to suggest that cfg-update is |
38 |
sufficient in some cases. |
39 |
|
40 |
Am I correct in believing the safe procedure is to add |
41 |
|
42 |
>=sys-auth/pambase-20101024-r2 |
43 |
>=sys-apps/shadow-4.1.5. |
44 |
|
45 |
to /etc/portage/package.mask (or a file in that directory)? |
46 |
|
47 |
thanks, |
48 |
allan |