You are not logged in.

#1 2012-05-08 16:44:30

fishman
Member
Registered: 2010-02-23
Posts: 6

[SOLVED] PAM broken after Update

Today I did a full system upgrade and after the upgrade I cann't login anymore.
After  a while of debugging I found the problem and solved it.

PAM changed its lib path from lib to /lib to /usr/lib but looks up at /lib.

I had to set a sym link from /lib/security to /usr/lib/security and from /lib/libpam.so.0 to /usr/lib/libpam.so

May help anybody wink

Offline

#2 2012-05-08 19:10:23

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: [SOLVED] PAM broken after Update

You shouldn't do this since it will break the upgrade in the future. /lib will be replaced by a symlink to /usr/lib/. Rebooting the system should be enough.

Offline

#3 2012-05-08 22:51:59

fishman
Member
Registered: 2010-02-23
Posts: 6

Re: [SOLVED] PAM broken after Update

well, I did many reboots and I couldn't login after the reboots (Every time the same error: PAM unable to dlopen(/lib/security/pam_*) )

the only way I were able to start my system was to create these two sym links.

If there is a better solution, I will give it a try.

Offline

#4 2012-05-10 18:27:14

broom
Member
Registered: 2008-01-21
Posts: 7

Re: [SOLVED] PAM broken after Update

I experienced the same issue and the same steps helped me!
Please tell me what are the RIGHT steps (that wouldn't be rewritten after next update) to deal with it?
I can provide any debug information if needed.

Offline

#5 2012-05-11 08:28:09

quelcom
Member
From: Helsinki
Registered: 2009-04-12
Posts: 4

Re: [SOLVED] PAM broken after Update

Same problem here with one of my computers.

When I try to login through a TTY I do not have a chance to type my password. Same problem when I try to ssh from my laptop (using public key authentication).

EDIT: Fixed by downgrading pam.

Last edited by quelcom (2012-05-12 20:34:38)

Offline

#6 2012-05-24 20:16:46

fishman
Member
Registered: 2010-02-23
Posts: 6

Re: [SOLVED] PAM broken after Update

To which version of pam did you downgrade?

Can you post a link or something like that?

Thank you

EDIT: I solved it by downgrading to this package: http://arm.konnichi.com/core/os/x86_64/ … pkg.tar.xz
And don't forget to add pam to "IgnorePkg" in the file "/etc/pacman.conf"

Last edited by fishman (2012-05-24 20:32:42)

Offline

#7 2012-05-24 22:37:33

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] PAM broken after Update

Downgrading and ignoring the package is not a solution. It's a workaround.

File a bug report (link is in the nav bar) to get the packager to fix the problem.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB