View previous topic :: View next topic |
Author |
Message |
sundialsvc4 Guru
Joined: 10 Nov 2005 Posts: 436
|
Posted: Tue Oct 30, 2007 1:16 am Post subject: Shriek! After latest Portage ... can't log in! |
|
|
The latest "routine" Portage updates update PAM but apparently don't cause the recompile of things that may depend on it. With the result that I narrowly avoided having (pure dumb-luck, really) a system that I could not log-in to!
See this: http://www.odi.ch/weblog/posting.php?posting=447 |
|
Back to top |
|
|
bunder Bodhisattva
Joined: 10 Apr 2004 Posts: 5934
|
Posted: Tue Oct 30, 2007 1:30 am Post subject: Re: Shriek! After latest Portage ... can't log in! |
|
|
sundialsvc4 wrote: | The latest "routine" Portage updates update PAM but apparently don't cause the recompile of things that may depend on it. With the result that I narrowly avoided having (pure dumb-luck, really) a system that I could not log-in to!
See this: http://www.odi.ch/weblog/posting.php?posting=447 |
i haven't noticed any issues yet, but if this is indeed true, have you considered filing a bug report?
cheers _________________
Neddyseagoon wrote: | The problem with leaving is that you can only do it once and it reduces your influence. |
banned from #gentoo since sept 2017 |
|
Back to top |
|
|
robnotts Guru
Joined: 15 Mar 2004 Posts: 405 Location: Nottingham, UK
|
Posted: Tue Oct 30, 2007 1:31 am Post subject: |
|
|
Fell into this trap as well... avoided on one machine (x86), but pure dumb luck as well, I ran an emerge -De world just after the sync that would have updated pam, so was lucky.
On the other machine (amd64), the pam upgrade was done after the emerge -De world, and as nothing was picked up by revdep-rebuild, I thought I was ok, until kdm wouldn't let me log in!
Luckily, I had a spare machine to surf the net, and so find the error! The pam upgrade guide says nothing about re-emerging kdm, kcheckpass, etc, which O hope will allow me to log in again... I miss mythtv!
Rob. _________________ ---
Gentoo Phenom][ X4 955 on AMD790 + Geforce 220GT 8GB/1.75TB (Desktop)
+ MythTV (3xFreeview,1xFreesat HD) on 1080p
Gentoo Turion64 X2 Geforce 6150 2GB/120GB (Laptop) |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
DirtyHairy l33t
Joined: 03 Jul 2006 Posts: 608 Location: Würzburg, Deutschland
|
Posted: Tue Oct 30, 2007 9:35 am Post subject: |
|
|
Fell into the same trap with my girlfriends machine. After updating pam, I was only able to login on a perchance basis (weird). Reemerging shadow fixed it, its recompiling the other packages depending on pam right now. A very nasty one that can totally screw a perfectly stable system. |
|
Back to top |
|
|
sundialsvc4 Guru
Joined: 10 Nov 2005 Posts: 436
|
Posted: Tue Oct 30, 2007 11:57 pm Post subject: |
|
|
I followed the advice of running qdepends -Q pam and re-emerging every package that it spoke of.
Then I did revdep-rebuild -X and let it run a couple of times through.
Still, any new X-session was crapping-out.
"Well, there's only one way to do this," I murmured, and switched to root and did killall kdm. Then, after doing cat /etc/inittab to find the proper command, I restarted KDM with /etc/X11/startDM.sh ... and prayed.
Fortunately, when the graphical login screen came up again, it all worked.
The contents of /var/log/messages seems fairly quiet now... |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Nov 01, 2007 1:06 am Post subject: |
|
|
Pam's a bitch .
I never, ever let an upgrade touch pam unless I have a day spare.
Just lock it using package.mask until you get a dependacy needing an upgrade. Then back everything up make a quickpkg on pam and have liveCD handy.
Always check out this forum before diving in , avoid being the first.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Thu Nov 01, 2007 4:19 am Post subject: |
|
|
Gentree unfortunatly that doest work You can never tell if nobody is having probs of if your the first. Of course if you do find anything about the package your concerned about then wait a week or so Even that soesnt always work I was going wait a week or 2 for linux-headers-2.6.23 and gpm prob but ended up accident installing it. Gpm wont build without the patch but the current version still runs so it isnt a run time requirement. _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Thu Nov 01, 2007 9:46 am Post subject: |
|
|
hielvc wrote: | Gentree unfortunatly that doest work You can never tell if nobody is having probs of if your the first.[/code]that's why I said mask it and wait til you're forced to update. That implies never being the first[/code]
Of course if you do find anything about the package your concerned about then wait a week or so Even that soesnt always work I was going wait a week or 2 for linux-headers-2.6.23 and gpm prob but ended up accident installing it. Gpm wont build without the patch but the current version still runs so it isnt a run time requirement. |
My recommendation was clearly for pam not the whole system, I incidentally take the same approach with baselayout. If you "accidentally" update things anything can happen and you wont know why. I dont see that that comment has any bearing on my suggestions.
_________________ Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86 |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
|
Back to top |
|
|
|