Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pam-login blocks shadow
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Mon Jun 05, 2006 12:49 am    Post subject: Reply with quote

Exactly my thinking. https://bugs.gentoo.org/show_bug.cgi?id=135431

However, I don't think this will go into 2.1, but maybe 2.2.
Back to top
View user's profile Send private message
thesheff17
Apprentice
Apprentice


Joined: 12 Jan 2005
Posts: 283

PostPosted: Mon Jun 05, 2006 7:19 am    Post subject: emerge --update --deep world conflict Reply with quote

ended up to wrong post
Back to top
View user's profile Send private message
Raenk
n00b
n00b


Joined: 04 Mar 2004
Posts: 64

PostPosted: Mon Jun 05, 2006 8:17 pm    Post subject: Reply with quote

Ok, so bottom line is that pam-login should be removed and let shadow emerged normally and pam-login won't be necessary anymore ?

emerge -vaC pam-login
emerge -vuaNt world (which will safely emerge 'shadow')

That would be THE move ?
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Mon Jun 05, 2006 10:34 pm    Post subject: Reply with quote

Yes.
Back to top
View user's profile Send private message
htranou
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2006
Posts: 96

PostPosted: Tue Jun 06, 2006 1:08 am    Post subject: Reply with quote

If you want to have a broken (not loggable) system the shortest time, "emerge -1 shadow" before your emerge world. Who knows when a power outage can happen.
Back to top
View user's profile Send private message
snizfast
n00b
n00b


Joined: 22 Sep 2004
Posts: 43

PostPosted: Tue Jun 06, 2006 11:27 am    Post subject: Reply with quote

As a side note don't do this using sudo unless you want to lock yourself out of your server...so much for telecommuting today.
_________________
Talk is cheap, supply exceeds demand
alias nocomment='sed -e '\''s/#.*//;/^\s*$/d'\'' '
Back to top
View user's profile Send private message
P-S-I
n00b
n00b


Joined: 07 Jun 2006
Posts: 2

PostPosted: Wed Jun 07, 2006 6:45 am    Post subject: Reply with quote

Hi together,

i've done a mistake.

Yesterday i wanted to emerge -uDe world and got the errormessage about the conflicts with pam-login and shadow.
I just emerge -C pam-login and then started the emerge -uDe world.

So long no problems.

The build process seems to nedd very long and i thought that i reboot my system.......
Shit happens. Now i can't login to my box. :? :? :?

I hope i can reinstall pam-login when i boot from the livecd and chroot.
Have someone else did the same mistake and get the system up runing?

Thanks for some tips ;-)

Daniel
Back to top
View user's profile Send private message
LXj
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2005
Posts: 107

PostPosted: Wed Jun 07, 2006 10:42 am    Post subject: Reply with quote

P-S-I wrote:
I hope i can reinstall pam-login when i boot from the livecd and chroot.
Have someone else did the same mistake and get the system up runing?Daniel
Install shadow, not pam-login
Back to top
View user's profile Send private message
P-S-I
n00b
n00b


Joined: 07 Jun 2006
Posts: 2

PostPosted: Wed Jun 07, 2006 10:52 am    Post subject: Reply with quote

:roll:
sure, i've thougt shadow and written pam-login.
Thanks Daniel
Back to top
View user's profile Send private message
scoy
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jun 2002
Posts: 93

PostPosted: Fri Jun 09, 2006 2:08 pm    Post subject: bash access denied Reply with quote

I did as the forum suggested and removed pam-login and installed shadow with '-1'. Now only root can login. All other users get '/bin/bash: Permissionn denied'. Any ideas?
Back to top
View user's profile Send private message
Marteni
n00b
n00b


Joined: 04 Jun 2006
Posts: 2

PostPosted: Sat Jun 10, 2006 3:43 am    Post subject: Reply with quote

Code:
emerge -C pam-login && emerge -1 shadow


Worked perfectly for me - thanks all for your repies :D
Back to top
View user's profile Send private message
mfyahya
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2006
Posts: 110

PostPosted: Sat Jun 10, 2006 8:23 am    Post subject: Reply with quote

Code:
emerge -C pam-login && emerge -1 shadow


When I did that I get

Code:
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/shadow-4.0.15-r2 to /
!!! Files listed in the manifest do not exist!
files/login.defs.4.0.16


Can't figure out what's wrong now.
Back to top
View user's profile Send private message
jouzts
n00b
n00b


Joined: 29 Apr 2002
Posts: 68
Location: South Carolina

PostPosted: Sat Jun 10, 2006 10:15 pm    Post subject: ftp.pld.org.pl upgrades to shadow-4.0.16 & drops .15 Reply with quote

ftp.pld.org.pl has apparently incremented versions without leaving the 4.0.15 around. There is a shadow-4.0.16.ebuild by uberlord, but it is masked as a testing version.

Adding the line:
Code:
 sys-apps/shadow ~*

to /etc/portage/package.keywords should enable you to get the testing version. Don't shutdown until you do.

John
Back to top
View user's profile Send private message
mfyahya
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2006
Posts: 110

PostPosted: Sun Jun 11, 2006 8:26 am    Post subject: Re: ftp.pld.org.pl upgrades to shadow-4.0.16 & drops .15 Reply with quote

jouzts wrote:
ftp.pld.org.pl has apparently incremented versions without leaving the 4.0.15 around. There is a shadow-4.0.16.ebuild by uberlord, but it is masked as a testing version.

Adding the line:
Code:
 sys-apps/shadow ~*

to /etc/portage/package.keywords should enable you to get the testing version. Don't shutdown until you do.

John


After browsing the forums a bit I did

ebuild /usr/portage/path/to/shadow.ebuild digest

and then the compile worked. I did an emerge --sync && emerge -uDN world once more just to be safe. I hope I didn't break anything :)

Thanks for your suggestion anyways jouzts.
Back to top
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Mon Jun 12, 2006 5:40 pm    Post subject: Reply with quote

Hello all,
I'm a bit lost here... :?
I have successfully unmerged "pam-login", but I still can't get "sys-apps/shadow" to merge without failing!
I tried the original suggestion:
Code:

#emerge --buildpkgonly --nodeps shadow && emerge -C pam-login && emerge --usepkgonly shadow

...and I still get the same error:
Code:

!!!ERROR: sys-apps/shadow-4.0.16 failed.
Call stack:
  ebuild.sh, line 1539:    Called dyn_compile
  ebuild.sh, line 939:    Called src_compile
  shadow-4.0.16.ebuild, line 70:    Called econf '--disable-desrpc' '--with-libcrypt' '--with-libcrack' '--enable-shared=no' '--enable-static=yes' '--without-libpam' '--without-skey' '--without-selinux' '--enable-nls'
  ebuild.sh, line 541:    Called die

!!! econf failed

...am I missing something here???
_________________
Legalize It
Back to top
View user's profile Send private message
southpaw
Guru
Guru


Joined: 11 Mar 2005
Posts: 375
Location: "Americas Toilet"(So.FL.)

PostPosted: Tue Jun 13, 2006 5:40 am    Post subject: Reply with quote

Well, it seem's as though I'm a few steps closer to solving my own problem :roll: ...
Now whether this has anything to do with the current issue of scrutiny I have yet to confirm :? :?
So, what I am getting at is, after trying a few different things I was able to pinpoint two consistencies; The first became evident rather quickly, because shortly after I would begin emerging anything the process would abruptly come to a screeching halt. The second I noticed later, which was a few lines above my error which I had posted before this post, it read:
Code:

C compiler cannot create executables

So after I googled around a bit I found something that suggested the linker may be at fault...So I tried uncommenting my LDFLAGS in my make.conf, which looks like this:
Code:
#
#LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
#

After I made that adjustment I had no problem emerging anything. So like I said before, I'm not sure if this is directly related to the package blocking issue. Can anyone shed some light on this 8) ???
_________________
Legalize It
Back to top
View user's profile Send private message
simeli
Apprentice
Apprentice


Joined: 15 Jun 2005
Posts: 193
Location: Switzerland, Zurich

PostPosted: Thu Jun 15, 2006 9:14 am    Post subject: Reply with quote

I was just in the process of upgrading my gcc from 3.3.6 to 3.4.6 when I stumbled upon the shadow pam problem when trying
Code:
emerge -e system

as described in this thread i ran
Code:
emerge --buildpkgonly --nodeps shadow && emerge -C pam-login && emerge --usepkgonly shadow
and ran emerge -e system again. it seems that it wants to emerge pam again. does anyone have an idea why this happens?
_________________
Pentium M 740 on MSI 915GM SPEEDSTER-FA4, 2x512MB Corsair XMS2 DDR2 667 Memory, Zalman CNPS7000B AlCu, Samsung SpinPoint P120 250GB SATAII, Hauppauge WinTV PVR-500, Enermaxx Liberty 400, Antec P180

Husaberg FS650e Force Edition [http://www.husaberg.se]
Back to top
View user's profile Send private message
reyneke
Guru
Guru


Joined: 09 Jan 2004
Posts: 542
Location: Augsburg / Germany

PostPosted: Fri Jun 16, 2006 1:30 pm    Post subject: Reply with quote

Hi.
Hope my problem with pam-login and shadow hasn't been discussed here before. I just scimmed over the thread.
I unmerged pam-login and merged shadow (without --nodeps or --oneshot) to make a `glsa-check -f new' possible which failed with pam-login installed.
Now, I can't switch to root privileges using `su -' on console. I get an "authentification error" feedback. Any ideas to fix this?

Thanks in advance.
Cheers,
rey.
_________________
I like to wait to see how things turn out
If You Apply Some Pressure
WHAT HAPPENS when you lose EVERYTHING?
You start again.
You start all over again.

Maximo Park - Apply Some Pressure


Last edited by reyneke on Fri Jun 16, 2006 1:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
gouranga
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2005
Posts: 113

PostPosted: Sun Jun 18, 2006 8:46 am    Post subject: Reply with quote

The Gentoo weekly newsletter provided also some information.

The developer who merged pam-login and shadow explained why the packages conflicted and what needs to be done.

http://farragut.flameeyes.is-a-geek.org/articles/2006/06/01/refreshing-the-pam-login-and-shadow-problem
Back to top
View user's profile Send private message
Jaminadi
n00b
n00b


Joined: 24 Nov 2004
Posts: 24
Location: Boise, ID

PostPosted: Sun Jun 18, 2006 1:24 pm    Post subject: Worked Reply with quote

Just my two cents. the recommended fix worked great and portage likes me again. I love this forum.
_________________
A woman is as a sword laid aside or a fire at a distance. THe one does not burn, the other does not cut those that approach not neigh unto them.
Back to top
View user's profile Send private message
Drunkula
Apprentice
Apprentice


Joined: 28 Jul 2003
Posts: 257
Location: Denton, TX - USA

PostPosted: Sun Jun 18, 2006 1:32 pm    Post subject: Reply with quote

Man I got bit by this last night (drunk of course) and threw a temper tantrum. Luckily I was able to ssh into the box and start KDM. I was able to login via KDM at least. However my tantrum ended up destroying my office chair and a wall clock as well as scaring the hell out of my dog!
_________________
Go away or I will replace you with a very small shell script.
Back to top
View user's profile Send private message
Pat-rizio
n00b
n00b


Joined: 05 Apr 2004
Posts: 69

PostPosted: Tue Jun 20, 2006 3:03 pm    Post subject: Reply with quote

Hi everybody,
I unmerged pam-login in order to update world, so now I have a no-login system, as describe here. :?
I mean I can't anymore logging in into my system with any user (even root can't).

I searched into the forum for a solution, and all posts link to this thread, so let me know if I understand the solutions you suggest on these 3 post's pages. I will summarize them as follow:

Solution n.1:
Code:
1. emerge --nodeps --buildpkg shadow
2. emerge -C pam-login
3. emerge --usepkgonly shadow

Solution n.2:
Code:
emerge -C pam-login && emerge -1 shadow

Solution n.3:
Code:
1. emerge -C pam-login
2. emerge -uND world
3. etc-update

Solution n.4:
Code:
recompile all packages with 'pam' keyword to make them work again

Solution n.5:
Code:
1. emerge -vaC pam-login
2. emerge -vuaNt world

Solution n.5:
Code:
Add the line: "sys-apps/shadow ~*" to your package.keywords then emerge shadow

Well...guys...here no solutions work for my system. :cry:
I still can't log in. Have you got any other suggestion to fix the problem?
Any help will be very appreciate!
Back to top
View user's profile Send private message
Bill Thompson
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 139

PostPosted: Wed Jun 21, 2006 12:54 pm    Post subject: Reply with quote

In your solution number 2, it is difficult for me to read your command. I assume that in the portion that states emerge -1 shadow you are using the number one (-1) and not the letter l (-l).

I just used that full command you list in solution number 2 successfully. Beware -- there are 17 configuration files to update. I use dispatch-conf with color coding -- very clear.
Back to top
View user's profile Send private message
Pat-rizio
n00b
n00b


Joined: 05 Apr 2004
Posts: 69

PostPosted: Wed Jun 21, 2006 5:29 pm    Post subject: Reply with quote

Sorry, I mistook writing the post. Anyway
Code:
emerge -l shadow

it is the same to do
Code:
emerge shadow

The difference is only that the first entry shows even the changelog entries for packages that will be upgraded during the emerge process, right?

If so... well...I've already try this solution, but it didn't work...
Bill Thompson, you wrote that worked for you, but I think your situation was quite different from mine, coz I guess you didn't unmerge pam, then rebooted, then tryed to emerge shadow as I'm doing...
Back to top
View user's profile Send private message
Bill Thompson
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2005
Posts: 139

PostPosted: Wed Jun 21, 2006 7:23 pm    Post subject: Reply with quote

Pat-rizio

You're right. Just as #2 indicates, I unmerged pam-login and emerged shadow as one command.

Sorry, I guess I have no answer for you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Page 3 of 6

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum